TheForeman foreman-rake db:migrate task fails when upgrading between 1.3.x -> 1.4.x and from any version < =1.3 to at least 1.5.2. The fix is to edit the rake task /usr/share/foreman/db/migrate/20130924145800_remove_unused_role_fields.rb. Bug #4518 is open for this issue.
How to fix `foreman-rake db:migrate`: Mysql2::Error: Can’t DROP ‘inherited_from’; check that column/key exists: ALTER TABLE `user_roles` DROP `inherited_from`
2014-08-01 | 0 comments