Difference between revisions of "Re-install the GUI"

From VoIPmonitor.org
Jump to navigation Jump to search
(Created page with " == In some rare situations the GUI can gets corrupted == '''For example:''' # Out of space and upgrade of the GUI already started # Power loss or kernel crashed during the G...")
 
Line 33: Line 33:
  
 
''(remove it from GUI installation dir, and refresh the browser. GUI will ask you for license token again, and you can obtain your licence (key.php) with click on a button 'get license key')''
 
''(remove it from GUI installation dir, and refresh the browser. GUI will ask you for license token again, and you can obtain your licence (key.php) with click on a button 'get license key')''
 +
 +
=== Links list of latest GUI packages for various php versions ===
 +
'''php 5.1,5.2'''
 +
wget https://www.voipmonitor.org/download-gui?version=latest&phpver=5
 +
 +
'''php 5.3'''
 +
wget https://www.voipmonitor.org/download-gui?version=latest&phpver=53
 +
 +
'''php 5.4,5.5,5.6,7.0'''
 +
wget https://www.voipmonitor.org/download-gui?version=latest&phpver=56
 +
 +
'''php 7.1,7.2'''
 +
wget https://www.voipmonitor.org/download-gui?version=latest&phpver=71

Revision as of 20:33, 23 January 2018

In some rare situations the GUI can gets corrupted

For example:

  1. Out of space and upgrade of the GUI already started
  2. Power loss or kernel crashed during the GUI upgrade
  3. File system corruption (you need to fix filesystem before proceeding with re-install)

For re-install the GUI using the install script follow this how to

(this requires to have already GUI working before the issue happens because this howto is skipping the ioncube module for php install steps)

1)Find php version on a server where is the GUI installed

php --version

2)You can backup current GUI's files for sure. (It depends on where you have it installed, by default it is in /var/www/html

cp -a /var/www/html /var/www/html-bakcup

3)Download and unpack the GUI

mkdir /tmp/gui
cd /tmp/gui
#This is example how to download GUI for php version 5.4 - change ```phpver``` if you need download for different version
wget "http://www.voipmonitor.org/download-gui?version=latest&major=5&allowed&phpver=54" -O w.tar.gz
tar xzf w.tar.gz
cd voipmonitor-gui-*/scripts/
bash install-gui ../../w.tar.gz

(And finish the installation press ENTER to confirm GUI install dir)

4)Refresh the browser to finish the installation

(in chrome press CTRL+SHIFT+R to flush cache and reload the GUI page)

5)In case that key.php (license file) gets corrupted

(remove it from GUI installation dir, and refresh the browser. GUI will ask you for license token again, and you can obtain your licence (key.php) with click on a button 'get license key')

Links list of latest GUI packages for various php versions

php 5.1,5.2

wget https://www.voipmonitor.org/download-gui?version=latest&phpver=5

php 5.3

wget https://www.voipmonitor.org/download-gui?version=latest&phpver=53

php 5.4,5.5,5.6,7.0

wget https://www.voipmonitor.org/download-gui?version=latest&phpver=56

php 7.1,7.2

wget https://www.voipmonitor.org/download-gui?version=latest&phpver=71