Skip to main content

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

Je vous joins une capture d’écran également.

 

D’avance merci !

 

Florian.

 

👋

 

@Florian VAC, did you follow this for the update?

 

https://docs.centreon.com/docs/22.04/update/update-centreon-platform/#update-the-centreon-central-server

 

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"}

 

Modification with intval

 


Hi, can you confirm you are using MariaDB 10.5.x

https://docs.centreon.com/docs/22.04/installation/prerequisites/#dbms


Hello, 

 

Yes, i’m using MariaDB 10.5.18.

 

This bug appear with no reasons… 

 

Regards.


Reply