Rocky Linux 8
Installing Foreman 3.4 with Katello 4.6
Installer options:
foreman-installer --scenario katello \
--tuning default \
--enable-foreman \
--enable-foreman-cli \
--enable-foreman-cli-ansible \
--enable-foreman-cli-discovery \
--enable-foreman-cli-katello \
--enable-foreman-cli-openscap \
--enable-foreman-cli-remote-execution \
--enable-foreman-cli-tasks \
--enable-foreman-cli-templates \
--enable-foreman-cli-webhooks \
--enable-foreman-compute-ec2 \
--enable-foreman-compute-vmware \
--enable-foreman-plugin-ansible \
--enable-foreman-plugin-column-view \
--enable-foreman-plugin-dhcp-browser \
--enable-foreman-plugin-discovery \
--enable-foreman-plugin-git-templates \
--enable-foreman-plugin-hooks \
--enable-foreman-plugin-openscap \
--enable-foreman-plugin-remote-execution \
--enable-foreman-plugin-rescue \
--enable-foreman-plugin-scc-manager \
--enable-foreman-plugin-setup \
--enable-foreman-plugin-statistics \
--enable-foreman-plugin-tasks \
--enable-foreman-plugin-templates \
--enable-foreman-plugin-vault \
--enable-foreman-plugin-webhooks \
--enable-foreman-proxy \
--enable-foreman-proxy-content \
--enable-foreman-proxy-plugin-ansible \
--enable-foreman-proxy-plugin-discovery \
--enable-foreman-proxy-plugin-openscap \
--enable-foreman-proxy-plugin-remote-execution-script \
--enable-foreman-proxy-plugin-shellhooks \
--enable-katello
Getting this error:
2022-10-03 14:21:26 [DEBUG ] [configure] Executing with uid=foreman: '/usr/sbin/foreman-rake db:abort_if_pending_migrations'
2022-10-03 14:21:37 [DEBUG ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/unless: Rubocop not loaded.
2022-10-03 14:21:37 [DEBUG ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/unless: Rubocop not loaded.
2022-10-03 14:21:37 [DEBUG ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/unless: rake aborted!
2022-10-03 14:21:37 [DEBUG ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/unless: ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "hosts" does not exist
2022-10-03 14:21:37 [DEBUG ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/unless: LINE 8: WHERE a.attrelid = '"hosts"'::regclass
Anyone have any ideas?