Problem: I am trying to install foreman 3.0 with katello 4.2 on centos 8.4 server with external postgresql 12 database on centos 8.4
During installation its failing at foreman-rake db:migrate
Expected outcome: complete installation successfully
Foreman and Proxy versions: Foreman 3.0
Foreman and Proxy plugin versions: Katello 4.2
Distribution and version: Centos 8.4
Other relevant data:
when i am running installer, its failing with the below errors.
2022-01-04 04:39:13 [NOTICE] [configure] Starting system configuration.
2022-01-04 04:39:28 [NOTICE] [configure] 250 configuration steps out of 1776 steps complete.
2022-01-04 04:39:32 [NOTICE] [configure] 500 configuration steps out of 1778 steps complete.
2022-01-04 04:39:35 [NOTICE] [configure] 750 configuration steps out of 1779 steps complete.
2022-01-04 04:39:58 [ERROR ] [configure] ‘/usr/sbin/foreman-rake db:migrate’ returned 1 instead of one of [0]
2022-01-04 04:39:58 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/returns: change from ‘notrun’ to [‘0’] failed: ‘/usr/sbin/foreman-rake db:migrate’ returned 1 instead of one of [0]
2022-01-04 04:40:09 [NOTICE] [configure] 1250 configuration steps out of 1786 steps complete.
2022-01-04 04:40:09 [NOTICE] [configure] 1500 configuration steps out of 1786 steps complete.
2022-01-04 04:40:10 [ERROR ] [configure] ‘pulpcore-manager migrate --noinput’ returned 1 instead of one of [0]
2022-01-04 04:40:10 [ERROR ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: change from ‘notrun’ to [‘0’] failed: ‘pulpcore-manager migrate --noinput’ returned 1 instead of one of [0]
2022-01-04 04:40:10 [NOTICE] [configure] 1750 configuration steps out of 1786 steps complete.
2022-01-04 04:40:13 [NOTICE] [configure] System configuration has finished.
There were errors detected during install.
Please address the errors and re-run the installer to ensure the system is properly configured.
Failing to do so is likely to result in broken functionality.
Below is coming when try to run command db migration command individual:
foreman-rake db:migrate
Apipie cache enabled but not present yet. Run apipie:cache rake task to speed up API calls.
== 20200213184848 CreateEvrType: migrating ====================================
– enable_extension(“evr”)
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
PG::UndefinedFile: ERROR: could not open extension control file “/usr/share/pgsql/extension/evr.control”: No such file or directory
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:675:in exec_params' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:675:in
block (2 levels) in exec_no_cache’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/dependencies/interlock.rb:48:in block in permit_concurrent_loads' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/share_lock.rb:187:in
yield_shares’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/dependencies/interlock.rb:47:in permit_concurrent_loads' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:674:in
block in exec_no_cache’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract_adapter.rb:722:in block (2 levels) in log' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in
block (2 levels) in synchronize’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in handle_interrupt' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in
block in synchronize’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in handle_interrupt' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in
synchronize’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract_adapter.rb:721:in block in log' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in
instrument’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract_adapter.rb:712:in log' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:673:in
exec_no_cache’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:654:in execute_and_clear' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql/database_statements.rb:98:in
exec_query’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:391:in enable_extension' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:890:in
block in method_missing’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:858:in block in say_with_time' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:858:in
say_with_time’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:879:in method_missing' /usr/share/gems/gems/katello-4.2.1/db/migrate/20200213184848_create_evr_type.rb:7:in
up’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:831:in exec_migration' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:812:in
block (2 levels) in migrate’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:811:in block in migrate' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/connection_pool.rb:471:in
with_connection’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:810:in migrate' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1002:in
migrate’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1310:in block in execute_migration_in_transaction' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1361:in
block in ddl_transaction’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in block in transaction' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/transaction.rb:280:in
block in within_new_transaction’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in block (2 levels) in synchronize' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in
handle_interrupt’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in block in synchronize' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in
handle_interrupt’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in synchronize' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/transaction.rb:278:in
within_new_transaction’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in transaction' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:212:in
transaction’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1361:in ddl_transaction' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1309:in
execute_migration_in_transaction’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1281:in block in migrate_without_lock' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1280:in
each’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1280:in migrate_without_lock' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1229:in
block in migrate’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1382:in with_advisory_lock' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1229:in
migrate’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1061:in up' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1036:in
migrate’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/tasks/database_tasks.rb:238:in migrate' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/railties/databases.rake:86:in
block (3 levels) in <top (required)>’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/railties/databases.rake:84:in each' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/railties/databases.rake:84:in
block (2 levels) in <top (required)>’
/usr/share/gems/gems/rake-13.0.1/exe/rake:27:in `<top (required)>’
Caused by:
ActiveRecord::StatementInvalid: PG::UndefinedFile: ERROR: could not open extension control file “/usr/share/pgsql/extension/evr.control”: No such file or directory
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:675:in exec_params' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:675:in
block (2 levels) in exec_no_cache’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/dependencies/interlock.rb:48:in block in permit_concurrent_loads' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/share_lock.rb:187:in
yield_shares’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/dependencies/interlock.rb:47:in permit_concurrent_loads' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:674:in
block in exec_no_cache’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract_adapter.rb:722:in block (2 levels) in log' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in
block (2 levels) in synchronize’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in handle_interrupt' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in
block in synchronize’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in handle_interrupt' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in
synchronize’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract_adapter.rb:721:in block in log' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in
instrument’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract_adapter.rb:712:in log' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:673:in
exec_no_cache’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:654:in execute_and_clear' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql/database_statements.rb:98:in
exec_query’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:391:in enable_extension' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:890:in
block in method_missing’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:858:in block in say_with_time' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:858:in
say_with_time’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:879:in method_missing' /usr/share/gems/gems/katello-4.2.1/db/migrate/20200213184848_create_evr_type.rb:7:in
up’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:831:in exec_migration' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:812:in
block (2 levels) in migrate’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:811:in block in migrate' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/connection_pool.rb:471:in
with_connection’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:810:in migrate' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1002:in
migrate’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1310:in block in execute_migration_in_transaction' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1361:in
block in ddl_transaction’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in block in transaction' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/transaction.rb:280:in
block in within_new_transaction’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in block (2 levels) in synchronize' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in
handle_interrupt’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in block in synchronize' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in
handle_interrupt’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in synchronize' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/transaction.rb:278:in
within_new_transaction’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in transaction' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:212:in
transaction’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1361:in ddl_transaction' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1309:in
execute_migration_in_transaction’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1281:in block in migrate_without_lock' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1280:in
each’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1280:in migrate_without_lock' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1229:in
block in migrate’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1382:in with_advisory_lock' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1229:in
migrate’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1061:in up' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1036:in
migrate’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/tasks/database_tasks.rb:238:in migrate' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/railties/databases.rake:86:in
block (3 levels) in <top (required)>’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/railties/databases.rake:84:in each' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/railties/databases.rake:84:in
block (2 levels) in <top (required)>’
/usr/share/gems/gems/rake-13.0.1/exe/rake:27:in `<top (required)>’
Caused by:
PG::UndefinedFile: ERROR: could not open extension control file “/usr/share/pgsql/extension/evr.control”: No such file or directory
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:675:in exec_params' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:675:in
block (2 levels) in exec_no_cache’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/dependencies/interlock.rb:48:in block in permit_concurrent_loads' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/share_lock.rb:187:in
yield_shares’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/dependencies/interlock.rb:47:in permit_concurrent_loads' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:674:in
block in exec_no_cache’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract_adapter.rb:722:in block (2 levels) in log' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in
block (2 levels) in synchronize’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in handle_interrupt' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in
block in synchronize’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in handle_interrupt' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in
synchronize’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract_adapter.rb:721:in block in log' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in
instrument’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract_adapter.rb:712:in log' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:673:in
exec_no_cache’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:654:in execute_and_clear' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql/database_statements.rb:98:in
exec_query’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/postgresql_adapter.rb:391:in enable_extension' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:890:in
block in method_missing’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:858:in block in say_with_time' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:858:in
say_with_time’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:879:in method_missing' /usr/share/gems/gems/katello-4.2.1/db/migrate/20200213184848_create_evr_type.rb:7:in
up’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:831:in exec_migration' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:812:in
block (2 levels) in migrate’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:811:in block in migrate' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/connection_pool.rb:471:in
with_connection’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:810:in migrate' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1002:in
migrate’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1310:in block in execute_migration_in_transaction' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1361:in
block in ddl_transaction’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in block in transaction' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/transaction.rb:280:in
block in within_new_transaction’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in block (2 levels) in synchronize' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in
handle_interrupt’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in block in synchronize' /usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in
handle_interrupt’
/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in synchronize' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/transaction.rb:278:in
within_new_transaction’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in transaction' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:212:in
transaction’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1361:in ddl_transaction' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1309:in
execute_migration_in_transaction’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1281:in block in migrate_without_lock' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1280:in
each’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1280:in migrate_without_lock' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1229:in
block in migrate’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1382:in with_advisory_lock' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1229:in
migrate’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1061:in up' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/migration.rb:1036:in
migrate’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/tasks/database_tasks.rb:238:in migrate' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/railties/databases.rake:86:in
block (3 levels) in <top (required)>’
/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/railties/databases.rake:84:in each' /usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/railties/databases.rake:84:in
block (2 levels) in <top (required)>’
/usr/share/gems/gems/rake-13.0.1/exe/rake:27:in `<top (required)>’
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
However after installing “yum install https://yum.theforeman.org/pulpcore/3.14/el8/x86_64/postgresql-evr-0.0.2-1.el8.x86_64.rpm” file /usr/share/pgsql/extension/evr.control is now listed on database server. But this error is keep coming while installation .
ls -l “/usr/share/pgsql/extension/evr.control”
-rw-r–r–. 1 root root 100 Apr 13 2020 /usr/share/pgsql/extension/evr.control
please help asap