View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001365 | bareos-core | webui | public | 2021-06-23 02:11 | 2021-07-30 10:53 |
Reporter | grizly | Assigned To | frank | ||
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | acknowledged | Resolution | open | ||
Platform | Linux | OS | Ubuntu | OS Version | Ubuntu 18.04.5 L |
Product Version | 19.2.10 | ||||
Summary | 0001365: apt postinstall is activating | ||||
Description | Essentially https://github.com/bareos/bareos-webui/blob/890997a2f6c836beaa7a36160c1e1e737b66df1e/debian/postinst#L4 caused a minor outage this morning. We run php7.2, which works fine for bareos-webui, however after apt-update ran this morning the postinst script activated php5.. which is not installed. So, not sure how it did that, but it did. /etc/apache2/mods-enabled/php5.load and /etc/apache2/mods-enabled/php5.conf were created and as the packages weren't installed, it prevented apache2 from restarting. Deleting those two erroneous files allowed apache2 to restart and work just fine. | ||||
Steps To Reproduce | install apache2 and php7-fpm install bareos-webui check apache2 | ||||
Additional Information | From term.log Setting up bareos-webui (19.2.7-2) ... Installing new version of config file /etc/bareos-webui/configuration.ini ... /usr/sbin/a2enmod Module rewrite already enabled /usr/sbin/a2enmod Module rewrite already enabled Enabling module php5. To activate the new configuration, you need to run: systemctl restart apache2 /usr/sbin/a2enconf Conf bareos-webui already enabled ... Jun 23 06:56:06 server-name systemd[1]: Starting The Apache HTTP Server... Jun 23 06:56:06 server-name apachectl[21560]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory Jun 23 06:56:06 server-name apachectl[21560]: Action 'start' failed. Jun 23 06:56:06 server-name apachectl[21560]: The Apache error log may have more information. Jun 23 06:56:06 server-name systemd[1]: apache2.service: Control process exited, code=exited status=1 Jun 23 06:56:06 server-name systemd[1]: apache2.service: Failed with result 'exit-code'. Jun 23 06:56:06 server-name systemd[1]: Failed to start The Apache HTTP Server. | ||||
Tags | No tags attached. | ||||