Upgrade to 2024R1.2.1 not working...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
[email protected]
Posts: 1
Joined: Thu Aug 29, 2024 12:11 pm

Upgrade to 2024R1.2.1 not working...

Post by [email protected] »

Hi all,

We tried updating nagiosxi from 2024R1.0.2 to 2024R1.2.1. The underlying operating system was ubuntu 22. The upgrade failed with an error about sourceguardian:

Apache-Error: [file "./sapi/apache2handler/sapi_apache2.c"] [line 358] [level 3] PHP Fatal error: SourceGuardian Loader - This protected script was not encoded for version 8.3.6 of PHP. Please re-encode or contact the author of the script regarding this problem. Error code [07] in /usr/local/nagiosxi/html/includes/dbl.inc.php on line 2
Apache-Handler: application/x-httpd-php

So we reimaged the OS to Ubuntu 24.04 and ran the install from this document:
https://nagiosenterprises.my.site.com/s ... 4-5d1c3f10

We put the backup we had from our previous installation in /store/backups/nagiosxi and ran the following:
/usr/local/nagiosxi/scripts/restore_xi.sh /store/backups/nagiosxi/nagiosxi.1724842800.tar.gz

That script told us to run a repair script because we were going from Ubuntu 22 to 24, so we did.

And we are still getting the same error.

We tried running the upgrade script over that, and got the same error.

Any thoughts would be greatly appreciated since we are kinda out of things to do. :)
DoubleDoubleA
Posts: 286
Joined: Thu Feb 09, 2017 5:07 pm

Re: Upgrade to 2024R1.2.1 not working...

Post by DoubleDoubleA »

Hi [email protected],

Your best bet here is to put in a support ticket, you will get direct access to the support technicians and an SLA on the ticket. Nagios staffers on the forum are frequently clever, but not support technicians.

Aaron
DoubleDoubleA
Posts: 286
Joined: Thu Feb 09, 2017 5:07 pm

Re: Upgrade to 2024R1.2.1 not working...

Post by DoubleDoubleA »

We definitely did upgrade Sourceguardian to support php 8.3 between the two versions you mention, so on the one hand 8.3.6 shouldn't be a problem and then on the other there may be an unanticipated wrinkle with Sourceguardian in the update process.
Post Reply