Re-install the GUI

From VoIPmonitor.org
Jump to navigation Jump to search

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)
  4. Upgrade of the OS and change of php version results in not loading the welcome/login page: follow GUI_Installation#Re-installing_the_GUI

Re-install the GUI using the install script

(this requires to have already GUI working before. This howto not covers the ioncube and php packages 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-backup

3)Download and unpack the GUI

mkdir /tmp/gui
cd /tmp/gui
#This is example how to download GUI for php version 8.1 - change the phpver's value if you need download for different version (or check links list at bottom if this page)
wget "http://www.voipmonitor.org/download-gui?version=latest&major=5&allowed&phpver=81" -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 'http://www.voipmonitor.org/download-gui?version=latest&allowed&phpver=5' -O w.tar.gz

php 5.3

wget 'http://www.voipmonitor.org/download-gui?version=latest&allowed&phpver=53' -O w.tar.gz

php 5.4,5.5,5.6,7.0

wget 'http://www.voipmonitor.org/download-gui?version=latest&allowed&phpver=56' -O w.tar.gz

php 7.1,7.2

wget 'http://www.voipmonitor.org/download-gui?version=latest&allowed&phpver=71' -O w.tar.gz

php 7.3

wget 'http://www.voipmonitor.org/download-gui?version=latest&allowed&phpver=73' -O w.tar.gz

php 7.4

wget 'http://www.voipmonitor.org/download-gui?version=latest&allowed&phpver=74' -O w.tar.gz

php 8.1

wget 'http://www.voipmonitor.org/download-gui?version=latest&allowed&phpver=81' -O w.tar.gz

php 8.2

wget 'http://www.voipmonitor.org/download-gui?version=latest&allowed&phpver=82' -O w.tar.gz