-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
0144 migration fails with 'column "organization_id" contains null values' #1501
Comments
What version were you upgrading from? |
It was 6.4.4. I installed it some time ago and don't really care about the data there. Before this bug, I hit the #1386 bug and fixed with @meverone solution (#1386 (comment)). All other migrations were ok. |
I'm wondering if the case that happened here was a project was missing a team (or said team had no organization) thus the query to backfill orgs failed. I'm considering this low priority and have no intention to fix it at this time, but we'll keep it open as a point of reference. |
I created this sentry instance just to test how it works. I probably forgot some important configurations. I did no backup before the upgrade, I don't have the data to help you. |
I have been struggling with an upgrade problem that I believe is related to this. In my case, the migrations erred at migration no. 143 due to non-unique combinations of slugs and organizations in the project table. I fixed it by ensuring that all of my project slugs were unique by manually editing them. |
Closing this issue due to staleness. Feel free to comment here if you think we should still work on this but it is very unlikely that we would as this migration doesn't even exist anymore. |
Looking at my sentry_project table, the first user
Sentry (Internal)
does not have an organization. I update the record with an organization and the migration worked fine.The text was updated successfully, but these errors were encountered: