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

ProgrammingError: column "deleted" of relation "contentcuration_user" already exists #3919

Closed
sentry-io bot opened this issue Jan 24, 2023 · 4 comments
Assignees
Labels

Comments

@sentry-io
Copy link

sentry-io bot commented Jan 24, 2023

Something isn't right with this migration. Perhaps the initial job timed out-- something that can happen when a Django migration adds a not-null column that requires setting defaults on the entire table.

Sentry Issue: STUDIO-FWZ

DuplicateColumn: column "deleted" of relation "contentcuration_user" already exists

  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "django_prometheus/db/common.py", line 71, in execute
    return super().execute(*args, **kwargs)

ProgrammingError: column "deleted" of relation "contentcuration_user" already exists

(15 additional frame(s) were not displayed)
...
  File "django/db/backends/utils.py", line 75, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "django_prometheus/db/common.py", line 71, in execute
    return super().execute(*args, **kwargs)
@bjester
Copy link
Member

bjester commented Jan 24, 2023

Unfortunately the original migration job logs are no longer available, but it did finish in a reasonable time

@bjester
Copy link
Member

bjester commented Mar 14, 2023

We need to determine if this is still an issue

@bjester bjester added the P0 - critical Priority: Release blocker or regression label Mar 14, 2023
@vkWeb
Copy link
Member

vkWeb commented Mar 14, 2023

@bjester how can we determine that sir? I think this relates to #3726?

@vkWeb
Copy link
Member

vkWeb commented Apr 3, 2023

I discussed this issue with @bjester sir, we aren't seeing this error any more, if we see it in future, we'll file another issue, closing for now.

@vkWeb vkWeb closed this as completed Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants