Skip to main content
Solved

Collector not upgrading since update to centreon 21.10.5

  • April 11, 2022
  • 6 replies
  • 301 views

Forum|alt.badge.img+2

Hello, I’ve upgraded my centreon from 20.10.4 to 21.10.5 recently,

Everything seems to work (alerts are OK when a host is down) but when I try to “export the central poller config” (when I make a modification, like changing an IP or something) : it's stuck at 0%

Any idea?

Progression (0%)
 
Préparation de l'environnement... OK
Génération des fichiers...

Best answer by Kriko

So we get a 500 error on the generatesFiles.php caused by 4 host templates disabled on activated host.

It’s known issue of the 21.10.

Re-enabled the disabled templates fix the issue.

6 replies

Forum|alt.badge.img+16
  • Steward **
  • April 12, 2022

Hello @Mercure ,

Did you try in private navigation ?

Do you any error in the web console of your browser or in /var/log/php-fpm/centreon-error.log ?

 

regards,


Forum|alt.badge.img+2
  • Author
  • Steward *
  • April 12, 2022

Hello @Mercure ,

Did you try in private navigation ?

Do you any error in the web console of your browser or in /var/log/php-fpm/centreon-error.log ?

 

regards,

 

Hello,

Thanks for your answer,

I tried in private navigation (and cleared the web cache of my browsers), still at 0%

I don’t have any eror in the web interface

In /var/log/php-fpm/centreon-error.log I see a lot of warnings but dunno if it has something to do with that :

[11-Apr-2022 15:41:57 Europe/Paris] WARNING: Warning: Trying to access array offset on value of type bool {"exception":"[object] (ErrorException(code: 0): Warning: Trying to access array offset on value of type bool at /usr/share/centreon/src/Centreon/Infrastructure/ServiceConfiguration/ServiceConfigurationRepositoryRDB.php:298)"}

 

 


Forum|alt.badge.img+16
  • Steward **
  • April 13, 2022

Weird that you get nothing in the log :(

 

Could you double check the web console and specifically the call on generateFiles.php (see my screenshot below):

 


Forum|alt.badge.img+2
  • Author
  • Steward *
  • April 13, 2022

 

Well I don’t see any .php files in this tab, am I doing something wrong, aha?


Forum|alt.badge.img+16
  • Steward **
  • April 14, 2022

And if you scroll down in the list you get nothing 😣


Forum|alt.badge.img+16
  • Steward **
  • Answer
  • April 19, 2022

So we get a 500 error on the generatesFiles.php caused by 4 host templates disabled on activated host.

It’s known issue of the 21.10.

Re-enabled the disabled templates fix the issue.