Steps to reproduce the issue:
I have added a device to a user so they can see it. They do not see it. There are no devices found. This has happened after a LibreNMS update, but I am not sure which.
Six devices belong to this user. Adding all six doesn’t cause any to show up either.
I, as an admin, see all devices.
I have tried deleting all devices and re-adding. This does not work either. The user keeps not seeing any devices.
Both my customer and I don’t see the devices (when I am logged in as them).
LDAP authentication is used.
The output of ./validate.php
:
====================================
Component | Version
--------- | -------
LibreNMS | 1.43-148-g0db8d0c
DB Schema | 268
PHP | 7.1.22
MySQL | 5.5.60-MariaDB
RRDTool | 1.4.8
SNMP | NET-SNMP 5.7.2
====================================
[OK] Composer Version: 1.7.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[FAIL] We have found some files that are owned by a different user than librenms, this will stop you updating automatically and / or rrd files being updated causing graphs to fail.
[FIX] sudo chown -R librenms:librenms /opt/librenms
sudo setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
sudo chmod -R ug=rwX /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
Files:
/opt/librenms/.git/refs/heads/master
/opt/librenms/.git/refs/remotes/origin/master
/opt/librenms/.git/refs/stash
/opt/librenms/.git/objects/e0/59671113aacacca9dccc951dfafa8ca7df2bdb
/opt/librenms/.git/objects/b8/7845069b3498605a0ad1321f243a1a3b08ffb3
/opt/librenms/.git/objects/5d/1ff9e1d0ac9dd55dc038c1558c5caa64e83aa3
/opt/librenms/.git/objects/0d/b8d0ca700fa9ae0d31ee92ea3a0fdd7880262b
/opt/librenms/.git/objects/2f/4af0e3ede7ff7a169954a282d0d69bf992f72e
/opt/librenms/.git/objects/07/df04197a2dd492ca250fb59950b6a86e6c3c1b
/opt/librenms/.git/objects/7b/91223a3ce0aa042e71959ed762776f24ce6521
/opt/librenms/.git/objects/f6/e85dcccff34fb931a317a9335e22b74b2e3d73
/opt/librenms/.git/objects/8d/3a6b7f818aff0462414e5d6244e0b07bedd01a
/opt/librenms/.git/objects/01/e86da1956bf6593c9d096187b8615493992779
/opt/librenms/.git/objects/9e/f24481c15a08b623520e5638a8589daf5fd9e9
/opt/librenms/.git/objects/b7/c551933c23b511381f445bcc61a3dc1dee4253
and 7 more...