Icingaweb2 debian monitoring module problem

Hello,
I have got problem with icingaweb2 after migrating to debian. Log still tell me this:
2024-08-13T14:19:14+00:00 - WARNING - Found invalid module in enabledModule directory “/etc/icingaweb2/enabledModules”: “/etc/icingaweb2/enabledModules/monitoring” is not a symlink
BUT:
root@icinga2-debian:/etc/icingaweb2/enabledModules# ls -lah
celkem 8,0K
drw-r-S— 2 www-data icingaweb2 4,0K 13. srp 16.13 .
drwxr-s— 4 www-data icingaweb2 4,0K 13. srp 16.11 …
lrwxrwxrwx 1 root icingaweb2 40 13. srp 16.13 monitoring → /usr/share/icingaweb2/modules/monitoring

I know that there where some changes in packaging that icngaweb monitoring is now the containt of icingaweb2 package, but I don’t think it is in the relation with this problem.
Thank you for any response.
Jednoprsák

  • Icinga Web 2 version v2.12.1

  • Used modules and their versions: monitoring

  • Web browser used - firefox 115.14.0esr

  • PHP version used: 8.2

  • Server operating system debian bookworm

These permissions are wrong (the 3 periods as well). You might try

chmod 2770 /etc/icingaweb2
chmod 2770 /etc/icingaweb2/enabledModules

Thank you for your reply. I finaly solved it by purging and reinstalling icingaweb2 package.