Wednesday 21 December 2005 12:10:38 am
A tale of five sites (to be completed) One of our webhosts, www.webhuset.no have decided to upgrade to PHP 4.4.1 and have done so without giving us any time to prepare, so as of today we have a number of websites that needs to be upgraded to version 3.7.2 in order to function. Oh well.. no time for shopping christmas gifts this year either.. I decided to do make some notes on this upgrade venture as I think I am bound to run into some problems.. so here we go :)
Site A,B,C: eZpublish version 3.6.1
Site D: eZpublish version 3.6.4 Site E: eZpublish version 3.5.1
<b>The plan:</b>
1. Back up the existing database and eZ installation
2. Make a fresh install of eZ 3.7.2 in a separate folder in the websites
3. Do the necessary wizardry on each mysql database as described with every release.
4. Copy the design files (/design), the complete /var directory, /settings/override (complete directory), /settings/siteaccess (only the directories not present in the new install area), If Online Editor is installed or any other extensions they also needs to be copied
5. if necessary run bin/modfix.sh to set the correct permissions on the copied files. 6. Clear the cache files So far we have installed site A through D and no database conversion or scrips was run as the 3.7 database is the same as 3.6
<b>HELP:</b>
After copying the files from the old version directories as in step 4 above, the sites all seem to work well, except we dont have the necessary permissions to viw the picture objects. At least thats the error message we get whenever a picture is supposed to be shown. The modfix.sh script sets 777 permisssions on the var directory, some ppl claim it should be set to 770, but inspecting the old var directory shows that they are indeed set to 777, this seems to be the right choice even if it is claimed to be unsafe. Someone clarify perhaps? So here we are.. almost successful, could someone perhaps help with the image object permissions? We will start working on site E, which needs some small work on the database before we can proceed with the upgrade. Will try to document it here. Site E database needs to be upgraded to 3.6, actually the changelog for 3.6.0 says it has to be upgraded to 3.5.2 first but there is no change btw 3.5.1 and 3.5.2 so.. Also there is no change between 3.6 and 3.7.2 so this one upgrade is all that is needed. Wish us good luck :) Merry Christmas to you all John Arne Jørgensen
|