Notifications.php code error - ($feed) must be of type array, bool given

Hi,

I have had a distributed setup running for a while now.

consists of:
web server
database server
3 pollers

Everything has been fairly fine but today with what seems no changes I can no longer see any alerts or history, make changes to the alert rules(just get error rule cannot be edited)

I’ve run daily.sh and didnt resolve.

librenms.log only shows:
production.ERROR: LibreNMS\Util\Notifications::parseAtom(): Argument #1 ($feed) must be of type array, bool given, called in /opt/librenms/LibreNMS/Util/Notifications.php on line 99 {“exception”:“[object] (TypeError(code: 0): LibreNMS\Util\Notifications::parseAtom(): Argument #1 ($feed) must be of type array, bool given, called in /opt/librenms/LibreNMS/Util/Notifications.php on line 99 at /opt/librenms/LibreNMS/Util/Notifications.php:136)”}

./validate, taken from web server

Component Version
LibreNMS 23.4.1-67-ge55c4e9e1 (2023-05-16T22:25:29+00:00)
DB Schema 2023_05_12_071412_devices_expand_timetaken_doubles (251)
PHP 8.1.13
Python 3.8.10
Database MariaDB 10.3.38-MariaDB-0ubuntu0.20.04.1
RRDTool 1.7.2
SNMP 5.8
===========================================

[OK] Composer Version: 2.5.5
[OK] Dependencies up-to-date.
[OK] Database connection successful
[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
[FAIL] You have no timezone set for php.
[FIX]:
PHP: Runtime Configuration - Manual
[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

it was the server address in the ngnix config. I was using a different URL than the one configured.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.