====== Upgrade Nightly -> Nightly ====== ===== 1. By Script ===== You can update from Nightly to Nightly easily by Script. We recommend this! \\ \\ -> [[start:scripts:updatenightly|nightly update script]] \\ ===== 2. manually ===== **The manually Upgrade is only from ispCP Omega Nightly to ispCP Omega Nightly. \\ **Not** from VHCS to ispCP Omega. Absolutely no warranty, use it at your own risk. \\ This update will only update the gui. (/var/www/). All files where placed in /etc will NOT updated!** \\ \\ **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/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/messenger/ # 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 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>UPDATE subdomain_alias SET subdomain_alias_status = 'change' WHERE subdomain_alias_status = 'ok' mysql>quit; \\ **8.** Issue these command to MySQL on your ispCP database if your installed revision is higher then 997 and lower then 1024! # mysql -u root -p mysql>USE ispcp; mysql>DELETE FROM config WHERE name = 'DATABASE_REVISION'; mysql>quit; \\ **9.** Start the domain/email rebuild process # /var/www/ispcp/engine/ispcp-rqst-mngr \\ **10.** Start the ispcp_daemon # /etc/init.d/ispcp_daemon start \\ **11.** Clean the temporary installation directory: # rm -fR /tmp/ispcp \\ Done!