Posted: February 17, 2015 at 4:39 pm
|
I’m having the same issue stated here: https://eventespresso.com/topic/event-espresso-4-6-migration-stuck-at-0/ The following PHP errors appear when I turn debug on:
Memory allocation is fine (as mentioned in this post: https://eventespresso.com/topic/ee4-migration-problem/). I have the latest version of everything. |
|
addendum: I did not have the latest version of everything, apparently. EE was not at the latest version. Upgraded to latest. So the PHP error is gone, but the issue remains. |
Hi David, Is there no error message at all when you run the migration now? You could try adding this: define( 'EE_MIGRATION_STEP_SIZE', 5); to your wp-config.php file, the migration will take longer as it will run in smaller steps, but may show where the error is. |
|
|
That is correct. No error message. I’ve added the line to wp-config.php and am running the script now. I’ll keep you posted. |
|
It seems as though the migration doesn’t even really get started. That said, when I look at the system information tab within the maintenance section, I do see that in the “ee_migration_history” section, at the end of the”_org_options_we_know_how_to_migrate” block, we get:
The block right after that is where we get:
It is related to shortcodes, given:
Every block after that has:
I’m guessing this means that its hanging at shortcode migration. Note: I’ve left out all the other details from those blocks (stuff like “_pretty_name” and “class”). I’ve also left out “_errors” because they do not list anything at all. Let me know if you need any more information in order to help me out. In the mean time, I’m going to take a look at the database and see if there’s something silly in the ee tables like a reference to an incorrect URL (the site has been migrated to a dev url for this upgrade). |
|
Nothing silly in the database. |
Hi David, Can you revert back to the backup of the database from before the first migration attempt? Then before running the migration, you: 1) Deactivate EE3. |
|
|
Well that got me… somewhere. I did keep `define( ‘EE_MIGRATION_STEP_SIZE’, 5); in wp-config, so that helped in seeing the progress happening:”Migrated 5 records successfully during Shortcodes”. It got through to 2% (815/35081) during “Core Data Migration to version 4.1.0” and has once again stopped. I guess this confirms the previous report: looks like it has something to do with the shortcodes. I’ve left the window open for now, but should I attempt navigating away and resuming? |
|
Actually, looking at the “ee_migration_history” now, it looks like we made it through Shortcodes:
and got stuck at gateways:
|
Hi David, Does this site use a payment method/gateway that’s not included with Event Espresso 3? |
|
|
Nope. It only uses Paypal Standard. |
|
Also: the fact that it hung on Shortcodes previously would suggest that something else is at play. |
Hi David, I discussed this with Mike, who built the migration tool, and he said that there may an issue sending the ajax requests to proceed. I can advise trying the migration with all other WordPress plugins deactivated, along with temporarily switching to the default WordPress theme. Along with that, you can add some additional insurance that errors during the migration requests don’t interfere with the AJAX by adding the following to your wp-config.php file:
|
|
|
Seems to be working well now, though slowly, because I still have it processing 5 records at a time. It was hanging again until I did one more thing: I hunted through the options table (which I hadn’t done previously) and deleted all ee related rows. Then I exported only the rows that were relevant from the working ee3 site db to the new site db (e.g.: I didn’t copy rows for gateways I’m not using). There seemed to be a fair bit of cruft in there. Thanks for your help in this. It would be nice to know what exactly went wrong in the first place (just because I like to know— I’m sure you’d rest easier knowing too), but clearing absolutely everything out of the db seems to have fixed whatever corruption crept in from the script on the first run. I’ll confirm once the script finishes that everything worked out. |
Hi David, Reverting back to the backup of the database from before the first migration attempt would also clear out the cruft too, right? |
|
The support post ‘Event Espresso 4.6 Migration from 3.1.36.6.P hangs at 0%’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.