upgrade failed: Nagios XI is 2024R1.2.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
Jenkins
Posts: 12
Joined: Tue Sep 23, 2014 12:10 pm

upgrade failed: Nagios XI is 2024R1.2.2

Post by Jenkins »

Current Version: Nagios XI 2024R1.2
The latest version of Nagios XI is 2024R1.2.2

Oracle Linux 8 test server.

upgrade
Checking install type...
./upgrade: line 190: /usr/local/nagiosxi/var/xi-itype: No such file or directory
sgardil
Posts: 327
Joined: Wed Aug 09, 2023 9:58 am

Re: upgrade failed: Nagios XI is 2024R1.2.2

Post by sgardil »

Jenkins wrote: Wed Sep 25, 2024 1:46 pm Current Version: Nagios XI 2024R1.2
The latest version of Nagios XI is 2024R1.2.2

Oracle Linux 8 test server.

upgrade
Checking install type...
./upgrade: line 190: /usr/local/nagiosxi/var/xi-itype: No such file or directory
Interesting, do you remember how you installed the product? The xi-itype is there to show what type of installation was done to make sure a normal upgrade isnt being ran on an rpm install as there is some differences. Can uoi run ls -l /usr/local/nagiosxi/var/ and see if you see if there is a xi-itype file? If it is there what permissions and ownership does the file have? It should have -rw-r--r-- and nagios nagios
xdatanet
Posts: 49
Joined: Wed Sep 04, 2013 10:06 am
Location: Mirandola Italy

Re: upgrade failed: Nagios XI is 2024R1.2.2

Post by xdatanet »

Me too...

./upgrade: line 190: /usr/local/nagiosxi/var/xi-itype: No such file or directory

There is no such file in dir.

Installed by NagiosXI guide and restore bk on CentOS Stream 9.

Graziano.
xdatanet
Posts: 49
Joined: Wed Sep 04, 2013 10:06 am
Location: Mirandola Italy

Re: upgrade failed: Nagios XI is 2024R1.2.2

Post by xdatanet »

Understood!

NagiosXI looks for a specific setup in the file (OVA, RPM, offline) and stops the upgrade process in case.

Classic setup via Nagios download does not create this file.

If you create it and leave it blank it works like a charm.

Nagios XI Upgrade Complete!
---------------------------

Regards,
Graziano.
Jenkins
Posts: 12
Joined: Tue Sep 23, 2014 12:10 pm

Re: upgrade failed: Nagios XI is 2024R1.2.2

Post by Jenkins »

I created the file and my test server has upgraded.

/usr/local/nagiosxi/var/xi-itype

I don't recall the specific install method, but it was restored from a Centos backup.

The upgrade completed successfully.

I can only connect with IP because DNS give "Invalid Host Header", because it has the production certificate.

Thanks.
Post Reply