Plus de journaux d'évènements sur hôtes et services depuis MAJ 22.04.7
Bonjour,
Depuis une mise à jour de ce matin, je n’ai plus aucune remontée de journaux d’évènement ou de logs pour mes hôtes/sondes…
Je ne sais pas ce qui bloque. J’ai un message d’erreur que voici :
Symfony\Component\HttpFoundation\Response::__construct(): Argument #2 ($status) must be of type int, string given, called in /usr/share/centreon/src/EventSubscriber/CentreonEventSubscriber.php on line 422
Also, can you clear your Symfony cache for good measure
su - apache -s /bin/bash -c "/usr/share/centreon/bin/console cache:clear"
Good morning !
Sorry for the absence...
I just updated to ne 22.04.2 and I still get the same message when I look for my service history...
I despair.
I'm trying to understand the error message but I don't see why the returned value is not an int. Nothing change on Centreon.
Best regards.
Hello,
Here are the error code when i try to see history :
{"code":500,"message":"Symfony\\Component\\HttpFoundation\\Response::__construct(): Argument #2 ($status) must be of type int, string given, called in \/usr\/share\/centreon\/src\/EventSubscriber\/CentreonEventSubscriber.php on line 421"}
If i try to force value into int, here is the new message :
{"code":404,"message":"Service 91 de l'h\u00f4te 430 non trouv\u00e9"}