Foreman Upgrade from 1.23.2 to Present stable version

Problem: To upgrade from 1.23.2

Expected outcome: successfull upgrade to present stable version

Foreman and Proxy versions: 1.23.2

**Foreman and Proxy plugin versions:**1.23.2

Distribution and version: Centos 7.9, RHEL 8.1

Other relevant data: To go from 1.23 to 3.* i have to go sequentially 1.23.2-> 2.0 → 2.1 → 2.2 → 2.3 etc
Can i just use the existing server which i have for 1.23.2 or i need to build a new VM for the upgrade?


Yes, you can use the same system and sequentially upgrade. I did this several times including operating system upgrades on the correct versions and it usually works fine.

If you system is pretty standard, with all the version changes a re-installation and dump/restore is also an option, but I am not sure if it will be faster. If you configured many things manually in Foreman, I would always upgrade if you are not planing to introduce bigger changes like removing unused plugins.

The docs work for sure. I am currently doing upgrades from 2.0 to 3.4 with Ubuntu 18 / 20 upgrade in 3.0. Right now I am at 3.2.

Not sure if relevant in RedHat, but I had issues after upgrading the OS. See here for reference: Foreman does not start after OS upgrade - #3 by mfuhrmann

Nope, this was a Debian/Ubuntu specific issue you’ve found there :slight_smile:

1 Like