Hi, on this upgrade I have the error, in the webbrowser:
I think this web-picture is no so interresting like the error in the logfile /var/log/php-fpm/centreon-error.log:
CRITICAL: Too few arguments to function Core\Security\Infrastructure\Repository\DbWriteTokenRepository::__construct(), 1 passed in /var/cache/centreon/symfony/ContainerBVjvxXk/getDbWriteTokenRepositoryService.php on line 20 and exactly 2 expected {"context":"[object] (ArgumentCountError(code: 0): Too few arguments to function Core\\Security\\Infrastructure\\Repository\\DbWriteTokenRepository::__construct(), 1 passed in /var/cache/centreon/symfony/ContainerBVjvxXk/getDbWriteTokenRepositoryService.php on line 20 and exactly 2 expected at /usr/share/centreon/src/Core/Security/Infrastructure/Repository/DbWriteTokenRepository.php:39)"}
CRITICAL: Too few arguments to function Core\Security\Infrastructure\Repository\DbWriteTokenRepository::__construct(), 1 passed in /var/cache/centreon/symfony/ContainerBVjvxXk/getDbWriteTokenRepositoryService.php on line 20 and exactly 2 expected {"context":"[object] (ArgumentCountError(code: 0): Too few arguments to function Core\\Security\\Infrastructure\\Repository\\DbWriteTokenRepository::__construct(), 1 passed in /var/cache/centreon/symfony/ContainerBVjvxXk/getDbWriteTokenRepositoryService.php on line 20 and exactly 2 expected at /usr/share/centreon/src/Core/Security/Infrastructure/Repository/DbWriteTokenRepository.php:39)"}
This error will be logged a few times per hour.
My system:
Centreon is running an a VM, downloaded the original image form centreon on centos. Didn’t change anything in the system before, only yum update a few times. So it is the original php version and everything like centreon builed the vm with 22.04. I have only added much devices, and my IT-100 licence key.
Did anyone have the same system, and got this error and solved it?
Thanks Jan