Skip to content

Instantly share code, notes, and snippets.

@mccun934
Last active January 24, 2018 17:48
Show Gist options
  • Save mccun934/424daee4f2edb7c6850fc25ffb6e3346 to your computer and use it in GitHub Desktop.
Save mccun934/424daee4f2edb7c6850fc25ffb6e3346 to your computer and use it in GitHub Desktop.
Upgrade just candlepin
1) stop services:
# katello-service stop
# systemctl start postgresql
2) Upgrade RPMs
# yum update candlepin candlepin-tomcat candlepin-selinux
3) Update the candlepin database:
# CP_DBPASS=`grep jpa.config.hibernate.connection.password /etc/candlepin/candlepin.conf | awk -F= '{print $2}'`
# /usr/share/candlepin/cpdb --update --password $CP_DBPASS
4) restart services:
# katello-service start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment