Skip to main content

Hello, after a very hard update of a Centron 2.8 to a Centreon v. 24.04.5, it is no longer possible to login on the 24.04.5:
I always get: “An error occurred during authentication”

I tried to update the password in the database, but that didn’t work, in /var/log/centreon-web.log I see:

 bERROR] ECore\Security\Authentication\Application\UseCase\Login\Login:166]: An error occurred during authentication {"trace":"Exception: Provider configuration with name local not found in /usr/share/centreon/src/Core/Security/ProviderConfiguration/Infrastructure/Repository/DbReadConfigurationRepository.php:324\nStack trace:\n#0 /usr/share/centreon/src/Core/Security/ProviderConfiguration/Infrastructure/Repository/DbReadConfigurationRepository.php(97): Core\\Security\\ProviderConfiguration\\Infrastructure\\Repository\\DbReadConfigurationRepository->loadConfigurationByType()\n#1 /usr/share/centreon/src/Core/Security/Authentication/Infrastructure/Provider/ProviderAuthenticationFactory.php(67): Core\\Security\\ProviderConfiguration\\Infrastructure\\Repository\\DbReadConfigurationRepository->getConfigurationByType()\n#2 /usr/share/centreon/src/Core/Security/Authentication/Application/UseCase/Login/Login.php(95): Core\\Security\\Authentication\\Infrastructure\\Provider\\ProviderAuthenticationFactory->create()\n#3 /usr/share/centreon/src/Core/Security/Authentication/Infrastructure/Api/Login/Local/LoginController.php(71): Core\\Security\\Authentication\\Application\\UseCase\\Login\\Login->__invoke()\n#4 /usr/share/centreon/vendor/symfony/http-kernel/HttpKernel.php(181): Core\\Security\\Authentication\\Infrastructure\\Api\\Login\\Local\\LoginController->__invoke()\n#5 /usr/share/centreon/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw()\n#6 /usr/share/centreon/vendor/symfony/http-kernel/Kernel.php(197): Symfony\\Component\\HttpKernel\\HttpKernel->handle()\n#7 /usr/share/centreon/api/index.php(47): Symfony\\Component\\HttpKernel\\Kernel->handle()\n#8 {main}"}

Be the first to reply!

Reply