THIS ARE UPGRADE INSTRUCTIONS ONLY FOR CWP VERSION 0.9.8.1xx or lowerThis is now critical issue as old version 0.9.8.1xx will completely expire soon and some of the important server services like backups and monitoring will stop working!Procedure
===============
- Make sure that you are running CWP version
0.9.8.15x before proceedMySQL!!!
- Check your mysql version, you need to have mysql version 5.5 or higher (command: mysql --version)
- If your MySQL version is 5.1 or less than 5.5 then you need to upgrade MySQL by using MySQL upgrade script (instructions are bellow)
- Switch your server to Apache only mode in WebServers menu (you need to disable nginx and varnish, instructions are bellow )
- Download and Run CWP upgrade script (instructions are bellow)
- Download and Run Apache Upgrade script (instructions are bellow)
MySQL Upgrade (NOT required if you have MariaDB or MySQL 5.5 or newer)- Before running any mysql upgrade please make sure you have backups of your databases, if you have cwp backups enabled then you should also have backups, but please check before proceeding.
cd /usr/local/src
wget http://dl1.centos-webpanel.com/files/el6/cwpupgrade/mysql.sh
sh mysql.sh
CWP Upgrade script- Download and Run CWP upgrade script
cd /usr/local/src
wget http://dl1.centos-webpanel.com/files/el6/cwpupgrade/cwpsrv.sh
sh cwpsrv.sh
Apache Upgrade script- Before running apache upgrade script, login into cwp.admin and check that you are running apache only under Apache Settings --> Select WebServers, don't forget to rebuild vhosts also.
- Download and Run Apache upgrade script
cd /usr/local/src
wget http://dl1.centos-webpanel.com/files/el6/cwpupgrade/apache.sh
sh apache.sh
If something goes wrong with you apache try also this command
yum reinstall cwp-httpd cwp-suphp
RESTOREIf something goes wrong you can restore your apache/cwpsrv with the command
cd /usr/local/src
sh cwpsrv.sh restore
sh apache.sh restore
*** Please note that it would be good that you have some system admin at your side before proceeding
If you stuck somewhere you can restore your current version and/or contact our support for assistance.
http://centos-webpanel.com/contact