Content
ERROR: relation "enterprise_tokens" does not exist
Started March 15, 2020 09:27 · 1 reply · 2 participants
**Environment:**
Your OpenProject Version: 10.4.1
Operating System / Browser / Language: Ubuntu Server 18.04 / Firefox / German
**Logs**
rake aborted!
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "enterprise_tokens" does not exist
LINE 1: SELECT "enterprise_tokens".* FROM "enterprise_tokens" ORDER ...
Caused by:
PG::UndefinedTable: ERROR: relation "enterprise_tokens" does not exist
LINE 1: SELECT "enterprise_tokens".* FROM "enterprise_tokens" ORDER ...
table exists but is empty.
Is there a way to recreate the database? couldn't find it in the documentation?
Did you run openproject configure ? This should run all required migrations. Or did you manually remove or alter a table?
Best
Oliver