… guess this has been asked before but I could not find a solution…
I try to install the latest version of icinga according to “https://www.howtoforge.com/how-to-install-icinga-2-monitoring-on-ubuntu-20-04/”.
However, when I start the web routine in the browser on the page
I get the error code:
Konnte Token nicht validieren: /etc/icingaweb2/setup.token (FileObject::__construct(/etc/icingaweb2/setup.token): failed to open stream: Permission denied)
So obviuously there is a read prob. In the logs I could see:
Oct 11 17:37:36 collab icingaweb2: Icinga\Exception\IcingaException in /usr/share/php/Icinga/Application/ApplicationBootstrap.php:449 with message: Cannot load enabled modules. An exception was thrown: ← Icinga\Exception\NotReadableError in /usr/share/php/Icinga/Application/Modules/Manager.php:122 with message: Cannot read enabled modules. Config directory “/etc/icingaweb2” is not readable
Then I added the www-data -User to the group icingaweb2 but without success. We use different php - versions for different virtual hosts (php-fpm). PHP 7.3 is set for the icinga site. The virtual host for the icinga site is run by different user “monitoring” That user is also in the group icingaweb2.
Can you get me started here ?