Re-install the GUI: Difference between revisions

From VoIPmonitor.org
Jump to navigation Jump to search
Line 18: Line 18:
  mkdir /tmp/gui
  mkdir /tmp/gui
  cd /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 (or check links list at bottom if this page)
  #This is example how to download GUI for php version 5.4 - 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=54" -O w.tar.gz
  wget "http://www.voipmonitor.org/download-gui?version=latest&major=5&allowed&phpver=54" -O w.tar.gz
  tar xzf w.tar.gz
  tar xzf w.tar.gz

Revision as of 11:42, 29 August 2023

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-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 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=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 '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