Broken Services Post Update
Posted: Thu Aug 03, 2023 2:39 pm
Hi:
We recently upgraded to 5.11.1 and from Postgres to MySQL. We are now finding we can't update the configuration through CCM. For example, I tried to deactivate a host, I applied the configuration (it appears to have worked fine) and yet the host is still there. Also, there are numerous services that are showing in the UI that were valid pre-update but are now missing from CCM and reporting errors. We are also getting numerous errors in the nom.log as follows:
PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 399
PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 399
PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 399
PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 399
PHP Notice: Tried to execute an empty SQL query in /usr/local/nagiosxi/html/includes/db.inc.php on line 501
Thanks in advance for any light you can shed!
We recently upgraded to 5.11.1 and from Postgres to MySQL. We are now finding we can't update the configuration through CCM. For example, I tried to deactivate a host, I applied the configuration (it appears to have worked fine) and yet the host is still there. Also, there are numerous services that are showing in the UI that were valid pre-update but are now missing from CCM and reporting errors. We are also getting numerous errors in the nom.log as follows:
PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 399
PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 399
PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 399
PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 399
PHP Notice: Tried to execute an empty SQL query in /usr/local/nagiosxi/html/includes/db.inc.php on line 501
Thanks in advance for any light you can shed!