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
Upgrading to 8.6.x sometimes causes the error An explicit DROP INDEX is not allowed on index umbracoRelationType.IX_umbracoRelationType_alias
#8291
Comments
|
@nul800sebastiaan could the projects have been migrated from v7 to v8? I did a Google Search where I found this old PR which seems to be merged in v7.6 where e.g. has |
|
Not from the reports we've seen so far! All started as v8. |
|
FWIW, I've hit this error (today), upgrading from 8.5.5 to 8.6.4, (on my localhost). To note, I didn't manually apply any constraints to the I ran the SQL query (from the forum post)... ALTER TABLE umbracoRelationType
DROP CONSTRAINT IX_umbracoRelationType_alias;...and that's resolved the issue, and I could upgrade. |
|
Hi,
When I upgraded a different site running on Umbraco Cloud last year, the error did not occur but it went through more steps. That site started as v8.0.0 and it received patch releases to 8.0.3. I had to manually upgrade the site to 8.4.2 as the automated upgrade failed.
|
|
Hiya @nul800sebastiaan, Just wanted to let you know that we noticed that this issue got a bit stale and might not be relevant any more. We will close this issue for now but we're happy to open it up again if you think it's still relevant (for example: it's a feature request that's not yet implemented, or it's a bug that's not yet been fixed). To open it this issue up again, you can write For example:
This will reopen the issue in the next few hours. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
Some reports of this on the forum:
https://our.umbraco.com/forum/using-umbraco-and-getting-started/102207-unable-to-upgrade-form-855-to-860
https://our.umbraco.com/forum/using-umbraco-and-getting-started//102231-upgrade-error-855-to-861
We are not sure why but some people have constraints on the
umbracoRelationTypetable, this is not something Umbraco creates.To fix this, the migration to 8.6.0 should drop those constraints on
IX_umbracoRelationType_alias,IX_umbracoRelationType_nameandIX_umbracoRelationType_UniqueId, if they exist.We would appreciate some community help with this!
The text was updated successfully, but these errors were encountered: