Project

General

Profile

Actions

Bug #38274

open

Docker Compose fails due to undefined tables in the database

Added by Brandon H. about 2 months ago. Updated about 2 months ago.

Status:
Ready For Testing
Priority:
Low
Assignee:
Category:
Development tools
Target version:
-
Difficulty:
easy
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Docker Compose fails the app services during initialization due to missing or undefined tables in the Postgres database. I believe this is related to bug 34715 which has been closed.

When starting docker compose with the current compose file the app service exits with multiple errors that look like the following.

/home/foreman/vendor/ruby/3.0.0/gems/activerecord-6.1.7.10/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec': PG::UndefinedTable: ERROR:  relation "permissions" does not exist (ActiveRecord::StatementInvalid)
LINE 8:  WHERE a.attrelid = '"permissions"'::regclass

Actions

Also available in: Atom PDF