Skip to main content
Question

Plus de journaux d'évènements sur hôtes et services depuis MAJ 22.04.7

  • December 5, 2022
  • 5 replies
  • 213 views

Forum|alt.badge.img+3

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.

 

5 replies

ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • December 7, 2022

👋

 

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

 

🐱‍👤


Forum|alt.badge.img+3
  • Author
  • Steward **
  • December 20, 2022

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.


Forum|alt.badge.img+3
  • Author
  • Steward **
  • December 20, 2022

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

 


ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • January 11, 2023

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

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


Forum|alt.badge.img+3
  • Author
  • Steward **
  • January 12, 2023

Hello, 

 

Yes, i’m using MariaDB 10.5.18.

 

This bug appear with no reasons… 

 

Regards.