Problem:
While upgrading from 3.2 to 3.3 using the foreman installer failed the first time in a row of 8 updates. I think this is a good quote, but of course not wanted.
Expected outcome: No errors I would like to solve the issue to get it running again, but also check if there is a bug in the update procedure. @evgeni
Foreman and Proxy versions: 3.2
Foreman and Proxy plugin versions: 3.2
Distribution and version:
Ubuntu 20.04 LTS
Other relevant data:
[11:24]root@rmvm069:~# foreman-installer --foreman-proxy-dhcp true --foreman-proxy-dns true --enable-foreman-plugin-remote-execution
2022-10-21 11:25:23 [NOTICE] [root] Loading installer configuration. This will take some time.
2022-10-21 11:25:33 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2022-10-21 11:25:33 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2022-10-21 11:25:36 [NOTICE] [configure] Starting system configuration.
2022-10-21 11:25:52 [NOTICE] [configure] 250 configuration steps out of 1462 steps complete.
2022-10-21 11:25:53 [NOTICE] [configure] 500 configuration steps out of 1464 steps complete.
2022-10-21 11:25:53 [NOTICE] [configure] 750 configuration steps out of 1475 steps complete.
2022-10-21 11:25:54 [NOTICE] [configure] 1000 configuration steps out of 1641 steps complete.
2022-10-21 11:26:33 [ERROR ] [configure] Systemd start for apache2 failed!
2022-10-21 11:26:33 [ERROR ] [configure] journalctl log for apache2:
2022-10-21 11:26:33 [ERROR ] [configure] -- Logs begin at Fri 2022-08-05 10:55:01 UTC, end at Fri 2022-10-21 11:26:33 UTC. --
2022-10-21 11:26:33 [ERROR ] [configure] Oct 21 11:26:33 rmvm069 systemd[1]: Starting The Apache HTTP Server...
2022-10-21 11:26:33 [ERROR ] [configure] Oct 21 11:26:33 rmvm069 apachectl[354833]: [Fri Oct 21 11:26:33.071162 2022] [so:warn] [pid 354833:tid 140394669222976] AH01574: module passenger_module is already loaded, skipping
2022-10-21 11:26:33 [ERROR ] [configure] Oct 21 11:26:33 rmvm069 apachectl[354833]: AH00534: apache2: Configuration error: More than one MPM loaded.
2022-10-21 11:26:33 [ERROR ] [configure] Oct 21 11:26:33 rmvm069 apachectl[354825]: Action 'start' failed.
2022-10-21 11:26:33 [ERROR ] [configure] Oct 21 11:26:33 rmvm069 apachectl[354825]: The Apache error log may have more information.
2022-10-21 11:26:33 [ERROR ] [configure] Oct 21 11:26:33 rmvm069 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
2022-10-21 11:26:33 [ERROR ] [configure] Oct 21 11:26:33 rmvm069 systemd[1]: apache2.service: Failed with result 'exit-code'.
2022-10-21 11:26:33 [ERROR ] [configure] Oct 21 11:26:33 rmvm069 systemd[1]: Failed to start The Apache HTTP Server.
2022-10-21 11:26:33 [ERROR ] [configure] /Stage[main]/Apache::Service/Service[httpd]/ensure: change from 'stopped' to 'running' failed: Systemd start for apache2 failed!
2022-10-21 11:26:33 [ERROR ] [configure] journalctl log for apache2:
2022-10-21 11:26:33 [ERROR ] [configure] -- Logs begin at Fri 2022-08-05 10:55:01 UTC, end at Fri 2022-10-21 11:26:33 UTC. --
2022-10-21 11:26:33 [ERROR ] [configure] Oct 21 11:26:33 rmvm069 systemd[1]: Starting The Apache HTTP Server...
2022-10-21 11:26:33 [ERROR ] [configure] Oct 21 11:26:33 rmvm069 apachectl[354833]: [Fri Oct 21 11:26:33.071162 2022] [so:warn] [pid 354833:tid 140394669222976] AH01574: module passenger_module is already loaded, skipping
2022-10-21 11:26:33 [ERROR ] [configure] Oct 21 11:26:33 rmvm069 apachectl[354833]: AH00534: apache2: Configuration error: More than one MPM loaded.
2022-10-21 11:26:33 [ERROR ] [configure] Oct 21 11:26:33 rmvm069 apachectl[354825]: Action 'start' failed.
2022-10-21 11:26:33 [ERROR ] [configure] Oct 21 11:26:33 rmvm069 apachectl[354825]: The Apache error log may have more information.
2022-10-21 11:26:33 [ERROR ] [configure] Oct 21 11:26:33 rmvm069 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
2022-10-21 11:26:33 [ERROR ] [configure] Oct 21 11:26:33 rmvm069 systemd[1]: apache2.service: Failed with result 'exit-code'.
2022-10-21 11:26:33 [ERROR ] [configure] Oct 21 11:26:33 rmvm069 systemd[1]: Failed to start The Apache HTTP Server.
2022-10-21 11:26:33 [NOTICE] [configure] 1250 configuration steps out of 1641 steps complete.
2022-10-21 11:26:34 [NOTICE] [configure] 1500 configuration steps out of 1852 steps complete.
2022-10-21 11:27:00 [NOTICE] [configure] 1750 configuration steps out of 1864 steps complete.
2022-10-21 11:27:07 [NOTICE] [configure] System configuration has finished.
There were errors detected during install.
Please address the errors and re-run the installer to ensure the system is properly configured.
Failing to do so is likely to result in broken functionality.
If you are just performing an update, it looks a little strange you also include other parameters to foreman-installer at the same time. I personally always use only these commands after an package update:
foreman-maintain service stop && foreman-installer