Skip to main content
Question

Generating file does not work since update from 24.10 to 25.10

  • December 22, 2025
  • 0 replies
  • 1 view

Forum|alt.badge.img+3

Hello,

When i update Centreon from 24.10 to 25.10.

I had some errors at update : 

 

  Exécution du scriptlet: centreon-web-25.10.2-1.el9.noarch                                                                                                                                                                            21/62
Managing users and groups for apache ...
Updating APP_SECRET in centreon environment files ...
Updating centreon perl configuration files to central mode ...
Managing apache and php fpm configuration and services ...
Rebuilding Centreon application cache ...
PHP Fatal error:  Declaration of Centreon\Application\Normalizer\IconUrlNormalizer::normalize($icon, $format = null, array $context = []) must be compatible with Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize(mixed $data, ?string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null in /usr/share/centreon/src/Centreon/Application/Normalizer/IconUrlNormalizer.php on line 40

  Mise à jour de        : centreon-license-manager-25.10.0-1.el9.noarch                                                                                                                                                                22/62
  Exécution du scriptlet: centreon-license-manager-25.10.0-1.el9.noarch                                                                                                                                                                22/62
PHP Fatal error:  Declaration of Centreon\Application\Normalizer\IconUrlNormalizer::normalize($icon, $format = null, array $context = []) must be compatible with Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize(mixed $data, ?string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null in /usr/share/centreon/src/Centreon/Application/Normalizer/IconUrlNormalizer.php on line 40
attention : %post(centreon-license-manager-25.10.0-1.el9.noarch) scriptlet échoué, état de sortie 255

Error in POSTIN scriptlet in rpm package centreon-license-manager
  Mise à jour de        : centreon-pp-manager-25.10.0-1.el9.noarch                                                                                                                                                                     23/62
  Mise à jour de        : centreon-auto-discovery-server-25.10.0-1.el9.noarch                                                                                                                                                          24/62
  Exécution du scriptlet: centreon-auto-discovery-server-25.10.0-1.el9.noarch                                                                                                                                                          24/62
PHP Fatal error:  Declaration of Centreon\Application\Normalizer\IconUrlNormalizer::normalize($icon, $format = null, array $context = []) must be compatible with Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize(mixed $data, ?string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null in /usr/share/centreon/src/Centreon/Application/Normalizer/IconUrlNormalizer.php on line 40
attention : %post(centreon-auto-discovery-server-25.10.0-1.el9.noarch) scriptlet échoué, état de sortie 255

Error in POSTIN scriptlet in rpm package centreon-auto-discovery-server
  Mise à jour de        : centreon-it-edition-extensions-25.10.0-1.el9.noarch                                                                                                                                                          25/62
  Exécution du scriptlet: centreon-it-edition-extensions-25.10.0-1.el9.noarch                                                                                                                                                          25/62
PHP Fatal error:  Declaration of Centreon\Application\Normalizer\IconUrlNormalizer::normalize($icon, $format = null, array $context = []) must be compatible with Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize(mixed $data, ?string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null in /usr/share/centreon/src/Centreon/Application/Normalizer/IconUrlNormalizer.php on line 40
attention : %post(centreon-it-edition-extensions-25.10.0-1.el9.noarch) scriptlet échoué, état de sortie 255

Error in POSTIN scriptlet in rpm package centreon-it-edition-extensions
  Mise à jour de        : centreon-central-25.10.2-1.el9.noarch                                                                                                                                                                        26/62
  Mise à jour de        : centreon-25.10.2-1.el9.noarch                                                                                                                                                                                27/62
  Mise à jour de        : centreon-broker-selinux-25.10.1-1.el9.x86_64                                                                                                                                                                 28/62
  Exécution du scriptlet: centreon-broker-selinux-25.10.1-1.el9.x86_64                                                                                                                                                                 28/62
  Mise à jour de        : centreon-engine-selinux-25.10.1-1.el9.x86_64                                                                                                                                                                 29/62
  Exécution du scriptlet: centreon-engine-selinux-25.10.1-1.el9.x86_64                                                                                                                                                                 29/62
  Mise à jour de        : centreon-web-selinux-25.10.2-1.el9.noarch                                                                                                                                                                    30/62
  Exécution du scriptlet: centreon-web-selinux-25.10.2-1.el9.noarch                                                                                                                                                                    30/62
Updating centreon-web selinux rules …

 

After reboot, all seems to work but  i can t generate new files

 

EDIT : 

In /var/cache/centreon/config/engine, my files are generated in tmp_dir.

When i relaunch, it generate other files.

 

Can you help me ?

 

 

Regards.