Project

General

Profile

Actions

Bug #20050

closed

ruby-sequel-pg DEB pollutes Foreman ruby gem environment

Added by Wim Godden almost 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I had a running foreman install, but needed to run the foreman-installer again to change some settings. Upon doing so, the installer failed on this :
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: Failed to call refresh: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]

Apparently the issue is at :
Sequel::DatabaseError: PG::DuplicateColumn: ERROR: column "version" of relation "dynflow_schema_info" already exists

Any idea if this is a bug or something I did wrong ?

I tried dropping the database, then restarting, but that didn't change anything.


Files

2018-04-18 14_53_50-tkoeck@foreman_ ~.png View 2018-04-18 14_53_50-tkoeck@foreman_ ~.png 64.6 KB installation proceses Johannes Black, 04/18/2018 01:00 PM

Related issues 11 (1 open10 closed)

Related to foreman-tasks - Bug #17372: Installation of foreman_tasks fails on Debian jessieDuplicateIvan Necas11/17/2016Actions
Related to foreman-tasks - Bug #12993: PostgreSQL DuplicateColumn ErrorClosed01/05/2016Actions
Related to foreman-tasks - Bug #17875: ruby-foreman-tasks fails to intsall on debian/ubuntuDuplicate12/29/2016Actions
Related to Installer - Bug #22135: Installation of foreman-proxy-plugin-ansible always failsResolvedActions
Related to Foreman - Bug #22745: After Upgrade from 1.15.6 to 1.16.0 we can't access foremanFeedback03/01/2018Actions
Related to Packaging - Bug #23595: ruby-sequel-pg DEB pollutes Foreman ruby gem environmentNewActions
Has duplicate foreman-tasks - Bug #23299: Sequel::DatabaseError: PG::DuplicateColumn: ERROR: column "version" of relation "dynflow_schema_info" already existsDuplicate04/17/2018Actions
Has duplicate Foreman Remote Execution - Bug #23061: remote execution tasks stuck in status plannedDuplicate03/29/2018Actions
Has duplicate Packaging - Bug #22266: Fresh installation of Foreman with Ansible plugin and proxy is broken after host restartDuplicate01/15/2018Actions
Has duplicate Foreman Remote Execution - Support #22429: Jobs page fails to open with error message "PG::UndefinedTable: ERROR: relation "job_invocations" does not exist"Closed01/26/2018Actions
Has duplicate Foreman - Bug #22785: [Foreman 1.17] New install : unknown error (response 500)Duplicate03/06/2018Actions
Actions

Also available in: Atom PDF