Hello,
I upgraded our environment to 5.6.0 earlier this week and has some issues with the "Check for Updates" spinning on the Admin tab after upgrade.
I was able to fix that per some other support forum posts but now I am getting a PHP warning in the console and my environment is no longer sending e-mail and text notifications. The error the console is spitting out indicates: PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491.
Any thoughts on this? Thanks in advance.
Upgrade Issue to NagiosXI 5.6.0
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Upgrade Issue to NagiosXI 5.6.0
The error you are seeing is just a notice, but there is a known issue that can cause this in 5.6.0
Run the following to resolve it
For the other notice you are getting you can actually delete this old component which isn't used any longer
Run the following to resolve it
Code: Select all
rm -f /usr/local/nagiosxi/var/event_handler.lockCode: Select all
rm -rf /usr/local/nagiosxi/html/includes/components/nagiosimRe: Upgrade Issue to NagiosXI 5.6.0
Thanks, Scott. I ran the two commands in the console with no problems and my notifications are now restored as well.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Upgrade Issue to NagiosXI 5.6.0
Great!jdulac wrote:Thanks, Scott. I ran the two commands in the console with no problems and my notifications are now restored as well.
Locking thread