All,
I have done a few NagiosXI upgrades manually via CLI without issues. On the most recent upgrade to 5.6.2 I elected to try it through the web GUI and it didn't work. I went ahead and upgraded via CLI and am now running 5.6.2 but the update in progress is still spinning. I know this is a known issue, but it's been a known issue for two years now. Will this ever get resolved?
I have tried the update xi_commands set status_code = '2' where command = '1120' command and the CLI accepts it but it won't clear out the spinning update in progress.
Any thoughts on this?
Thanks
Upgrade in Progress - keeps spinning
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Upgrade in Progress - keeps spinning
Hello, @jdulac. Please run these manual upgrade commands from the command line, and if you see any errors, please upload the /tmp/nagiosxi/upgrade.log file in the thread:
But if the upgrade shows no errors, please rerun the DB query one more time.
For postgresql:
For mysql:
PS: It doesn't matter if you see the latest version in the gui(5.6.2), run the manual upgrade steps one more time.
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
For postgresql:
Code: Select all
psql nagiosxi nagiosxi -c "update xi_commands set status_code = '2' where command = '1120'"Code: Select all
echo "update xi_commands set status_code = '2' where command = '1120';" | mysql -uroot -pnagiosxi nagiosxiAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Upgrade in Progress - keeps spinning
Thanks, that worked. I was running the wrong command and needed to do the psql command.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Upgrade in Progress - keeps spinning
@jdulac, Thanks for the update! I'll be closing this ticket as resolved.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.