Leapp preupgrade of Red Hat Satellite 6 fails on Old PostgreSQL data found in /var/lib/pgsql/data
Issue
- Having Satellite 6 which has been gradually upgraded from 6.7 via all versions till Satellite 6.11.
- Trying to upgrade the underlying RHEL from 7 to 8.
leapp preupgrade
complains about "Old PostgreSQL data found in /var/lib/pgsql/data".- Is it safe to remove whole directory content?
-
Leapp Upgrade on client from RHEL 7.9 to RHEL 8.6 is failing with bellow error of Satellite PostgreSQL data migration :
Risk Factor: high (inhibitor) Title: Satellite PostgreSQL data migration Summary: Your PostgreSQL data in /var/opt/rh/rh-postgresql12/lib/pgsql/data/ is currently on a dedicated volume. PostgreSQL on RHEL8 expects the data to live in /var/lib/pgsql/data. You currently don't have enough free storage to move the data. Automatic moving cannot be performed. However, instead of moving the data over, you might want to consider manually adapting your mounts, so that the contents of /var/opt/rh/rh-postgresql12/lib/pgsql/data/ are available in /var/lib/pgsql/data. After the data has been moved to the new location, all databases will require a REINDEX. This will happen automatically during the first boot of the system. Key: 73b763edc6174e956a242f9e8a81fbd9a2eaac1d
Environment
- Red Hat Satellite 6
- Red Hat Enterprise Linux 7 (being upgraded to 8)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.