-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.x]: Upgrading from 4 -> 5 applying m240302_212719_solo_preview_targets Exception: 1205 Lock wait timeout exceeded; #15539
Comments
Had you tried updating previously, and that failed for some other reason? |
No, not that I can pinpoint. Last update was just to bring Craft 4 up to date and that was no problem, right before doing the Craft 5 upgrade. I did notice that when restoring the database, I had forgotten to clear the queue table which did keep the migrations from happening at other places in the migration process, but once I made sure that was cleared each time things ran (after re-importing the database), it just always stopped at this particular migration (the solo_preview_targets one). |
Can you try restarting your database server, reimporting a Craft 4 database backup, and upgrade again? |
Ok, so I tried restarting the database server and reimporting the Craft 4 database backup and upgraded again and same thing. Tried this both locally and on our staging server. Still the same thing on both (same issue as above). |
Can you send your Craft 4 database and Composer files into support@craftcms.com? |
Sent! Thanks @brandonkelly. |
Having the same issue, different error type(?)
|
Reached out to support and got everything upgraded. They suggested first upgrading to 5.1.0 and then after that upgrade from 5.1.0 to 5.3.x. Good to go here. Thanks @brandonkelly. Curious if @23d1 will have success doing this as well. |
Craft 5.3.5 is out with a fix for this 🎉 |
What happened?
Description
I'm upgrading from Craft 4 to 5 and have followed the upgrade guide and when I go to run
composer update
, during migrations I get:I've re-imported the database and tried running this at least 8 times. Kept trying to see if it would work if I changed something different each time.
Any thoughts?
Steps to reproduce
Run
composer update
after going through the upgrade guide and it happens during migrations and always stops at this point.Expected behavior
I expect migrations to finish.
Actual behavior
Migrations stop and I have to re-import the database.
Craft CMS version
5.3.4
PHP version
8.3
Operating system and version
No response
Database type and version
MySQL 8.0.33
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: