Re-install the GUI: Difference between revisions
No edit summary |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
php --version | 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''' | '''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- | cp -a /var/www/html /var/www/html-backup | ||
'''3)Download and unpack the GUI''' | '''3)Download and unpack the GUI''' | ||
mkdir /tmp/gui | mkdir /tmp/gui | ||
cd /tmp/gui | cd /tmp/gui | ||
#This is example how to download GUI for php version | #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= | wget "http://www.voipmonitor.org/download-gui?version=latest&major=5&allowed&phpver=81" -O w.tar.gz | ||
tar xzf w.tar.gz | tar xzf w.tar.gz | ||
cd voipmonitor-gui-*/scripts/ | cd voipmonitor-gui-*/scripts/ | ||
Line 55: | Line 55: | ||
'''php 8.1''' | '''php 8.1''' | ||
wget 'http://www.voipmonitor.org/download-gui?version=latest&allowed&phpver=81' -O w.tar.gz | 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 |
Latest revision as of 08:26, 21 October 2024
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 GUI upgrade
- File system corruption (you need to fix filesystem before proceeding with re-install)
- 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