Skip to main content
Question

bug when update from 24.10.7 to 24.10.8

  • June 21, 2025
  • 6 replies
  • 87 views

Forum|alt.badge.img+7

Linux plateform is AlmaLinux 9.6 

Centreon is to 24.10.7

i try to update to v24.10.8 but some errors coming when is updating 

centreon-web-24.10.8-1.el9.noarch                                                                                                        33/115
Managing users and groups for apache ...
Updating centreon perl configuration files to central mode ...
Managing apache and php fpm configuration and services ...
Warning: The unit file, source configuration file or drop-ins of php-fpm.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Rebuilding Centreon application cache ...
PHP Fatal error: Declaration of Symfony\Component\Config\Definition\FloatNode::validateType(mixed $value) must be compatible with Symfony\Component\Config\Definition\ScalarNode::validateType(mixed $value): void in /usr/share/centreon/vendor/symfony/config/Definition/FloatNode.php on line 26
  • this error is repeated to :
    • centreon-license-manager-24.10.2-1.el9.noarch 
    • centreon-auto-discovery-server-24.10.5-1.el9.noarch  
    • centreon-it-edition-extensions-24.10.5-1.el9.noarch

i restarted the Centreon services & i tried reboot the server too , no web access to Centreon login interface, no update interface too. the web interface remains frozen

 

6 replies

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • June 24, 2025

Hi ​@Jean-Luc may be the packaging try to execute a clean cache of symphony with packages not yet updated.

At the end do you have error when accessing to Centreon? 


Forum|alt.badge.img+7
  • Author
  • Steward **
  • June 24, 2025

Hi laurent, i did have access to centreon web interface.

I have never had this problem before … 

my first version on this server it was 23.04.3 to 23.04.18 or 19 i didn’t remember, after that i upgrade to 24.10.4 to 24.10.7 never problem anymore.


Forum|alt.badge.img+7
  • Author
  • Steward **
  • June 26, 2025

Sorry i was wrong, i would say, i didn’t have access to centreon web interface.

I wrote quickly ...Sorry


Forum|alt.badge.img+7
  • Author
  • Steward **
  • July 4, 2025

i tried today again but i can’t update to 24.10.8 no access to web interface again...


Forum|alt.badge.img+7
  • Author
  • Steward **
  • August 5, 2025

someone can help me, i tried to update centreon minor version to 24.10.9 it’s same problem like 24.10.8…  I didn’t have access centreon web intertace, it stays blocked


Forum|alt.badge.img+7
  • Author
  • Steward **
  • August 25, 2025

So with claude.ai help, i have temporarily fix it the problem. I could update to 24.10.11 but the root of the problem isn’t solved, i tried to update first to 24.10.9 and 24.10.11 i have the same problem everytime. without the dev team help from centreon, I don’t know fix it the problem in deep or maybe i could migrate to another server it will be a solution

so I share you the process for fix it the problem temporarily 

after update with some error, use this cli for update centreon

Compléter l'installation en cours

[~]# sudo rpm –rebuilddb

Arrêter les services

[~]# sudo systemctl stop httpd php-fpm

Réinstaller sans exécuter les scriptlets post-installation

[~]# sudo dnf reinstall centreon-web --setopt=tsflags=noscripts

Correction des fichiers problématiques

[~]# sudo nano /usr/share/centreon/vendor/symfony/config/Definition/FloatNode.php

protected function validateType(mixed $value): void

[~]# sudo nano /usr/share/centreon/vendor/sensio/framework-extra-bundle/src/DependencyInjection/Configuration.php

public function getConfigTreeBuilder(): TreeBuilder

Reconstruire le cache manuellement

[~]# sudo -u apache php /usr/share/centreon/bin/console cache:clear --env=prod --no-debug

Recharger daemon et redémarrer services

[~]# sudo systemctl daemon-reload

[~]# systemctl start php-fpm httpd