We upgraded Debian Buster (10) to Debian Bullseye (11), as version is supported by Nagios LS and afte the upgrade completed successfully, we ran into the problem that web server is not operational anymore.
PHP script '/var/www/html/nagioslogserver/application/core/LS_Controller.php' is protected by SourceGuardian and requires a SourceGuardian loader 'ixed.7.4.lin' to be installed.
1) Click here to download the required 'ixed.7.4.lin' loader from the SourceGuardian site
2) Install the loader to /usr/lib/php/20190902
3) Edit /etc/php/7.4/apache2/php.ini and add 'extension=ixed.7.4.lin' directive
4) Restart the web server
Before we execute the above recommendation, please confirm this is the right way to proceed... Unfortunately, there is no NLS documentation on OS upgrade, but it is supported as per NLS recommended OS.
Debian Upgrade to Bullseye broke PHP SourceGuardian
-
- Posts: 97
- Joined: Wed Aug 23, 2023 11:29 am
Re: Debian Upgrade to Bullseye broke PHP SourceGuardian
Hi @akaspar,
You are safe to run those instructions. You should also be able to run the log server upgrade which should do them for you. If you want to be extra safe, you can always snapshot or backup your machine before running through the instructions.
Let us know if you have any other questions.
You are safe to run those instructions. You should also be able to run the log server upgrade which should do them for you. If you want to be extra safe, you can always snapshot or backup your machine before running through the instructions.
Let us know if you have any other questions.
- jmichaelson
- Posts: 117
- Joined: Wed Aug 23, 2023 1:02 pm
Re: Debian Upgrade to Bullseye broke PHP SourceGuardian
Hi akaspar, I'm also encountering this issue when attempting to upgrade a Bullseye system from the default PHP 7.4 to PHP 8.x. I'm creating an internal ticket to track it, and will update you when I have a solution to take care of the Source Guardian problem.
Please let us know if you have any other questions or concerns.
-Jason
-Jason
- jmichaelson
- Posts: 117
- Joined: Wed Aug 23, 2023 1:02 pm
Re: Debian Upgrade to Bullseye broke PHP SourceGuardian
Hi akaspar, the quick solution to this problem is to go back to the location where you untarred the Nagios Log Server tarball, and run ./upgrade.sh. This ends up configuring the Source Guardian plugin correctly.
Please let us know if you have any other questions or concerns.
-Jason
-Jason