Upgrade to 2024R1.2.1 not working...
Posted: Thu Aug 29, 2024 12:25 pm
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.
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.