Hi everyone,
I’ve found a strange issue on our LibreNMS infrastructure.
We have a heavy use of dynamics groups, especially for managing rights for ours end users.
We are using “Device access via Device Group” and we have a dynamic group for each team which is filtering devices based on their locations.
When the dynamic group is reaching 1k devices, the users using this group for rights find themselves with a blank dashboard, all widgets are displayed but with 0 devices and 0 alerts.
This line is logged in librenms.log when someone in this group is trying to refresh the dashboard page:
production.ERROR: Trying to get property ‘name’ of non-object {“userId”:21,“exception”:"[object] (ErrorException(code: 0): Trying to get property ‘name’ of non-object at /opt/librenms/app/Http/Controllers/Widgets/WidgetController.php:78)"}
Thanks for your help !
------ validate.php ------
Component | Version |
---|---|
LibreNMS | 22.3.0-26-g686a27f68 |
DB Schema | 2022_02_03_164059_increase_auth_id_length (235) |
PHP | 7.4.3 |
Python | 3.8.10 |
MySQL | 10.3.34-MariaDB-0ubuntu0.20.04.1 |
RRDTool | 1.7.2 |
SNMP | 5.8 |
====================================
[OK] Composer Version: 2.3.4
[OK] Dependencies up-to-date.
[FAIL] APP_KEY does not match key used to encrypt data. APP_KEY must be the same on all nodes.
[FIX]:
If you rotated APP_KEY, run lnms key:rotate to resolve.
[OK] Database connection successful
[OK] Database schema correct
[INFO] Detected Python Wrapper
[OK] Connection to memcached is ok