Migration Failed: Error during database upgrade.
Copied my Prestashop 1.6 install to Cloudways. After finishing, I installed the migration module and let it run.
Unfortunately it failed during the database upgrade and I’ve ended up with a half-broken install.
That’s OK though, I can easily roll back with Cloudways and try again - but do you guys have any idea what can be done to avoid the failure and perform a successful migration?
Here’s a screenshot of what happened, I’ve also attached the full migration log here: 0_1496955982485_migration.log
Don’t know why the log file was renamed to .bin. Just change the file ending from .bin to .log or something and it should be readable.
Hey! Great to see you here again.
Too bad it failed, though
Is this Linux hosting? I have never seen the
error when opening in write mode errorbefore. Could it be that there were no write permissions on the files in the
@mdekker Hey Mike! Good to see you again as well
I have no idea what they run their hosting on, actually. It’s cloudways.com that Lesley has been advocating: https://thirtybees.com/blog/thirty-bees-on-cloudways/
I’ll rollback to a backup before the failed migration attempt, reset permissions, try again and then update here!
Seems it was a permissions problem. Doing the migration after resetting the permissions made it go smoothly!
Happy to hear it got sorted.
The migration tool should have detected and reported this earlier in the process though.
@roband7 Yeah I thought that the config folder was scanned for the right permissions as well, but maybe it skips a few files somehow.