Describe the bug
Fresh installation on Debian 11 fails with

To Reproduce
- apt install icingadb-web
- icingacli setup token create
- open http:///icingaweb2/setup and follow steps until this error appears
Expected behavior
This error should not happen.
Root cause
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
Solution
Add systemctl restart apache to postinst or a comment to restart apache2 at the end of the installation
Your Environment
- Icinga DB Web version (System - About): 2.11.4
- Web browser: Google Chrome Version 110.0.5481.178 (Official Build) (64-bit)
- Icinga 2 version (
icinga2 --version): r2.13.7-1
- Icinga DB version (
icingadb --version): v1.1.0
- PHP version used (
php --version): 7.4.33
- Server operating system and version: Debian 11
Describe the bug
Fresh installation on Debian 11 fails with

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 apacheto 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