Skip to content
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

column sentry_team.actor_id does not exist #3051

Open
michaelscarlett78 opened this issue May 14, 2024 · 1 comment
Open

column sentry_team.actor_id does not exist #3051

michaelscarlett78 opened this issue May 14, 2024 · 1 comment

Comments

@michaelscarlett78
Copy link

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

@hubertdeng123
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Community
Status: No status
Development

No branches or pull requests

2 participants