Project

General

Custom queries

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 #1

Updated by The Foreman Bot about 2 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/10472 added
Actions #2

Updated by Ewoud Kohl van Wijngaarden about 2 months ago

  • Fixed in Releases deleted (3.12.2, 3.13.1, 3.14.0)

Please don't set Fixed in Releases because that indicates it has been fixed. Did you intend to use Found in Releases?

Actions

Also available in: Atom PDF