-
Notifications
You must be signed in to change notification settings - Fork 240
Problem after migration 19.10.0 rc 1 to 19.10.1 #8020
Comments
Hi @mickaeldecastro , The Centreon 19.10.0-beta.3 added new fields in 'nagios_server' table: https://github.com/centreon/centreon/blob/f77a0a5036b9a685d2550ef066abbe4d4f8426d0/www/install/php/Update-19.10.0-beta.3.php#L155 Did you get SQL errors in /var/log/centreon/sql-error.log during update process? Regards, |
Hi @lpinsivy Thanks for you reply.
14-Oct-2019 09:08:59 Europe/Paris] PHP Notice: Undefined variable: l_rndcolor in /usr/share/centreon/www/class/centreonGraphNg.class.php on line 1119
|
I update database manually referring to the commit and it seems ok now for the field missing. I alway have the sh error with debug option. |
Should be fixed |
BUG REPORT INFORMATION
Prerequisites
Versions
Centreon 19.10.1
For the deb based systems
-- Copy/Paste the result of the following command --
Operating System
CentOS 7.7
Additional environment details (AWS, VirtualBox, physical, etc.):
Description
After the migration from 19.10.0-rc.1 tp 19.10.1 I have 2 errors when I want to export configuration to a poller.
When I have Run monitoring engine debug (-v) enable:
When I want check option Restart Monitoring Engine
In database field broker_reload_command missing.
Steps to Reproduce
Please describe precisely the steps to reproduce the encountered issue.
Describe the received result
1-
2-
Logs
** PHP
I have the following error when I try to update poller configuration to add broker_reload_command paramter.
[21-Oct-2019 10:33:05 Europe/Paris] PHP Warning: file_put_contents(/var/log/centreon/sql-error.log): failed to open stream: Permission denied in /usr/share/centreon/www/class/centreonLog.class.php on line 187
[21-Oct-2019 10:33:05 Europe/Paris] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'engine_start_command' in 'field list' in /usr/share/centreon/www/class/centreonDB.class.php:274
Stack trace:
#0 /usr/share/centreon/www/include/configuration/configServers/DB-Func.php(751): CentreonDB->query('UPDATE `nagios_...')
#1 /usr/share/centreon/www/include/configuration/configServers/formServers.php(388): updateServer(2, Array)
#2 /usr/share/centreon/www/include/configuration/configServers/servers.php(102): require_once('/usr/share/cent...')
#3 /usr/share/centreon/www/main.get.php(248): include_once('/usr/share/cent...')
#4 {main}
thrown in /usr/share/centreon/www/class/centreonDB.class.php on line 274
centreon-engine logs (if needed)
The text was updated successfully, but these errors were encountered: