Hi All!
We have a bunch of old dashboards that were created with account that is no longer available. Nowadays we are using LDAP authentication, but this specific account that was used to create these problematic dashboards ages a go was local. Now when I try to remove these dashboards I receive following message “ERROR: Could not delete dashboard x”, where x is some specific numeric value for that dashboard. I have admin level rights to this system. How do I remove these dashboards?
====================================
Component | Version |
---|---|
LibreNMS | 22.4.1 |
DB Schema | 2022_04_08_085504_isis_adjacencies_table_add_index (236) |
PHP | 7.4.29 |
Python | 3.6.8 |
MySQL | 10.5.15-MariaDB |
RRDTool | 1.4.8 |
SNMP | 5.7.2 |
==================================== |
[OK] Composer Version: 2.3.5
[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/html/plugins/Weathermap/output/core.png
/opt/librenms/html/plugins/Weathermap/output/core.html
/opt/librenms/storage/app/purifier
/opt/librenms/storage/app/purifier/HTML
/opt/librenms/storage/app/purifier/HTML/4.13.0,fe97c36109f79a043b63c51aaa36362f0f2f6553,1.ser