After running ./daily.sh some of the errors have cleared but I still have the “PHP Error(2): stream_socket_client(): Unable to connect to tcp://127.0.0.1:6379 (Connection refused) in /opt/librenms/vendor/predis/predis/src/Connection/Resource/StreamFactory.php on line 209” error immediately after the [OK] MySQL and PHP time match in the ./validate.php output.
Your redis server is not connectable. I’ll catch that error so we can make a nice fail message instead.
I ran sudo ss -tnlp and port 6379 is not in use, I guess that explains the connection refused.
The problem persists. .env redis config commented.
$ git pull
Already up to date.
$ ./daily.sh
Clearing caches OK
Updating to latest codebase OK
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
$ ./validate.php
Component | Version |
---|---|
LibreNMS | 25.5.0-105-ga79daad87 (2025-06-10T06:25:10+03:00) |
DB Schema | 2025_05_07_103301_fix_ipv4_addresses_id_type (342) |
PHP | 8.3.6 |
Python | 3.12.3 |
Database | MariaDB 10.11.13-MariaDB-0ubuntu0.24.04.1 |
RRDTool | 1.7.2 |
SNMP | 5.9.4.pre2 |
=========================================== |
[OK] Composer Version: 2.8.9
[OK] Dependencies up-to-date.
[OK] Database Connected
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
PHP Error(2): stream_socket_client(): Unable to connect to tcp://127.0.0.1:6379 (Connection refused) in /opt/librenms/vendor/predis/predis/src/Connection/Resource/StreamFactory.php on line 209
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrdtool version ok
[OK] Connected to rrdcached
alright, redis fixed.
but page /alert-rule 502 error
nginx error log
2025/06/10 14:32:27 [error] 3196370#3196370: *49 upstream sent too big header while reading response header from upstream, client: HIDE, server: HIDE, request: “GET /alert-rules HTTP/2.0”, upstream: “fastcgi://unix:/run/php-fpm-librenms.sock:”, host: “HIDE”, referrer: “HIDE”
alright,
fastcgi_buffer_size 128k;
fastcgi_buffers 16 128k;
fixed for me
That is certainly one way to work around the issue. But doesn’t help get the problem fixed. I want to get these cleaned up before the next release.
Error messages should be in the nginx error log. If you can post them that’d be great.
Thanks so much for looking into all this Tony. I’ve re-run daily.sh and can see that the changes from PR #17810 have come through - validate.php says my version is now 25.5.0-105-ga79daad87 (2025-06-10T04:25:10+01:00), but I do still get a 502 on the alert rules page without the fastcgi_buffers workaround. nginx error logs are:
PHP Error(2): Undefined variable $device in /opt/librenms/includes/html/modal/new_alert_rule.inc.php on line 48;
PHP Error(2): Undefined variable $rule_extra in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57;
PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57;
PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83;
I’m not getting 502s on any of the other pages we use, but can see other php errors in the nginx log if they’re of any use:
PHP Error(2): Undefined array key "name" in /opt/librenms/includes/html/functions.inc.php on line 647;
PHP Error(2): mkdir(): File exists in /opt/librenms/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php on line 652;
PHP Error(2): Undefined array key "error" in /opt/librenms/includes/html/functions.inc.php on line 697;
PHP Error(8192): htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /opt/librenms/includes/html/table/alerts.inc.php on line 205;
request: "POST /ajax_table.php HTTP/2.0", referrer: "https://<my-server>/overview?bare=yes"
Thanks again.
I apologize for interfering, the problem with redis is still relevant
bash-4.2$ ./validate.php
===========================================
Component | Version
--------- | -------
LibreNMS | 25.5.0-106-gf6d7c20 (2025-06-10T15:47:44+03:00)
DB Schema | 2025_05_07_103301_fix_ipv4_addresses_id_type (356)
PHP | 8.3.8
Python | 3.6.8
Database | MariaDB 10.5.25-MariaDB
RRDTool | 1.7.1
SNMP | 5.7.2
===========================================
[OK] Composer Version: 2.8.1
[OK] Dependencies up-to-date.
[OK] Database Connected
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Distributed Polling setting is enabled globally
[OK] Connection to memcached is ok
[OK] Connected to rrdcached
PHP Error(2): stream_socket_client(): Unable to connect to tcp://127.0.0.1:6379 (Connection refused) in /opt/librenms/vendor/predis/predis/src/Connection/Resource/StreamFactory.php on line 209
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[FAIL] Some poller nodes have not checked in recently
Inactive Nodes:
poller28_1
[OK] Redis is unavailable
[OK] rrdtool version ok
[OK] Connected to rrdcached
[FAIL] Scheduler is not running
[FIX]:
sudo cp /opt/librenms/dist/librenms-scheduler.service /opt/librenms/dist/librenms-scheduler.timer /etc/systemd/system/
sudo systemctl enable librenms-scheduler.timer
sudo systemctl start librenms-scheduler.timer
This morning I am getting the 502 error when trying to open Alert Rules, everything was working fine yesterday, seems to have started after daily.sh ran.
I’ve been seeing the “Unable to connect to tcp://127.0.0.1:6379 (Connection refused)” error in ./validate.php, and the 502 errors when trying to access the Alert Rules area in the UI.
Just to rule out some residual thing in my server (it was an upgrade from Ubuntu 22 to 24, plus a few PHP upgrades), I built a new server from scratch, this time with Debian 12. From what I can tell everything is working with this new server, including the Alert Rules area of the UI, but yet I’m still seeing the error in ./validate.php:
librenms@nms:~$ ./validate.php
Component | Version |
---|---|
LibreNMS | 25.5.0-107-g36f408e49 (2025-06-10T11:00:39-06:00) |
DB Schema | 2025_05_25_183627_drop_view_port_mac_link (342) |
PHP | 8.3.22 |
Python | 3.11.2 |
Database | MariaDB 10.11.11-MariaDB-0+deb12u1 |
RRDTool | 1.7.2 |
SNMP | 5.9.3 |
=========================================== |
[OK] Composer Version: 2.8.9
[OK] Dependencies up-to-date.
[OK] Database Connected
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
PHP Error(2): stream_socket_client(): Unable to connect to tcp://127.0.0.1:6379 (Connection refused) in /opt/librenms/vendor/predis/predis/src/Connection/Resource/StreamFactory.php on line 209
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok
Can anybody provide an update on if the ./validate.php error is an indication of a problem somewhere else, especially since it appears my UI is working with a new build? Thanks!!
After the last night’s update, the GUI works, but not all pages are loaded. I’ve got 502 Bad Gateway on Apps → Overview menu
And there is PHP Errorr(2) in from validate script as others.
librenms@librenms:~$ ./validate.php
===========================================
Component | Version
--------- | -------
LibreNMS | 25.5.0-107-g36f408e49 (2025-06-11T00:00:39+07:00)
DB Schema | 2025_05_07_103301_fix_ipv4_addresses_id_type (342)
PHP | 8.3.12
Python | 3.12.3
Database | MariaDB 10.11.13-MariaDB-0ubuntu0.24.04.1
RRDTool | 1.7.2
SNMP | 5.9.4.pre2
===========================================
[OK] Composer Version: 2.8.9
[OK] Dependencies up-to-date.
[OK] Database Connected
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
PHP Error(2): stream_socket_client(): Unable to connect to tcp://127.0.0.1:6379 (Connection refused) in /opt/librenms/vendor/predis/predis/src/Connection/Resource/StreamFactory.php on line 209
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrdtool version ok
[OK] Connected to rrdcached
librenms@librenms:~$
Hi, I am getting the 502 error on the below url’s:
https://librenms.xyz//search/search=ipv4
https://librenms.xyz//search/search=ipv6
https://librenms.xyz/alert-rules
Any ideas on how to get this fixed?
$ ./validate.php
===========================================
Component | Version
--------- | -------
LibreNMS | 25.5.0-107-g36f408e49 (2025-06-10T19:00:39+02:00)
DB Schema | 2025_05_07_103301_fix_ipv4_addresses_id_type (342)
PHP | 8.3.20
Python | 3.8.10
Database | MariaDB 10.4.31-MariaDB-1:10.4.31+maria~ubu1804
RRDTool | 1.7.2
SNMP | 5.8
===========================================
[OK] Composer Version: 2.8.9
[OK] Dependencies up-to-date.
[OK] Database Connected
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Distributed Polling setting is enabled globally
[OK] Connected to rrdcached
[OK] Active pollers found
[OK] Dispatcher Service is enabled
[OK] Locks are functional
[OK] Python wrapper cron entry is not present
[OK] Redis is functional
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[OK] rrdtool version ok
[OK] Connected to rrdcached
$ ./daily.sh
Clearing caches OK
Updating to latest codebase OK
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
I’m not seeing any impact on usability except getting a 502 on the “Apps Overview”-page (at least from what I’ve seen so far), the individual “Apps”-pages seem to work fine.
The nginx error-log spits out the following when browsing to the “Apps Overview”:
2025/06/11 08:19:25 [error] 2606776#2606776: *59231 FastCGI sent in stderr: "PHP message: PHP Error(2): Undefined variable $device in /opt/librenms/includes/html/pages/apps.inc.php on line 638; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps.inc.php on line 638; PHP message: PHP Error(2): Undefined variable $sep in /opt/librenms/includes/html/pages/apps.inc.php on line 651; PHP message: PHP Error(2): Undefined array key "app" in /opt/librenms/includes/html/pages/apps.inc.php on line 652; PHP message: PHP Error(2): Undefined array key "app" in /opt/librenms/includes/html/pages/apps.inc.php on line 657; PHP message: PHP Error(2): Undefined array key "app" in /opt/librenms/includes/html/pages/apps.inc.php on line 652; PHP message: PHP Error(2): Undefined array key "app" in /opt/librenms/includes/html/pages/apps.inc.php on line 657; PHP message: PHP Error(2): Undefined array key "app" in /opt/librenms/includes/html/pages/apps.inc.php on line 652; PHP message: PHP Error(2): Undefined array key "app" in /opt/librenms/includes/html/pages/apps.inc.php on line 657; PHP message: PHP Error(2): Undefined array key "app" in /opt/librenms/includes/html/pages/apps.inc.php on line 652; PHP message: PHP Error(2): Undefined array key "app" in /opt/librenms/includes/html/pages/apps.inc.php on line 657; PHP message: PHP Error(2): Undefined array key "app" in /opt/librenms/includes/html/pages/apps.inc.php on line 652; PHP message: PHP Error(2): Undefined array key "app" in /opt/librenms/includes/html/pages/apps.inc.php on line 657; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/libr
2025/06/11 08:19:25 [error] 2606776#2606776: *59231 FastCGI sent in stderr: "hp on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP
2025/06/11 08:19:25 [error] 2606776#2606776: *59231 FastCGI sent in stderr: "ncludes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview
2025/06/11 08:19:25 [error] 2606776#2606776: *59231 FastCGI sent in stderr: "fined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/li
2025/06/11 08:19:25 [error] 2606776#2606776: *59231 FastCGI sent in stderr: "line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(
2025/06/11 08:19:25 [error] 2606776#2606776: *59231 FastCGI sent in stderr: "/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overvi
2025/06/11 08:19:25 [error] 2606776#2606776: *59231 FastCGI sent in stderr: "array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms
2025/06/11 08:19:25 [error] 2606776#2606776: *59231 FastCGI sent in stderr: "n line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Erro
2025/06/11 08:19:25 [error] 2606776#2606776: *59231 FastCGI sent in stderr: "des/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc
2025/06/11 08:19:25 [error] 2606776#2606776: *59231 FastCGI sent in stderr: "d array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/libren
2025/06/11 08:19:26 [error] 2606776#2606776: *59231 FastCGI sent in stderr: " 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2):
2025/06/11 08:19:26 [error] 2606776#2606776: *59231 FastCGI sent in stderr: "ludes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 48; PHP message: PHP Error(2): Undefined array key "ntp" in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 26; PHP message: PHP Error(2): Undefined variable $content_add in /opt/librenms/includes/html/pages/apps/overview.inc.php on line 46; PHP message: PHP Error(2): Undefined variable $width_div in /opt/librenms/includes/html/pages/apps/overview.i
2025/06/11 08:19:26 [error] 2606776#2606776: *59231 upstream sent too big header while reading response header from upstream, client: 172.30.2.14, server: <LibreNMS>, request: "GET /apps HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm-librenms.sock:", host: "<LibreNMS>", referrer: "https://<LibreNMS>/overview"
And although the “regular” Overview-page (startpage) seems to work fine there are also a bunch of lines in the nginx error-log every time that page loads/refreshes, depending on what widgets are in a users dashboard-layout:
2025/06/11 08:17:04 [error] 2606776#2606776: *58699 FastCGI sent in stderr: "PHP message: PHP Error(2): Undefined variable $unit_text in /opt/librenms/includes/html/graphs/generic_multi_line.inc.php on line 30; PHP message: PHP Error(8192): str_ireplace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /opt/librenms/LibreNMS/Util/Rewrite.php on line 138; PHP message: PHP Error(8192): strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /opt/librenms/LibreNMS/Data/Store/Rrd.php on line 688; PHP message: PHP Error(8192): substr_count(): Passing null to parameter #1 ($haystack) of type string is deprecated in /opt/librenms/LibreNMS/Data/Store/Rrd.php on line 690; PHP message: PHP Error(2): Undefined variable $units in /opt/librenms/includes/html/graphs/generic_multi_line.inc.php on line 82; PHP message: PHP Error(2): Undefined variable $units in /opt/librenms/includes/html/graphs/generic_multi_line.inc.php on line 82; PHP message: PHP Error(2): Undefined variable $units in /opt/librenms/includes/html/graphs/generic_multi_line.inc.php on line 83; PHP message: PHP Error(2): Undefined variable $units in /opt/librenms/includes/html/graphs/generic_multi_line.inc.php on line 83" while reading response header from upstream, client: 172.30.2.14, server: <LibreNMS>, request: "GET /graph.php?device=220&from=1749601024&to=1749622624&width=600.4166&height=253.99459999999996&type=device_netstat_ip_forward&legend=yes&absolute=1 HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm-librenms.sock:", host: "<LibreNMS>", referrer: "https://<LibreNMS>/overview"
2025/06/11 08:17:04 [error] 2606776#2606776: *58699 FastCGI sent in stderr: "PHP message: PHP Error(2): Undefined variable $unit_text in /opt/librenms/includes/html/graphs/generic_multi_line.inc.php on line 30; PHP message: PHP Error(8192): str_ireplace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /opt/librenms/LibreNMS/Util/Rewrite.php on line 138; PHP message: PHP Error(8192): strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /opt/librenms/LibreNMS/Data/Store/Rrd.php on line 688; PHP message: PHP Error(8192): substr_count(): Passing null to parameter #1 ($haystack) of type string is deprecated in /opt/librenms/LibreNMS/Data/Store/Rrd.php on line 690; PHP message: PHP Error(2): Undefined variable $units in /opt/librenms/includes/html/graphs/generic_multi_line.inc.php on line 82; PHP message: PHP Error(2): Undefined variable $units in /opt/librenms/includes/html/graphs/generic_multi_line.inc.php on line 82; PHP message: PHP Error(2): Undefined variable $units in /opt/librenms/includes/html/graphs/generic_multi_line.inc.php on line 83; PHP message: PHP Error(2): Undefined variable $units in /opt/librenms/includes/html/graphs/generic_multi_line.inc.php on line 83" while reading response header from upstream, client: 172.30.2.14, server: <LibreNMS>, request: "GET /graph.php?device=221&from=1749601024&to=1749622624&width=600.4166&height=253.99459999999996&type=device_netstat_ip_forward&legend=yes&absolute=1 HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm-librenms.sock:", host: "<LibreNMS>", referrer: "https://<LibreNMS>/overview"
2025/06/11 08:17:04 [error] 2606776#2606776: *58699 FastCGI sent in stderr: "PHP message: PHP Error(2): mkdir(): File exists in /opt/librenms/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php on line 652" while reading response header from upstream, client: 172.30.2.14, server: <LibreNMS>, request: "GET /graph.php?id=10060&from=1749601024&to=1749622624&width=851.1046&height=253.99459999999996&type=port_bits&legend=yes&absolute=1 HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm-librenms.sock:", host: "<LibreNMS>", referrer: "https://<LibreNMS>/overview"
2025/06/11 08:17:04 [error] 2606776#2606776: *58699 FastCGI sent in stderr: "PHP message: PHP Error(2): mkdir(): File exists in /opt/librenms/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php on line 652" while reading response header from upstream, client: 172.30.2.14, server: <LibreNMS>, request: "GET /graph.php?id=13550&type=port_errors&legend=no&absolute_size=0&width=150&height=21&from=-1d HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm-librenms.sock:", host: "<LibreNMS>", referrer: "https://<LibreNMS>/overview"
2025/06/11 08:17:04 [error] 2606776#2606776: *58699 FastCGI sent in stderr: "PHP message: PHP Error(2): mkdir(): File exists in /opt/librenms/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php on line 652" while reading response header from upstream, client: 172.30.2.14, server: <LibreNMS>, request: "GET /graph.php?id=14795&type=port_errors&legend=no&absolute_size=0&width=150&height=21&from=-1d HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm-librenms.sock:", host: "<LibreNMS>", referrer: "https://<LibreNMS>/overview"
....
===========================================
Component | Version
--------- | -------
LibreNMS | 25.5.0-107-g36f408e49 (2025-06-10T19:00:39+02:00)
DB Schema | 2025_05_07_103301_fix_ipv4_addresses_id_type (342)
PHP | 8.3.11
Python | 3.12.3
Database | MariaDB 10.11.13-MariaDB-0ubuntu0.24.04.1
RRDTool | 1.7.2
SNMP | 5.9.4.pre2
===========================================
[OK] Composer Version: 2.8.9
[OK] Dependencies up-to-date.
[OK] Database Connected
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
PHP Error(2): stream_socket_client(): Unable to connect to tcp://127.0.0.1:6379 (Connection refused) in /opt/librenms/vendor/predis/predis/src/Connection/Resource/StreamFactory.php on line 209
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrdtool version ok
[OK] Connected to rrdcached
FYI; I’m on the latest revision, just ran ./daily.sh
For /alert-rules
I’m getting the following errors in my logs:
2025/06/11 10:34:38 [error] 1069#1069: *4829 FastCGI sent in stderr: "PHP message: PHP Error(2): Undefined variable $device in /opt/librenms/includes/html/modal/new_alert_rule.inc.php on line 48; PHP message: PHP Error(2): Undefined variable $rule_extra in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Undefined variable $rule_extra in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Undefined variable $rule_extra in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Undefined variable $rule_extra in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Undefined variable $rule_extra in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/h
2025/06/11 10:34:38 [error] 1069#1069: *4829 FastCGI sent in stderr: "ing to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Undefined variable $rule_extra in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Undefined variable $rule_extra in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Undefined variable $rule_extra in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Undefined variable $rule_extra in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Undefined variable $rule_extra in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_ru
2025/06/11 10:34:38 [error] 1069#1069: *4829 FastCGI sent in stderr: " on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Undefined variable $rule_extra in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Undefined variable $rule_extra in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Undefined variable $rule_extra in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Trying to access array offset on null in /opt/librenms/includes/html/modal/alert_rule_list.inc.php on line 57; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on lin
2025/06/11 10:34:38 [error] 1069#1069: *4829 FastCGI sent in stderr: "/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PH
2025/06/11 10:34:38 [error] 1069#1069: *4829 FastCGI sent in stderr: "es/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP E
2025/06/11 10:34:38 [error] 1069#1069: *4829 FastCGI sent in stderr: "al/edit_alert_transport.inc.php on line 78; PHP message: PHP Error(8192): htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 78; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_tra
2025/06/11 10:34:38 [error] 1069#1069: *4829 FastCGI sent in stderr: "ired" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php on line 83; PHP message: PHP Error(2): Undefined array key "required" in /opt/librenms/includes/html/modal/edit_alert_transport.inc.php o
2025/06/11 10:34:38 [error] 1069#1069: *4829 upstream sent too big header while reading response header from upstream, client: 10.22.0.142, server: librenms.mydomain.nl, request: "GET /alert-rules HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm-librenms.sock:", host: "librenms.mydomain.nl", referrer: "https://librenms.mydomain.nl/alert-schedule"
Hope this helps in resolving the issues
Confirming this also fixed for me;
Edited /etc/nginx/fastcgi.conf and added;
fastcgi_buffer_size 128k;
fastcgi_buffers 16 128k;
To the bottom of the file, then service nginx restart and happy days!
validate.php is still throwing errors, but not getting 502’s everywhere so
librenms@server:~$ ./validate.php
===========================================
Component | Version
--------- | -------
LibreNMS | 25.5.0-109-g87a9feab3 (2025-06-11T21:04:03+12:00)
DB Schema | 2025_05_07_103301_fix_ipv4_addresses_id_type (342)
PHP | 8.3.6
Python | 3.12.3
Database | MariaDB 10.11.13-MariaDB-0ubuntu0.24.04.1
RRDTool | 1.7.2
SNMP | 5.9.4.pre2
===========================================
[OK] Composer Version: 2.8.9
[OK] Dependencies up-to-date.
[OK] Database Connected
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
PHP Error(2): stream_socket_client(): Unable to connect to tcp://127.0.0.1:6379 (Connection refused) in /opt/librenms/vendor/predis/predis/src/Connection/Resource/StreamFactory.php on line 209
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok
librenms@server:~$
I implemented the posted parameters in the Librenms environment, which resolved my issue. Thank you for the reference.
Yes this has worked for me too, thanks alot @hartred!!!
We are still working on fixing as many of the newly exposed bugs as we can. The most common ones should be fixed. Make sure you are up-to-date and post your errors from nginx error log.