Logs
PHP error logs
For version using PHP 7.2 or 7.3 on centOs 8 or PHP 8
tail -f /var/log/php-fpm/centreon-error.log
[21-Jun-2022 16:24:33 Europe/Paris] PHP Warning: Trying to access array offset on value of type bool in /usr/share/centreon/www/main.get.php on line 146
[21-Jun-2022 16:24:33 Europe/Paris] PHP Warning: Undefined array key 1 in /usr/share/centreon/www/main.get.php on line 147
[21-Jun-2022 16:24:33 Europe/Paris] PHP Warning: Trying to access array offset on value of type bool in /usr/share/centreon/www/main.get.php on line 149
[21-Jun-2022 16:24:33 Europe/Paris] PHP Warning: Trying to access array offset on value of type bool in /usr/share/centreon/www/main.get.php on line 151
[21-Jun-2022 16:24:42 Europe/Paris] PHP Warning: Trying to access array offset on value of type bool in /usr/share/centreon/www/main.get.php on line 146
[21-Jun-2022 16:24:42 Europe/Paris] PHP Warning: Undefined array key 1 in /usr/share/centreon/www/main.get.php on line 147
[21-Jun-2022 16:24:42 Europe/Paris] PHP Warning: Trying to access array offset on value of type bool in /usr/share/centreon/www/main.get.php on line 149
[21-Jun-2022 16:24:42 Europe/Paris] PHP Warning: Trying to access array offset on value of type bool in /usr/share/centreon/www/main.get.php on line 151
centreon gorgone logs for Centreon >= 20.4 (if needed)
tail -f /var/log/centreon-gorgone/gorgoned.log
[legacycmd] Handling command 'EXTERNALCMD', Target: '1', Parameters: '[1655821258] REMOVE_SVC_ACKNOWLEDGEMENT;srv;Disk-Global'
2022-06-21 16:21:00 - INFO - [engine] Processing external command '[1655821258] REMOVE_SVC_ACKNOWLEDGEMENT;srv;Disk-Global'
The most reveling piece of information I have found in that log file.
Hi @BG_nn6 I am not able to reproduce this on
centreon-web-22.04.0-2.el7.centos.noarch
There is a 22.04 available @ https://download.centreon.com/ to use instead of the 21.04 and then upgrade.
This is the current topology setup if you want to compare with yours:
https://github.com/centreon/centreon/blob/22.04.x/www/install/insertTopology.sql
🤞
Hi,
I am not in a situation where I can reinstall centreon from scratch.
I have tried to delete and reinject Topology.sql, but the issue is still there.
What else could I try ?
Thanks.
I just tried on the lastest OVA (centreon 22.04-el7) and the bug is present.
You can try by installing it(centreon-vbox-vm-22.04-1.el7.ova.zip) and do my step to reproduce.
I believe the issue on GitHub should be reopened.
I see what you mean, I can replicated now. Thank you for your time and patience, I will follow up. I need to talk to the team and let you know.