-
Notifications
You must be signed in to change notification settings - Fork 641
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
Unable to update to craft 3.1 - Migration failed #3662
Comments
There's likely a Sprout Forms field somewhere in a Matrix block that might be orphaned and invisible in the CP. It is as convoluted as it sounds. We have a solution in mind for issues like this when migrating and I hope to implement that today. |
We couldn’t get to the fix for this in 3.1.2 but we’ve found that the issue can be circumvented by upgrading to 3.0.37 first: https://docs.craftcms.com/v3/upgrade.html#performing-the-upgrade |
Yes indeed, I found the orphaned sprout forms field. |
Description
I updated my local website to craft 3.1.1. Everything seems to work perfectly however when I want to do the same on my staging website, the update is failing.
I receive a missing class error during a migration but I don't understand where this migration comes from I don't have it in my migrations folder. Plus, I no longer use the sprout form plugin anymore so it's might be normal that the class has disappeared.
I uninstalled sprout form but got an error so maybe it's not deleted properly. So I tried to remove every sprout form table present in my database but still got the same error message.
Debug
Additional info
I'm stuck, I do not see how to install this update without this mysterious migration interferes...
The text was updated successfully, but these errors were encountered: