Problem:
ERF64-6496 [Foreman::MaintenanceException]: There are migrations pending in the system.
Expected outcome:
working forman
Foreman and Proxy versions:
3.4.0
Foreman and Proxy plugin versions:
Distribution and version:
rhel 8.6
Other relevant data:
I try # foreman-rake db:migrate
== 20211108211312 AddMissingPermissions: migrating ============================
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
Validation failed: Name has already been taken
spitting through logs I see this
/usr/sbin/foreman-rake db:abort_if_pending_migrations
You have 7 pending migrations:
20211108211312 AddMissingPermissions
20211123170430 TasksSettingsToDslCategory
20220118160349 DropSaltHideRunSaltButtonSetting
20220321101835 RenameSshProviderToScript
20220331112719 AddSshUserToJobInvocation
20220406185204 FixSaltSettingCategoryToDsl
2021051713291621250977 AddHostProxyInvocations
Run bin/rails db:migrate
to update your database then try again.
How can I fix this? Please help.