Hi everyone,
I’m runing Centreon 22.10.23 on Centos 7, and migrating to Debian 12 following this doc (https://eu-central-1.protection.sophos.com?d=centreon.com&u=aHR0cHM6Ly9kb2NzLmNlbnRyZW9uLmNvbS9kb2NzL21pZ3JhdGUvbWlncmF0ZS1mcm9tLWVsLXRvLWRlYmlhbi8=&p=m&i=NjUxYjE0ZGYxYzYxZDgxNTllOTFmOGEz&t=RnNobXpOMERrRlhWcmc5MTJiR1Zjcmh4c2tmdVFicFA2c3dRL202RkpJRT0=&h=88fcea6c9b85405b8eb764d52b9d3a03&s=AVNPUEhUT0NFTkNSWVBUSVYWn6ZWBeZKPjNzkzQdWhFdbGNZl4fRoI54YpLY0mFdhQ).
The new server work fine until the Maria DB import steps… after that, I get auhtentication error "Error while searching authentication tokens" + "Error while searching for the widgets version of the Centreon platform"). Did you get also this errors ? any idea ??? :-S
Thank you in advance,
Best regards
See below my log file. :
/var/log/centreon/login.log:
2024-08-06 11:33:35|38|0|0|[local] [127.0.0.1] Authentication succeeded for 'centreon-gorgone'
2024-08-06 11:33:43|21|0|0|[local] [172.23.7.38] Authentication succeeded for 'XXXX'
-------------------
/var/log/centreon/centreon-web.log:
[2024-08-06T11:33:43+0200] [ERROR] [Core\Security\Authentication\Application\UseCase\Login\Login:166]: An error occurred during authentication {"trace":"PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'sat.is_revoked' in 'where clause' in /usr/share/centreon/src/Core/Security/Authentication/Infrastructure/Repository/DbReadTokenRepositoryInterface.php:75\nStack trace:\n#0 /usr/share/centreon/src/Core/Security/Authentication/Infrastructure/Repository/DbReadTokenRepositoryInterface.php(75): PDOStatement->execute()\n#1 /usr/share/centreon/src/Core/Security/Authentication/Infrastructure/Repository/DbReadTokenRepositoryInterface.php(120): Core\\Security\\Authentication\\Infrastructure\\Repository\\DbReadTokenRepositoryInterface->findAuthenticationTokensByToken()\n#2 /usr/share/centreon/src/Core/Security/Authentication/Application/UseCase/Login/Login.php(112): Core\\Security\\Authentication\\Infrastructure\\Repository\\DbReadTokenRepositoryInterface->hasAuthenticationTokensByToken()\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}"}
~
-------------------
/var/log/centreon/sql-error.log
empty
-------------------
/var/log/centreon/centAcl.log
empty
-------------------
/var/log/centreon-gorgone/gorgoned.log
2024-08-06 11:33:32 - ERROR - [core] Package 'gorgone::modules::core::action::hooks' already loaded
2024-08-06 11:33:35 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - request error [code: '500'] [message: 'Error while searching for the widgets version of the Centreon platform']
2024-08-06 11:34:34 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - request error [code: '500'] [message: 'Error while searching for the widgets version of the Centreon platform']
2024-08-06 11:35:34 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - request error [code: '500'] [message: 'Error while searching for the widgets version of the Centreon platform']
2024-08-06 11:36:34 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - request error [code: '500'] [message: 'Error while searching for the widgets version of the Centreon platform']
2024-08-06 11:37:34 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - request error [code: '500'] [message: 'Error while searching for the widgets version of the Centreon platform']
~
vi /var/log/apache2/error.log
[Tue Aug 06 11:38:34.518668 2024] [proxy_fcgi:error] [pid 1582:tid 1582] [client 127.0.0.1:57356] AH01071: Got error 'PHP message: [2024-08-06T11:38:34+0200] [CRITICAL] Error while searching for the widgets version of the Centreon platform {"context":"[object] (Centreon\\\\Domain\\\\Platform\\\\PlatformException(code: 0): Error while searching for the widgets version of the Centreon platform at /usr/share/centreon/src/Centreon/Domain/Platform/PlatformService.php:81)"}\n'
[Tue Aug 06 11:39:34.522561 2024] [proxy_fcgi:error] [pid 821:tid 821] [client 127.0.0.1:51760] AH01071: Got error 'PHP message: [2024-08-06T11:39:34+0200] [CRITICAL] Error while searching for the widgets version of the Centreon platform {"context":"[object] (Centreon\\\\Domain\\\\Platform\\\\PlatformException(code: 0): Error while searching for the widgets version of the Centreon platform at /usr/share/centreon/src/Centreon/Domain/Platform/PlatformService.php:81)"}\n'



