Solved

Collector not upgrading since update to centreon 21.10.5

  • 11 April 2022
  • 6 replies
  • 252 views

Badge +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...
icon

Best answer by Kriko 19 April 2022, 09:10

View original

6 replies

Userlevel 5
Badge +16

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,

Badge +2

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

 

 

Userlevel 5
Badge +16

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):

 

Badge +2

 

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

Userlevel 5
Badge +16

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

Userlevel 5
Badge +16

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.

Reply