NagiosXI upgrade is not happening from 2024R1.1.5 to 2024R1.2.1

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
pavan509
Posts: 72
Joined: Fri Apr 30, 2021 7:07 am

NagiosXI upgrade is not happening from 2024R1.1.5 to 2024R1.2.1

Post by pavan509 »

Hello Team,

I tried to upgrade the NagiosXI from 2024R1.1.5 to 2024R1.2.1. During this activity, I didn't see the upgrade happened as the version number on the application seems to be unchanged. There is no mariadb and we have only mysql. Not sure why it is looking up for the mariadb during the upgrade.

Code: Select all

 ./upgrade
Last metadata expiration check: 1:02:17 ago on Wed 11 Sep 2024 12:03:25 PM CEST.
Package nagiosxi-2024R1.2.1-1.el9.x86_64 is already installed.
Package nagiosxi-mrtg-2024R1.2.1-1.el9.x86_64 is already installed.
Package nagiosxi-nagioscore-2024R1.2.1-1.el9.x86_64 is already installed.
Package nagiosxi-nagiosplugins-2024R1.2.1-1.el9.x86_64 is already installed.
Package nagiosxi-nagvis-2024R1.2.1-1.el9.x86_64 is already installed.
Package nagiosxi-ndoutils-2024R1.2.1-1.el9.x86_64 is already installed.
Package nagiosxi-nrds-2024R1.2.1-1.el9.x86_64 is already installed.
Package nagiosxi-nrpe-2024R1.2.1-1.el9.x86_64 is already installed.
Package nagiosxi-nsca-2024R1.2.1-1.el9.x86_64 is already installed.
Package nagiosxi-nxti-2024R1.2.1-1.el9.x86_64 is already installed.
Package nagiosxi-phantomjs-2024R1.2.1-1.el9.x86_64 is already installed.
Package nagiosxi-pnp-2024R1.2.1-1.el9.x86_64 is already installed.
Package nagiosxi-shellinabox-2024R1.2.1-1.el9.x86_64 is already installed.
Package nagiosxi-wmic-2024R1.2.1-1.el9.x86_64 is already installed.
Dependencies resolved.

Code: Select all

cat xi-upgrade.log
Archive:  sourceguardian/ixed4.lin.x86-64.zip
  inflating: /usr/lib64/php/modules/ixed.8.0.lin
Sourceguardian extension found for PHP version 8.0
Removing backup loader...
Sourceguardian extension already in php.ini
Redirecting to /bin/systemctl restart httpd.service
Checking required prereqs...
Please wait...

PHP Warning:  Undefined array key "disable_verifypeer" in /tmp/nagiosxi/nagiosxi/basedir/html/includes/utilsx.inc.php on line 157
Adding ModSecurity Rules...
Restarting httpd with ModSecurity applied...
Failed to restart mariadb.service: Unit mariadb.service not found.
You do not have the required permissions to view the files attached to this post.
Thanks, Pavan
User avatar
lgute
Posts: 420
Joined: Mon Apr 06, 2020 2:49 pm

Re: NagiosXI upgrade is not happening from 2024R1.1.5 to 2024R1.2.1

Post by lgute »

Hi @pavan509, thanks for reaching out.

What distro and version are you using to run XI?
Please let us know if you have any other questions or concerns.

-Laura
pavan509
Posts: 72
Joined: Fri Apr 30, 2021 7:07 am

Re: NagiosXI upgrade is not happening from 2024R1.1.5 to 2024R1.2.1

Post by pavan509 »

We are using the RHEL 9.4 OS
Thanks, Pavan
sgardil
Posts: 355
Joined: Wed Aug 09, 2023 9:58 am

Re: NagiosXI upgrade is not happening from 2024R1.1.5 to 2024R1.2.1

Post by sgardil »

I did a fresh install from 1.1.5 to 1.2.1 and it went through. Has this system been migrated from a different OS at some point? It seems there's an issue with your MySQL DB if it is searching for mariadb on a Rhel system. It may be easier to get the help you need from opening a ticket here if you have access to.
pavan509
Posts: 72
Joined: Fri Apr 30, 2021 7:07 am

Re: NagiosXI upgrade is not happening from 2024R1.1.5 to 2024R1.2.1

Post by pavan509 »

We have got a new server with RHEL 9 OS and then migrated the data from old RHEL 7 OS and done a couple of the upgrades in the last few months. Somehow, the installation method got changed to RPM based installation during the migration process. So, I am able to do only the RPM upgrade but not the direct upgrade.

Is there a way to change the Nagios from RPM to normal installation on the same server?
Thanks, Pavan
pavan509
Posts: 72
Joined: Fri Apr 30, 2021 7:07 am

Re: NagiosXI upgrade is not happening from 2024R1.1.5 to 2024R1.2.1

Post by pavan509 »

To keep this thread further updated. I have raised a support case and during the investigation it is found that the config files has entries the database referring to mariadb instead of mysqld. Post modifying the config files, upgrade was successful.

Thanks everyone for their support.
Thanks, Pavan
DoubleDoubleA
Posts: 286
Joined: Thu Feb 09, 2017 5:07 pm

Re: NagiosXI upgrade is not happening from 2024R1.1.5 to 2024R1.2.1

Post by DoubleDoubleA »

Awesome! Thanks for the update.
Locked