Took the plunge and upgraded Foreman/Katello 3.2/4.4 to 3.3/4.5 on AlmaLinux 8.6 today and all went well. Just a few things I noticed and did compared to the documentation.
I ran this on both Foreman and Proxies:
dnf -y module enable foreman katello pulpcore
On Foreman server I just went:
dnf -y install https://yum.theforeman.org/releases/3.3/el8/x86_64/foreman-release.rpm
dnf -y install https://yum.theforeman.org/katello/4.5/katello/el8/x86_64/katello-repos-latest.rpm
dnf clean all
dnf -y update
foreman-maintain service stop
foreman-installer
reboot
Since my Proxies run offline using repos from Foreman, I started by adding new RPM-GPG-KEY keys for Foreman 3.3/Katello 4.5 and Pulpcore to Foreman and then create new repos for:
I do the update on my proxies usually the same way as the main server, i.e. update, stop services, run foreman-installer. Then everything is up again…
For updates you run foreman-installer without any options after updating the rpms, just like I wrote in the first post and also stated in the documentation.
I would recommend to always follow the “full update” instructions, even for minor version updates. There have been some minor updates which required database updates. Easiest way to do those is to run foreman-installer.
# dnf -y update
# foreman-maintain service stop
# foreman-installer
After that, everything should be up-to-date and running again.