Open R-Sommer opened 1 year ago
Fresh installation on Debian 11 fails with
This error should not happen.
File permissions are ok:
ls -l -d /etc/icingaweb2/ /var/lib/icingaweb2/ drwxrws--- 4 root icingaweb2 4096 Mar 8 13:10 /etc/icingaweb2/ drwxrws--- 2 root icingaweb2 4096 Jan 26 15:11 /var/lib/icingaweb2/
Apache runs as user www-data, hence, group assignment is ok:
grep www /etc/group www-data:x:33: icingaweb2:x:996:www-data
The only thing missing is to restart apache2
Add systemctl restart apache to postinst or a comment to restart apache2 at the end of the installation
systemctl restart apache
icinga2 --version
icingadb --version
php --version
Describe the bug
Fresh installation on Debian 11 fails with![image](https://user-images.githubusercontent.com/10089355/223723918-af29bbfb-eda2-4ce9-8cfd-da065e2edf7a.png)
To Reproduce
Expected behavior
This error should not happen.
Root cause
File permissions are ok:
Apache runs as user www-data, hence, group assignment is ok:
The only thing missing is to restart apache2
Solution
Add
systemctl restart apache
to postinst or a comment to restart apache2 at the end of the installationYour Environment
icinga2 --version
): r2.13.7-1icingadb --version
): v1.1.0php --version
): 7.4.33