Closed michaelscarlett78 closed 2 months ago
This looks like a pretty old version of self-hosted. Are you currently trying to upgrade from 22.4.0 to the latest version? You may need to potentially force a migration as maybe this one was skipped?
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community
, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Self-Hosted Version
22.4.0
CPU Architecture
x86_64
Docker Version
24.0.7
Docker Compose Version
2.21.0
Steps to Reproduce
After upgrade I cannot logon to sentry, getting bad gateway error. Logs on sentry-self-hosted-web-1 container indicate indicate column sentry_team.actor_id does not exist. install.sh logs indicate no data migrations to apply:
Running migrations for default Operations to perform: Apply all migrations: auth, contenttypes, feedback, hybridcloud, nodestore, replays, sentry, sessions, sites, social_auth Running migrations: No migrations to apply.
Expected Result
Logon successful
Actual Result
2024-05-14T03:09:44.348271233Z django.db.utils.ProgrammingError: UndefinedColumn('column sentry_team.actor_id does not exist\nLINE 1: ...g", "sentry_team"."name", "sentry_team"."status", "sentry_te...\n ^\n')
2024-05-14T03:09:44.348280716Z SQL: SELECT "sentry_organizationmember_teams"."id", "sentry_organizationmember_teams"."team_id", "sentry_organizationmember_teams"."organizationmember_id", "sentry_organizationmember_teams"."is_active", "sentry_organizationmember_teams"."role", "sentry_team"."id", "sentry_team"."organization_id", "sentry_team"."slug", "sentry_team"."name", "sentry_team"."status", "sentry_team"."actor_id", "sentry_team"."idp_provisioned", "sentry_team"."date_added" FROM "sentry_organizationmember_teams" INNER JOIN "sentry_team" ON ("sentry_organizationmember_teams"."team_id" = "sentry_team"."id") WHERE ("sentry_organizationmember_teams"."is_active" AND "sentry_organizationmember_teams"."organizationmember_id" = %s AND "sentry_team"."status" = %s)
Event ID
No response