I tried to upgrade form Foreman 1.14 to 1.15 on a Centos7 virtual-machine following the upgrade instructions. In “Step 2 (A) - Fedora or RHEL package (RPM) and installer setups” I got some errors while “yum upgrade tfm* ruby* foreman*”. Errors are unfortunately in german, but they are all like “rubygem(rails) >= 3.2.0” is required for rubygem-webpack-rails-0.9.8-1.fc24.noarch. (around 15 of similar errors with different rubygems and different packages).
base/7/x86_64 CentOS-7 - Base
centos-sclo-rh/x86_64 CentOS-7 - SCLo rh
centos-sclo-sclo/x86_64 CentOS-7 - SCLo sclo
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 (epel-release-7-11.noarch)
extras/7/x86_64 CentOS-7 - Extras
foreman/x86_64 Foreman 1.15
foreman-plugins/x86_64 Foreman plugins 1.15
puppetlabs-pc1/x86_64 Puppet Labs PC1 Repository el 7 - x86_64
updates/7/x86_64 CentOS-7 - Updates
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Other relevant data:
we have installed the plugin “hooks”
I installed the rubygems with “gem install …”, but that has not helped. Also an upgrade to ruby2.2 was not helpful.
In a step before upgrading foreman, it was recommended to use “dnf upgrade https://yum.theforeman.org/releases/1.15/f24/x86_64/foreman-release.rpm” instead of yum, although Centos7 doesnt support dnf (anymore, due to some security issue or something?). I used dnf (downloaded as rpm from springdale.math.ias.edu) anyway.
I am looking for a solution for 2 days now, so any help is highly welcome.