Forums / Developer / Upgrade to 3.10

Upgrade to 3.10

Author Message

Damien Pobel

Sunday 07 October 2007 6:12:30 am

Hi,

I'm trying to upgrade my site from 3.9.2 to 3.10. I have to run the upgrade script but it takes so looooong !

> tigrou@dedipwet[88.191.30.29]:~/web/pwet.fr/www310$ php4 bin/php/updateniceurls.php -s plain_site_admin
Using siteaccess plain_site_admin for nice url update
Importing old url aliases
Importing 62638 standard urls
........................................................ 0.09% 45h 46m 8s
........................................................ 0.18% 86h 55m 44s
........................................................ 0.27% 106h 58m 2s
........................................................ 0.36% 155h 18m 55s

I tried to optimize the script but it seems that eZURLAlias::storePath() takes between 0.5 and 10 seconds by URL !
is there a way to optimize this step as I want to use urlalias_compat URLTranslator method and I only have one langage in my site.

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Damien Pobel

Sunday 07 October 2007 2:14:21 pm

I finally found some dirty solutions. Some infos on my blog : http://pwet.fr/blog/upgrading_a_large_site_from_ez_publish_3_9_2_to_ez_publish_3_10

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Jeroen Sangers

Monday 08 October 2007 10:33:31 am

Thanks a lot! Though my site is a lot smaller, it takes waaaaay toooo looooong! I wonder whether they ran this script on the ez.no site as well (how many years would that take?).