diff --git a/guides/common/modules/proc_upgrading-the-external-database.adoc b/guides/common/modules/proc_upgrading-the-external-database.adoc index a4ba8880aba..23f52067584 100644 --- a/guides/common/modules/proc_upgrading-the-external-database.adoc +++ b/guides/common/modules/proc_upgrading-the-external-database.adoc @@ -13,6 +13,15 @@ endif::[] .Procedure . Create a backup. . Restore the backup on the new server. +ifdef::katello,satellite,orcharhino[] +. Correct the permissions on the `evr` extension: ++ +[options="nowrap", subs="+quotes,verbatim,attributes"] +---- +# runuser -l postgres -c \ +"psql -d foreman -c \"UPDATE pg_extension SET extowner = (SELECT oid FROM pg_authid WHERE rolname='foreman') WHERE extname='evr';\"" +---- +endif::[] . If {Project} reaches the new database server via the old name, no further changes are required. Otherwise reconfigure {Project} to use the new name: +