Wanting to upgrade from 188.8.131.52 to 2.3.5 and I'm trying to avoid problems. I've not done this before. Just getting up to speed with LAMP too.
What I have done is read the UPGRADE doc after downloading the OCS-2.3.5-tar.gz and ocs-184.108.40.206_to_2.3.5.patch.gz.
I've also read the doc "Upgrading to OCS 2.3.4? Please read". This doc mentions increasing the timeout in PHP.
The UPGRADE doc says to increase the timeout only if you're using PHP in safe mode, and it also mentions increasing the Apache timeout.
In our php.ini file, safe mode is disabled.
So my first newbie question, should I increase the time out or not in PHP and Apache2?
After reading the upgrade doc seems like I should just patch. So patch or fresh install?
I've also read some of the OJS/OCS Quick Reference version 1 manual. Just the section on Upgrading and backing up.
This manual is dated 23June2008, is there a more current manual I should be reading?
I used the mysqldump cmd from the manual to make a db backup. I used tar to make an archive of the OCS folders and files.
I've moved them both into a tmp directory.
I've a printed copy of the config.ini.php file, and a copy of the file in the tmp directory.
To apply the patch should I use the cmd patch -p1 < patch_file or the cmdline tool php tools/upgrade.php patch?
Seems like it should be /osc/tools/upgrade.php patch, because the the OJS/OCS Quick Reference version 1 manual
mentions using that cmd to update the db.
The way I read it that cmd will do both parts of the upgrade, upgrade the code and then update the db. Correct me if I'm wrong.
Any other suggestions on things to do to ensure a smooth upgrade?
uname -a - Linux version 2.6.26-1-686,
cat /proc/version - Debian Lenny (gcc version 4.1.3 20080704)
mysql \s - ver 14.12 Distrib 5.0.51a
nginx -v - nginx/0.6.32
PHP5 - struggled with getting the exact version.
Apache is 2.2 I believe , it's at least Apache2, httpd -v returned a cmd not found. so I don't have the exact details.
I'm planning on upgrading Debian, Apache, PHP5, Nginx, etc, but OCS first.