Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fresh installation of icingadb-web fails on Debian 11 #286

Open
R-Sommer opened this issue Mar 8, 2023 · 0 comments
Open

Fresh installation of icingadb-web fails on Debian 11 #286

R-Sommer opened this issue Mar 8, 2023 · 0 comments

Comments

@R-Sommer
Copy link

R-Sommer commented Mar 8, 2023

Describe the bug

Fresh installation on Debian 11 fails with
image

To Reproduce

  1. apt install icingadb-web
  2. icingacli setup token create
  3. 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
@nilmerg nilmerg transferred this issue from Icinga/icingadb-web May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant