Difference between revisions of "Re-install the GUI"

From VoIPmonitor.org
Jump to navigation Jump to search
Line 1: Line 1:
  
== In some rare situations the GUI can gets corrupted ==
+
= In some rare situations the GUI can gets corrupted =
  
 
'''For example:'''
 
'''For example:'''
Line 7: Line 7:
 
# File system corruption (you need to fix filesystem before proceeding with re-install)
 
# 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 =
+
== Re-install the GUI using the install script ==
 
''(this requires to have already GUI working before the issue happens because this howto is skipping the ioncube module for php install steps)''
 
''(this requires to have already GUI working before the issue happens because this howto is skipping the ioncube module for php install steps)''
  
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
+
  #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)
 
  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
Line 34: Line 34:
 
''(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 ===
+
== Links list of latest GUI packages for various php versions ==
 
'''php 5.1,5.2'''
 
'''php 5.1,5.2'''
  wget https://www.voipmonitor.org/download-gui?version=latest&phpver=5
+
  wget 'http://www.voipmonitor.org/download-gui?version=latest&allowed&phpver=5' -O w.tar.gz
  
 
'''php 5.3'''
 
'''php 5.3'''
  wget https://www.voipmonitor.org/download-gui?version=latest&phpver=53
+
  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'''
 
'''php 5.4,5.5,5.6,7.0'''
  wget https://www.voipmonitor.org/download-gui?version=latest&phpver=56
+
  wget 'http://www.voipmonitor.org/download-gui?version=latest&allowed&phpver=56' -O w.tar.gz
  
 
'''php 7.1,7.2'''
 
'''php 7.1,7.2'''
  wget https://www.voipmonitor.org/download-gui?version=latest&phpver=71
+
  wget 'http://www.voipmonitor.org/download-gui?version=latest&allowed&phpver=71' -O w.tar.gz

Revision as of 20:40, 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)

Re-install the GUI using the install script

(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 (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