Sunday 17 February 2008 10:50:40 am
Hi,
I upgraded my eZ from 3.8.6 to 4.0.0 in steps.
3.8.6 -> 3.9.0
3.9.0 -> 3.10.0 3.10.0 -> 4.0.0 I used my scripts /CMS/htdocs/ - home EZ <b>3.8.6 -> 3.9.0</b>
# Upgrading the distribution files to 3.9.0
cp -rv /ez/ezpublish-3.9.0/* /CMS/htdocs/
chown -R nobody /CMS/htdocs
# Upgrading the database to 3.9.0
mysql -f ez< /CMS/htdocs/update/database/mysql/3.9/dbupdate-3.8.0-to-3.9.0.sql
cd /CMS/htdocs/
# Running the 3.9.0 upgrade scripts
# php = PHP 4
php update/common/scripts/3.9/updateclasstranslations.php -s polska --language=pol-PL
php update/common/scripts/3.9/correctxmltext.php --global
php update/common/scripts/3.9/updatetypedrelation.php -s polska
# Clearing the caches
bin/shell/clearcache.sh --clear-all
<b>3.9.0 -> 3.10.0</b>
# Upgrading the distribution files to 3.10.0
cp -rv /ez/ezpublish-3.10.0/* /CMS/htdocs/
chown -R nobody /CMS/htdocs
# Upgrading the database to 3.10.0
mysql -f ez < /CMS/htdocs/update/database/mysql/3.10/dbupdate-3.9.0-to-3.10.0.sql
cd /CMS/htdocs/
# Running the 3.10.0 upgrade scripts
# php = PHP 4
php bin/php/updateniceurls.php -s polska
php bin/php/ezimportdbafile.php --datatype=ezisbn -s polska
php update/common/scripts/3.10/updatemultioption.php -s polska
php update/common/scripts/3.10/updatevatcountries.php -s polska
# Clearing the caches
php bin/php/ezcache.php --clear-all
<b>3.10.0 -> 4.0.0</b>
# Upgrading the distribution files to 4.0.0
cp -rv /ez/ezpublish-4.0.0/* /CMS/htdocs/
chown -R nobody /CMS/htdocs
# Upgrading the database to 4.0.0
mysql -f ez < /CMS/htdocs/update/database/mysql/4.0/dbupdate-3.10.0-to-4.0.0.sql
cd /CMS/htdocs/
# Running the 4.0.0 upgrade scripts
php update/common/scripts/4.0/updatebinaryfile.php -s polska
# In order to revert the changes that were made by the "updateniceurls.php" script when
# upgrading to 3.10.0, run the following SQL queries:
# UPDATE ezurlalias SET is_imported=0;
# TRUNCATE ezurlalias_ml;
mysql -f ez</CMS/popraw.sql #
# php = PHP 5
php bin/php/updateniceurls.php --import -s polska
php bin/php/ezpgenerateautoloads.php
php update/common/scripts/4.0/updatevatcountries.php -s polska
php update/common/scripts/4.0/updatetipafriendpolicy.php -s corporate_admin
php bin/php/ezcache.php --clear-all --purge
After upgrade my Ez 4.0 was working OK but after i tested all my pages i found many pages with error:
<b> Module not found The requested module Products could not be found. Possible reasons for this are:
* The module name was misspelled, try changing the URL.
* The module does not exist on this site. * This site uses siteaccess matching in the URL and you did not supply one, try inserting a siteaccess name before the module in the URL . </b> In admin interface in many pages i see:
<b> The requested page could not be displayed. (20) The requested address or module could not be found. Possible reasons:
* The address was misspelled. Try changing the URL.
* The name of the module was misspelled. Try changing the URL.
* There is no <Products> module available on this site. * The site is using URL matching to determine which siteaccess to use, but the name of the siteaccess is missing from the URL. Try to add the name of the siteaccess; it should be specified before the name of the module.</b>
I used:
<b>Check database consistency </b> result: Database check OK. in var/log/error.log i see many many errors
<b>
The parent ID 1179 of element with ID 28 does not point to the last entry which had ID 23, incorrect path would be calculated, aborting
eZContentObjectTreeNode::pathWithNames() failed to fetch path of node 190, falling back to generated url entries. Run updateniceurls.php to fix the problem. </b> Any hint? Best regards.
Portable Ultrasound http://www.draminski.com
|