Documentation: Installation

Upgrade

There are two ways of update ispCP ω

a) via install script

There is no scipt at the moment. Will be done in the Stable release!

1. Start the script and follow the update instructions:

# ./install-ispcp.sh

b) manually

The manually Upgrade is only from ispCP Omega RC2x to ispCP Omega RC2y.
Not from VHCS to ispCP Omega. Absolutely no warranty, use it at your own risk.

1. Backup the current ispCP Version in a compressed tar-archiv and safe the db-keys.

# cd /var/www/
# mkdir backup
# cd backup
# tar czpf ispcp_backup.tar.gz ../ispcp/
# cp ../ispcp/engine/ispcp-db-keys.pl .
# cp ../ispcp/gui/include/ispcp-db-keys.php .
# cp ../ispcp/gui/tools/pma/config.inc.php .

2. Compile the new Version
Copy your Downloaded ispCP Version to /root before

# cd /root
# tar -xjvf ispcp-omega-1.X.X.tar.bz2
# cd ./ispcp-omega-1.X.X
# make install

3. Stop the ispcp_daemon before copy

# /etc/init.d/ispcp_daemon stop

4.The new compiled files are now under /tmp/ispcp-1.0.0/var/www/ Copy them to /var/www/ispcp/

# cd /tmp/ispcp-1.0.0/var/www/
# cp -R ispcp/ /var/www/

5. Copy the backuped config and db-keys back to ispCP

# cd /var/www/backup/
# cp ispcp-db-keys.pl ../ispcp/engine/
# cp ispcp-db-keys.pl ../ispcp/engine/messager/
# cp ispcp-db-keys.php ../ispcp/gui/include/
# cp config.inc.php ../ispcp/gui/tools/pma/

6. Set new permissions on the engine and gui directory

# cd ../ispcp/engine/setup/
# ./set-engine-permissions.sh
# ./set-gui-permissions.sh

7. Issue these command to MySQL on your ispCP database to recreate email and web config

# mysql -u root -p<password>
mysql>USE ispcp
mysql>UPDATE mail_users SET status="toadd" where status="ok";
mysql>UPDATE domain SET domain_status = 'change' WHERE domain_status = 'ok';
mysql>UPDATE domain_aliasses SET alias_status = 'change' WHERE alias_status = 'ok';
mysql>UPDATE subdomain SET subdomain_status = 'change' WHERE subdomain_status = 'ok';
mysql>quit

8. Start the domain/email rebuild process

# /var/www/ispcp/engine/ispcp-rqst-mngr

9. Start the ispcp_daemon

# /etc/init.d/ispcp_daemon start

10. Clean the temporary installation directory:

# rm -fR /tmp/ispcp-1.0.0

Done!