Page 1 of 1

2024R1.0.1 -> R1.1.3 Upgrade Issue

Posted: Mon Jun 10, 2024 2:29 pm
by DISNEYD
First some basic info:

Nagios XI 2024 1.0.1 running on RHEL 9 (64 bit)

I installed this on a fresh RHEL9 box early this year. For some reason I had a hard time getting it running and importing my data from the old RHEL7 box I was migrating from. I had to do a manual install. I had to fight a lot to get my old config imported to the new server (turned out to be database password issues). Finally got it running smoothly.

I'm trying to update it today and the web UI is stuck on "Update in progress. Please wait. Update may take a few minutes." with nothing at all in the shell/script window below. The upgrade.log file in /usr/local/nagiosxi/tmp is zero bytes.

I tried a manual update and initially had a lot of trouble getting it started because /tmp on RHEL9 boxes is mounted noexec. I remounted it and was able to run the upgrade script, but it just dumps out with a "Nothing to do. Complete!" as if it just ran a yum update and stopped.

If I run a 'rpm -q -a |grep -i nagios' I get:

nagios-repo-9-2.el9.noarch
nagiosxi-wmic-2024R1.1.3-1.el9.x86_64
nagiosxi-shellinabox-2024R1.1.3-1.el9.x86_64
nagiosxi-pnp-2024R1.1.3-1.el9.x86_64
nagiosxi-phantomjs-2024R1.1.3-1.el9.x86_64
nagiosxi-nxti-2024R1.1.3-1.el9.x86_64
nagiosxi-nsca-2024R1.1.3-1.el9.x86_64
nagiosxi-nrpe-2024R1.1.3-1.el9.x86_64
nagiosxi-nrds-2024R1.1.3-1.el9.x86_64
nagiosxi-ndoutils-2024R1.1.3-1.el9.x86_64
nagiosxi-nagvis-2024R1.1.3-1.el9.x86_64
nagiosxi-nagiosplugins-2024R1.1.3-1.el9.x86_64
nagiosxi-nagioscore-2024R1.1.3-1.el9.x86_64
nagiosxi-mrtg-2024R1.1.3-1.el9.x86_64
nagiosxi-2024R1.1.3-1.el9.x86_64
nagiosxi-wkhtmltox-2024R1.1-1.el9.x86_64

However, the web interface still shows:

Latest Available Version: 2024R1.1.3
Installed Version: 2024R1.0.1

It seems like the nagiosxi-2024R1.1.3-1.el9.x86_64 rpm is "installing" in /tmp and then the upgrade script in /tmp/nagiosxi is not running past the point where is does a "yum update nagiosxi".

/usr/local/nagiosxi/var/xiversion has:

###################################
# DO NOT DELETE THIS FILE!
# Nagios XI version information
###################################
full=2024R1.0.1
major=2024
minor=1.0.1
releasedate=2024-01-16
release=60001

I'm stuck at this point. Any ideas?

Re: 2024R1.0.1 -> R1.1.3 Upgrade Issue

Posted: Mon Jun 10, 2024 2:32 pm
by swolf
Hi @DISNEYD, thanks for reaching out

We had a few users running into issues with upgrading to 2024R1.1.3. We have a new release coming next week which should address most if not all of them. I would recommend reverting back to your system snapshot of 2024R1.0.1 and then either upgrading to 2024R1.1.2 or waiting for 2024R1.1.4.

-Sebastian

Re: 2024R1.0.1 -> R1.1.3 Upgrade Issue

Posted: Thu Jun 13, 2024 12:50 pm
by DISNEYD
I was able to revert and upgrade from 1.0.1 to 2024R1.1.2 (manually).

I noticed 2024R1.1.4 was available today and I tried upgrading with the web interface. I got the same results: "Update in progress. Please wait. Update may take a few minutes." forever with nothing at all showing up in the shell/log window.

I was able to manually upgrade to 1.1.4. Is there anything I can do to fix the upgrade web interface?

Thanks

Re: 2024R1.0.1 -> R1.1.3 Upgrade Issue

Posted: Fri Jun 14, 2024 9:22 am
by gwesterman
Hi @DISNEYD,

Version 2024R1.1.4 hopefully addressed most of the issues with upgrading via the web interface. You will be able to test it out on the next upgrade. Please let us know if you run into any more issues with it.

Thank you!

Re: 2024R1.0.1 -> R1.1.3 Upgrade Issue

Posted: Fri Jun 14, 2024 2:46 pm
by gwesterman
HI again,

I realize I misinterpreted your post. Unfortunately there are still issues upgrading RPMs via the web interface. A ticket has been made internally.

Sry for the confusion and thank you for the report!

Re: 2024R1.0.1 -> R1.1.3 Upgrade Issue

Posted: Mon Jun 17, 2024 11:25 am
by gwesterman
Hi again @DISNEYD,

I have since learned that we have a potential fix for a stuck upgrade status in the web interface here. We are still working on a robust fix that does not require running through these steps.

Give that a try and let us know how it turns out/

Re: 2024R1.0.1 -> R1.1.3 Upgrade Issue

Posted: Fri Jun 28, 2024 11:11 am
Also impacting by this upgrade issue.

Upgrade log finished with below messages but never end :

--- reset_config_perms.sh ------------
> Setting script permissions
> Setting CCM script permissions
> Setting special script permissions
> Setting special component script permissions
> Setting migrate permissions
> Setting configuration file/directory permissions
> Setting perfdata directory and RRD permissions
> Setting libexec directory permissions
> Setting Nagios XI config permissions
> Setting NOM checkpoint user:group permissions
> + Setting Recurring Downtime file user:group permissions
> + Setting BPI configuration file user:group permissions
--------------------------------------

Re: 2024R1.0.1 -> R1.1.3 Upgrade Issue

Posted: Wed Jul 03, 2024 2:46 pm
by jmichaelson
Hi [email protected], a couple of questions for you.

Are you attempting an upgrade to 2024R1.1.3 or 1,1.4? Also have you tried the steps here (in the case of the latter)?
https://support.nagios.com/kb/article/n ... e-851.html