XI 5.5.0 / 5.5.1 - Unable to update components or config wiz
Posted: Fri Jul 13, 2018 11:12 am
RHEL 6.10
Nagios XI 5.5.0 or 5.5.1
Since upgrading to 5.5.0 and now 5.5.1, I'm unable to update any components or config wizards. Clicking "Install Updates" shows the pop up and it says "Installation Complete!" but it still says it needs updated.
I also tried manually downloading to my machine then uploading to XI. It says successful, but still no dice.
For components, this is occurring on Operations Center and Proxy Configuration.
For configuration wizards, it is occurring on Windows Server and Windows Desktop.
I've checked filesystem permissions and the nagios group has rw on everything I can find. I checked /usr/local/nagiosxi/var/cmdsubsys.log and saw the following two errors:
Full log below:
Nagios XI 5.5.0 or 5.5.1
Since upgrading to 5.5.0 and now 5.5.1, I'm unable to update any components or config wizards. Clicking "Install Updates" shows the pop up and it says "Installation Complete!" but it still says it needs updated.
I also tried manually downloading to my machine then uploading to XI. It says successful, but still no dice.
For components, this is occurring on Operations Center and Proxy Configuration.
For configuration wizards, it is occurring on Windows Server and Windows Desktop.
I've checked filesystem permissions and the nagios group has rw on everything I can find. I checked /usr/local/nagiosxi/var/cmdsubsys.log and saw the following two errors:
Code: Select all
PHP Notice: unserialize(): Error at offset 0 of 4 bytes in /usr/local/nagiosxi/cron/cmdsubsys.php on line 462
PHP Notice: Undefined variable: cdir in /usr/local/nagiosxi/cron/cmdsubsys.php on line 516
Code: Select all
PROCESSING COMMAND ID 3675...
PROCESS COMMAND: CMD=1130, DATA=NULL
PHP Notice: unserialize(): Error at offset 0 of 4 bytes in /usr/local/nagiosxi/cron/cmdsubsys.php on line 462
AUTO UPGRADING CONFIG WIZARDSCMD DATA: Archive: configwizard-windowsserver.zip
f0122df4ea9eec39d1f13b1fbeb6c6c454576b04
creating: windowsserver/
inflating: windowsserver/CHANGES.TXT
inflating: windowsserver/sanity.sh
inflating: windowsserver/windowsserver.inc.php
PHP Notice: Undefined variable: cdir in /usr/local/nagiosxi/cron/cmdsubsys.php on line 516
CHECKING FOR PREINSTALL SCRIPT '/usr/local/nagiosxi/html/includes/configwizards/windowsserver/preinstall.sh'...
PREINSTALL SCRIPT DOES NOT EXIST.
PROCESSING CONFIG FILE /usr/local/nagiosxi/html/includes/configwizards/windowsserver/config.xml
CONFIG FILE DOESN'T EXIST
CHECKING FOR INSTALL SCRIPT '/usr/local/nagiosxi/html/includes/configwizards/windowsserver/install.sh'...
INSTALL SCRIPT DOES NOT EXIST.
CMDLINE=/bin/true
OUTPUT=
RETURNCODE=0
PROCESSING COMMAND ID 3676...
PROCESS COMMAND: CMD=18, DATA=
RECONFIGURING NAGIOSCORE ...
CMDLINE=cd /usr/local/nagiosxi/scripts && ./reconfigure_nagios.sh
No entry for terminal type "unknown";
using dumb terminal settings.
--- reset_config_perms.sh ------------
> Setting CCM script permissions
> Setting script permissions
> Setting special component script permissions
> Setting configuration file/directory permissions
> Setting perfdata directory and RRD permissions
> Setting NOM checkpoint user:group permissions
> + Setting CCM configuration file user:group permissions
> + Setting Recurring Downtime file user:group permissions
> + Setting BPI configuration file user:group permissions
--------------------------------------
--- ccm_import.php -------------------
> Setting import directory: /usr/local/nagios/etc/import/
> Importing config files into the CCM
No files to import
--------------------------------------
--- ccm_export.php -------------------
> Writing CCM configuration to Nagios files
Finished writing out configuraton
--------------------------------------
--------------------------------------
> Verifying configuration with Nagios Core
> Output:
Nagios Core 4.4.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2018-06-25
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 107 services.
Checked 25 hosts.
Checked 12 host groups.
Checked 7 service groups.
Checked 11 contacts.
Checked 5 contact groups.
Checked 141 commands.
Checked 9 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 25 hosts
Checked 110 service dependencies
Checked 0 host dependencies
Checked 9 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
> Return Code: 0
--------------------------------------
Stopping nagios: done.
Starting nagios: done.
OUTPUT=Starting nagios: done.
RETURNCODE=0
PROCESSING COMMAND ID 3677...
PROCESS COMMAND: CMD=1150, DATA=remove
CMDLINE=php /usr/local/nagiosxi/html/includes/components/nagiosbpi/api_tool.php --cmd=syncall
CMD: syncall
MSG: BPI configuration applied successfully! BPI configuration applied successfully!
OUTPUT=MSG: BPI configuration applied successfully! BPI configuration applied successfully!
RETURNCODE=0