In Red Hat Satellite 6, satellite-installer command fails with Error running command: /usr/share/candlepin/liquibase.sh
Issue
-
satellite-installer command fails with below error.
/Stage[main]/Candlepin::Database::Postgresql/Cpdb_update[candlepin]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/share/candlepin/cpdb --update --dbhost=localhost --dbport=5432 --database=candlepin --user=candlepin --password=gyxSPxWeHaWzP9e3JK4pEqMpE39AAe4X' returned 1: ########## ERROR ############ 2024-08-01 13:34:01 [ERROR ] [configure] Error running command: /usr/share/candlepin/liquibase.sh --driver=org.postgresql.Driver --classpath=/var/lib/tomcat/webapps/candlepin/WEB-INF/lib/postgresql-42.6.0.redhat-00002.jar:/var/lib/tomcat/webapps/candlepin/WEB-INF/classes/ --changelog-file=db/changelog/changelog-update.xml --url="jdbc:postgresql://localhost:5432/candlepin" --username=$DBUSERNAME --headless=true --password=$DBPASSWORD --log-level=severe update -Dcommunity=False
Environment
- Red Hat Satellite 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.