Red Hat Satellite 6.8 upgrade fails with error PG::UndefinedFile: ERROR: could not open extension control file "/opt/rh/rh-postgresql12/root/usr/share/pgsql/extension/evr.control": No such file or directory

Solution Verified - Updated -

Issue

  • Red Hat Satellite 6.8 upgrade fails with the following error.

    rake aborted!
    StandardError: An error has occurred, this and all later migrations canceled:
    
    PG::UndefinedFile: ERROR:  could not open extension control file "/opt/rh/rh-postgresql12/root/usr/share/pgsql/extension/evr.control": No such file or directory
    /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.1/lib/active_record/connection_adapters/postgresql_adapter.rb:675:in `async_exec_params'
    /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.1/lib/active_record/connection_adapters/postgresql_adapter.rb:675:in `block (2 levels) in exec_no_cache'
    

Environment

  • Red Hat Satellite 6.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content