Hi, tried to drush updatedb from 3.x to 4.0-rc7 and I'm getting an endless loop at multichoice_update_6400. here is what I am seeing:
Executing multichoice_update_6400 [success]
Executing multichoice_update_6400 [success]
Executing multichoice_update_6400 [success]
Executing multichoice_update_6400 [success]
Executing multichoice_update_6400 [success]
Executing multichoice_update_6400 [success]
Executing multichoice_update_6400 [success]
Executing multichoice_update_6400 [success]
.... etc. thousands of times...
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 78 bytes) in /usr/local/share/drush/includes/backend.inc on line 120
Drush command could not be completed. [error]
With update.php script, It's just hanging at Remaining 27 of 27. Updating multichoice module
Comments
Comment #1
alberto56 commentedI'll set this to critical because with this bug version 4.0-rc7 is basically unusable for people upgrading.
Thanks,
Albert.
Comment #2
falcon commentedI don't know about drush but I just did an update on a site with 28.791 multichoice answers stored in the database. On a quite powerful computer the system seemed to be frozen for about 10 minutes while multichoice updated the old answers.
Are you sure you gave update.php enough time to perform the updates? multichoice_update_6400 is extremely slow, but it gets the job done eventually AFAIK.
Comment #3
falcon commentedFYI I've also heard that the update process has taken 2-3 hours on huge databases...
Comment #4
alberto56 commentedThanks for your response. I have 17 multi-choice questions, so the size of the database probably isn't an issue. I will try to reproduce the problem on a fresh install to see what happens. One note which might explain things: I am updating from 3.4, which is not the latest 3.x version. Perhaps I should update to 3.5 first, then to 4.x. I'll try that too...
Comment #5
falcon commentedHow many answers do you have to those questions? If you have stored thousands of answers to them the update will still be slow.
Comment #6
alberto56 commented@falcon hi, no actually it's a brand new site with just some test data -- maybe 50 answers maximum. Thanks.
Comment #7
falcon commented