Packaging: Issueshttps://projects.theforeman.org/https://projects.theforeman.org/favicon.ico?16970236342017-06-19T13:16:06ZForeman
Redmine Bug #20050 (Closed): ruby-sequel-pg DEB pollutes Foreman ruby gem environmenthttps://projects.theforeman.org/issues/200502017-06-19T13:16:06ZWim Goddenprojects.theforeman.org-ag@wim.email.be
<p>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 :<br /> /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]<br /> /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]</p>
<p>Apparently the issue is at :<br />Sequel::DatabaseError: PG::DuplicateColumn: ERROR: column "version" of relation "dynflow_schema_info" already exists</p>
<p>Any idea if this is a bug or something I did wrong ?</p>
<p>I tried dropping the database, then restarting, but that didn't change anything.</p>