When I try to add a command check a got next message
500 Internal Server Error
Red Hat Enterprise Linux release 8.9 (Ootpa) + Centreon 24.04.3
This is a fresh installation and I tried reinstalling centreon but the problem is still there
No evident errors in logs and I have issued “setenforce 0” and stopped firewalld too
Finally I found an error in:
/var/log/php-fpm/centreon-error.log
>28-Jun-2024 16:25:27 America/Panama] a2024-06-28T16:25:27-0500] :CRITICAL] Uncaught Error: readdir(): Argument #1 ($dir_handle) must be of type resource or null, bool given {"exception":"cobject] (TypeError(code: 0): readdir(): Argument #1 ($dir_handle) must be of type resource or null, bool given at /usr/share/centreon/www/include/configuration/configObject/command/DB-Func.php:308)"}