Since fixes got released only for the very current Foreman Version, here a little manual, how i managed to successfully update from 1.19 to 1.20:
Every occurence of “dashboard_address” (or “puppetdb_dashboard_address”) needs to be completely removed here:
- /etc/foreman-installer/scenarios.d/foreman-answers.yaml
- /usr/share/foreman-installer/parser_cache/foreman.yaml
- /usr/share/foreman-installer/modules/foreman/manifests/plugin/puppetdb.pp
- /usr/share/foreman-installer/modules/foreman/manifests/plugin/puppetdb/params.pp
Important: Not only remove the affected line, but also a block which the line starts
Also very important: In the puppet manifests the documentation part with dashboard must also be removed, because the installer checks it!
Wit the changed manifests the cache is outdated, so the installer needs to check the modules again, but fails to do so, if puppet-strings is not installed, so install it with puppet’s gem:
/opt/puppetlabs/bin/puppet/bin/gem install yard
/opt/puppetlabs/bin/puppet/bin/gem install puppet-strings
Now you can successfully run foreman-installer and continue with the update process as usual.
Have fun! 