Forums / Install & configuration / Upgrade from 3.9.0 to 3.10.1 and updateniceurls.php
Sébastien Antoniotti
Tuesday 19 May 2009 1:06:40 am
Hi,
I'm upgrading a large site from 3.8.4 to 4.1.1, and I'm actually at the 3.9.0=>3.10.1 upgrade step.
This site contains more than 30 000 nodes and the problem is that updateniceurls.php takes too much time : 20% at the last step (updateNodeAlias) after 10 hours of execution...
So my question is : if I don't want to change urls for this website, is there a way to hack updateniceurls.php in order to skip some parts of the script and reduce the execution time without corrupting the database ?
Thanks in advance !
eZ Publish Freelance web : http://www.webaxis.fr
Gurudutt Verma
Saturday 23 May 2009 7:03:57 pm
Hi Sébastien,
If you want to use niceurl's then I don't see any other way to do it.
In your case it is recommended to execute updateniceurl.php script while you upgrade your site eZ Publish 3.10.x to eZ Publish 4.0.x(Latest version of eZ Publish 4.0.x)
About time consuming process, Is your database and eZ Publish files are located at two different servers ? OR Are you executing this script at server where server load is too high ?if this is the case then just try to copy your database to different faster machine and see if that helps.
Also try to clear ini cache first and then execute this script(updateniceurls.php), this will improve performance of this script.