This guide will follow you through the whole Upgrade process from VHCS to ispCP RCx.
PLEASE NOTE: YOU DO THIS UPGRADE ON YOUR OWN RISK. THERE IS NO WARRANTY FOR AN SUCCESSFUL UPGRADE. FOLLOW THIS GUIDE STEP BY STEP!!!
Please make a FULL backup of your existing VHCS installation.
If you are using Debian Sarge, please upgrade to Debian Etch. If you don't know how → klick
To check, if there are any wrong Database Entry's do the following steps:
<cli>
# mysql -u root -p<yourpassword>
USE vhcs2
UPDATE domain SET domain_status = “change”;
UPDATE subdomain SET subdomain_status = “change”;
UPDATE domain_aliasses SET alias_status = “change”;
quit
</cli>
Now start:
<cli>
/var/www/vhcs2/engine/vhcs2-rqst-mngr
</cli>
After this log into your admin account and check if the status is O.K. (vhcs debugger).
If there are errors search the wrong entry, set it to delete and start vhcs2-rqst-mngr again.
If there are no errors you can start the upgradeprocess.
Download the lastest RC from here
<cli>
# cd /root
# tar -xjvf ispcp-omega-1.0.0-rcXX.tar.bz2
</cli>
<cli> # cd ./ispcp </cli>
If you use a nightly build:
<cli>
# cd web/svn/nightly
</cli>
Make sure, you added non-free to your sources.list
install the packages with apt-get
<cli>
# apt-get update
# apt-get upgrade
</cli>
Install the needed packages for ispCP:
<cli>
# apt-get install `cat ./docs/Debian/debian-packages-etch`
</cli>
If the installation ask you to install mod_cband, select YES
<cli>
# make install
</cli>
Note: By default, this will copy all the files and folders ready for the installation in the folder /tmp/ispcp
(you may want to make backups)
<cli>
# cp -Rv /tmp/ispcp/* /
</cli>
Change into the engine/setup directory:
<cli>
# cd /var/www/ispcp/engine/setup
</cli>
<cli>
# perl ./ispcp-setup
</cli>
Note: Enter your password for MySQL root user as you are asked.
Follow the steps on the screen.
After succesful installation, the migration of the old vhcs2 database is done in the next step:
<cli> # perl ./ispcp-update </cli>
Follow the steps on the screen.
If no error was shown, your VHCS installation should be successfully upgraded to ispCP.