I clicked the "update is available" link in the web GUI to update Nagios since this has worked well in the past. This time it is hung and just says:
Update in progress. Please wait. Update may take a few minutes.
I rebooted the VM, and it continues to say that. I'm using the OVA deployed one.
What can I do to poke it to complete the update?
Updating Nagios XI through GUI hung
Re: Updating Nagios XI through GUI hung
To clear out the "update in progress" message one of these should do the trick(assuming the default dbs are used):
After clearing this, try a manual upgrade with:
Code: Select all
echo "update xi_commands set status_code = '2' where command = '1120';" | mysql -uroot -pnagiosxi nagiosxi
echo "update xi_commands set status_code = '2' where command = '1120';" | psql nagiosxi nagiosxi
Code: Select all
cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd nagiosxi
./upgradeAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Updating Nagios XI through GUI hung
Nevermind. I found the support PDF that says how to do it from the command line which worked fine. I'm on 5.6.1 now.
Re: Updating Nagios XI through GUI hung
Thanks for this! It will be useful to know how to clear out those codes.cdienger wrote:To clear out the "update in progress" message one of these should do the trick(assuming the default dbs are used):
After clearing this, try a manual upgrade with:Code: Select all
echo "update xi_commands set status_code = '2' where command = '1120';" | mysql -uroot -pnagiosxi nagiosxi echo "update xi_commands set status_code = '2' where command = '1120';" | psql nagiosxi nagiosxi
Code: Select all
cd /tmp rm -rf nagiosxi xi*.tar.gz wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz tar xzf xi-latest.tar.gz cd nagiosxi ./upgrade
Re: Updating Nagios XI through GUI hung
No problem 
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.