Page 1 of 1

upgrade failed: Nagios XI is 2024R1.2.2

Posted: Wed Sep 25, 2024 1:46 pm
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

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

Posted: Wed Sep 25, 2024 2:05 pm
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

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

Posted: Thu Sep 26, 2024 2:45 am
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.

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

Posted: Thu Sep 26, 2024 3:12 am
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.

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

Posted: Thu Sep 26, 2024 8:29 am
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.