psycopg2.errors.DuplicateTable: relation "accesstokenkind" already exists

Solution In Progress - Updated -

Issue

  • Installation of Quay 3.8 failed with following error message:
Entering migration mode to version: head
16:54:27 INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
16:54:27 INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
16:54:28 INFO  [alembic.runtime.migration] Running upgrade  -> c156deb8845d, Reset our migrations with a required update.
Traceback (most recent call last):
  File "/usr/local/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1802, in _execute_context
    self.dialect.do_execute(
  File "/usr/local/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 732, in do_execute
    cursor.execute(statement, parameters)
psycopg2.errors.DuplicateTable: relation "accesstokenkind" already exists

Environment

  • Red Hat Quay 3.8
  • Postgresql 13.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content