upgrade 2024R1.3.3 to 2024R1.3.4 throws php fatal error
Posted: Thu Jun 19, 2025 7:56 am
Hi,
just ran the upgrdae from 2024R1.3.3 to 2024R1.3.4 on our test cluster. During the upgrade I get a php fatal error in /var/www/html/nagioslogserver/application/controllers/Install.php. Odly the cluster still seems to work and shows the new version number.
However, I'm not confident to do the upgrade on our production server without an explanation.
RHEL9
php 8.0.30-3.el9_6
upgrade.log shows no errors, but the following is from the commandline:
Am I now in a corrupted state or is this ignorable?
Kind regards,
Hans Blom
just ran the upgrdae from 2024R1.3.3 to 2024R1.3.4 on our test cluster. During the upgrade I get a php fatal error in /var/www/html/nagioslogserver/application/controllers/Install.php. Odly the cluster still seems to work and shows the new version number.
However, I'm not confident to do the upgrade on our production server without an explanation.
RHEL9
php 8.0.30-3.el9_6
upgrade.log shows no errors, but the following is from the commandline:
Code: Select all
> ./upgrade
Upgrading on RedHatEnterpriseServer 9.6
Nagios Log Server Upgrade Log
==========================
DATE: Thu Jun 19 02:31:56 PM CEST 2025
DISTRO INFO:
RedHatEnterpriseServer
9.6
x86_64
Old Version: 3303
New Version: 3304
Updating Subscription Management repositories.
Last metadata expiration check: 1:13:47 ago on Thu 19 Jun 2025 01:18:11 PM CEST.
Package php-devel-8.0.30-3.el9_6.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Archive: sourceguardian/loaders.linux-x86_64.zip
inflating: /usr/lib64/php/modules/ixed.8.0.lin
Sourceguardian extension found for PHP version 8.0
Sourceguardian extension already in php.ini
PHP Warning: Undefined array key "HTTP_HOST" in /var/www/html/nagioslogserver/application/config/config.local.php on line 12
Setting Elasticsearch to allow shard reallocation
Synchronizing state of elasticsearch.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable elasticsearch
Upgrading Kibana...
Kibana upgraded OK
PHP Warning: Undefined array key "HTTP_HOST" in /var/www/html/nagioslogserver/application/config/config.local.php on line 12
PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/html/nagioslogserver/application/controllers/Install.php:0
Stack trace:
#0 /var/www/html/nagioslogserver/system/core/CodeIgniter.php(532): Install->upgrade()
#1 /var/www/html/nagioslogserver/www/index.php(315): require_once('...')
#2 {main}
thrown in /var/www/html/nagioslogserver/application/controllers/Install.php on line 0Kind regards,
Hans Blom