Hello, I’m an intern in a company and i need to upgrade Centreon from 21.10.5 to 23.10.6
So 1st thing I need to say is that I’m on a copy of the production server ( I am on a copy of the main server so as not to do anything wrong with the main server)
i followed all the steps on the official documentation from Centreon and i have a problem : i can’t display hosts on the 23.10.6 version of Centreon (but it was OK before the upgrade). i have this error in /var/log/centreon/centreon-web.log :
<2024-01-23T10:53:13+0100] +ERROR] ECore\Resources\Application\UseCase\FindResourcesByParent\FindResourcesByParent:127]: Warning: Undefined array key "metrics" {"trace":"#0 /usr/share/centreon/src/Core/Resources/Infrastructure/API/FindResourcesByParent/FindResourcesByParentPresenter.php(67): Core\\Resources\\Infrastructure\\API\\FindResourcesByParent\\FindResourcesByParentPresenter->createResourceFromResponse()\n#1 /usr/share/centreon/src/Core/Resources/Application/UseCase/FindResourcesByParent/FindResourcesByParent.php(123): Core\\Resources\\Infrastructure\\API\\FindResourcesByParent\\FindResourcesByParentPresenter->presentResponse()\n#2 /usr/share/centreon/src/Core/Resources/Infrastructure/API/FindResourcesByParent/FindResourcesByParentController.php(61): Core\\Resources\\Application\\UseCase\\FindResourcesByParent\\FindResourcesByParent->__invoke()\n#3 /usr/share/centreon/vendor/symfony/http-kernel/HttpKernel.php(163): Core\\Resources\\Infrastructure\\API\\FindResourcesByParent\\FindResourcesByParentController->__invoke()\n#4 /usr/share/centreon/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw()\n#5 /usr/share/centreon/vendor/symfony/http-kernel/Kernel.php(202): Symfony\\Component\\HttpKernel\\HttpKernel->handle()\n#6 /usr/share/centreon/api/index.php(47): Symfony\\Component\\HttpKernel\\Kernel->handle()\n#7 {main}"}
All my table are good (resources and hosts tables are filled correctly) I can display services on resource status and see my hosts in Configuration > Hosts > Hosts but i can’t see them in resource status and when I’m reloading the page I get this : Error while searching for resources
I restarted all services many times and it does nothing
I’m on Alma Linux 8