Upgrade Instructions
Upgrading beta software is a RISK! You should make sure you have backups of your data before attempting the operation.
FROM web://cp 0.4.1
You will need to use files found in the UPGRADE directory.
- First run the webcp.sql MySQL file on your server. I recommend
that you create a new database (named 'webcp') for it since some
tables have the same name.
- Then copy the file convert0-4-1.php to your old webcp directory
and run from there. This will populate the new database with your
old data. TAKE THE TIME TO DOUBLE CHECK.
- Once all records are transferred, shut down your httpd-cp apache
process and move your old webcp base directory. Create a new one
and copy all new web://cp files there.
- Configure the config.php file and try running server/webcp.php -i
- From shell and as root, run the file convert0-4-1.sh.php
- Restart your httpd-cp apache process, making sure that it points
now correctly to the DocumentRoot /webcp_basedir/web
- Some data may not be totally transferred over or in some case a
bug in webcp 0.4.1 allowed things that should not have happened.
TAKE THE TIME TO VERIFY THE NEW WEBCP AND YOUR USERS.
- You're done!
FROM web://cp 0.5
- Execute the convert0-5.sql MySQL file on your database server
- Copy your /web/config.inc.php file one directory below: /config.php
- Overwrite all files with the new web://cp
- You can now compare /config.php and the new /web/config.php. All
that should be different from config.inc.php should be in your
config.php file. This is where you keep your custom configurations,
if a setting is not there, the default value is taken. The use of
config.php will also let you update faster in the future.
- You're done!
FROM web://cp 0.5.2
- Execute the convert0-5.2.sql MySQL file on your database server
- Save a copy your /config.php file.
- Overwrite all files with the new web://cp
- Copy your saved config.php over /config.php
- You're done!