Page 1 of 1

NagiosXI upgrade 5.5.11 to 5.6.3 didn't work form web

Posted: Thu Jun 13, 2019 10:25 pm
by absarcompass
Hi Guys,
I tried upgrading XI to 5.6.3 from web interface but it didn't work. It just keep saying update will take few minutes and no logs were populated on the progress box. it just stays there for more then 5 hours and then i closed it.
local backup directory /store/backups/nagiosxi/ 's modification date changed but no backups populated in directory.
can you confirm what might have gone wrong here
I started upgrade on chrome new browser.

Re: NagiosXI upgrade 5.5.11 to 5.6.3 didn't work form web

Posted: Fri Jun 14, 2019 9:21 am
by benjaminsmith
Hello,

On occasion, the web upgrade can stall, please try performing a manual upgrade:

Code: Select all

wget -O upgrade.sh https://assets.nagios.com/downloads/nagiosxi/upgrade.sh
sh ./upgrade.sh
See: Nagios XI Upgrade Instructions

If you need to clear the upgrade in progress message, please follow these instructions:
Nagios XI - Reset Upgrade Status In Web Interface

Let me know if you're able to successfully upgrade to 5.6.3.

Re: NagiosXI upgrade 5.5.11 to 5.6.3 didn't work form web

Posted: Tue Jun 18, 2019 8:10 pm
by absarcompass
Hi Ben,
after resetting the upgrade status i tried upgrade from web interface and it failed again.
i have not yet tried the manual method

Re: NagiosXI upgrade 5.5.11 to 5.6.3 didn't work form web

Posted: Wed Jun 19, 2019 8:12 am
by scottwilkerson
I would try the manual method. There are certain systems with various security settings that simply prevent the GUI method from working.

Re: NagiosXI upgrade 5.5.11 to 5.6.3 didn't work form web

Posted: Wed Jun 26, 2019 10:32 pm
by absarcompass
Hi Guys,
I have upgraded to version 5.6.3 manually. It looks fine but the search box is not working as it was working before.
on web interface, at left side in 'Quick view' if I go to 'All Service Problems or All Host Problems' i am unable to search any host or service respectively where as search is working in Detail tab's Host Status and Service Status tab.
I have tried on multiple browsers
can anyone advice, as it was working for me before.

Re: NagiosXI upgrade 5.5.11 to 5.6.3 didn't work form web

Posted: Thu Jun 27, 2019 11:22 am
by lmiltchev
Can you tail the mysqld.log (or mariadb.log, if you are using mariadb) for errors/corrupt tables?

Code: Select all

tail /var/log/mysqld.log
tail /var/log/mariadb/mariadb.log
Also, show us an example of the error that you are getting in the GUI. We haven't been able to recreate the issue in-house. The search on these two pages works just fine.

Example:
example01.PNG

Re: NagiosXI upgrade 5.5.11 to 5.6.3 didn't work form web

Posted: Thu Jun 27, 2019 4:33 pm
by absarcompass
Thanks for that
I think i figured it, probably it is happening due to the filter on it. please confirm if that is the case. (search will work within the hosts or services which are either down or in critical/warning state) to search a host or service independent of state filter needs to be removed?
There are no table locking error in mysql log

Re: NagiosXI upgrade 5.5.11 to 5.6.3 didn't work form web

Posted: Fri Jun 28, 2019 9:52 am
by lmiltchev
Yes, the filters are the problem, even though... this is not a problem as it's by design. :)

You are looking for "Host Problems" (Filters: Host=Down,Unreachable). The "localhost" host is NOT in Down or Unreachable state, so nagios can't find it... Do you see any results when you search for hosts that are actually down?