Foreman 3.0 upgrade breaks hostgroups configroups organizations locations

After upgrade Foreman 2.5 to Foreman 3.0, hostgroups configroups organizations locations are disapeared
Expected outcome:
Keep existing hostgroups configroups organizations locations in Foreman 2.5
Foreman and Proxy versions:
Foreman 3.0.2 / Puppet 6.27.0
Foreman and Proxy plugin versions:

Distribution and version:
Ubuntu 20.04 Focal
Other relevant data:
No errors on upgrade

New issue after upgrade Foreman 2.5 to Foreman 3.X

Puppet classes in ConfigGroups cannot be added or removed. The web interface does not respond when you trying to add or remove puppet classes

To enable existing puppet classes after upgrading we need to do this :

foreman-installer -v --enable-puppet

Upgrading Foreman from 2.X to 3.X is clearly not a good idea: the migration workflow is not robust


This issue concern only Foreman with Ubuntu upgrade.

If you upgrading Ubuntu 18.04 to 20.04 the installer will break your posgresql version. After upgradinf 20.04 postgresql-12 is running and postgresql-10 service is disabled.

There is no errors when you try to upgrade Foreman 3.0 with postgresql-12. I had to remove postgresql-12 and re-enable postgresql-10 service

1 Like