Restore of Ansible Automation Platform is failing with pg_restore: error: could not execute query: ERROR: role does not exist

Solution Verified - Updated -

Issue

  • Restore of database fails with error pg_restore: error: could not execute query: ERROR: role "<role_name>" does not exist

Environment

  • Ansible Automation Platform 2.4

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