$ ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS | 1.63-112-ge41435235
DB Schema | 2020_04_19_010532_eventlog_sensor_reference_cleanup (164)
PHP | 7.4.6
Python | 3.8.3
MySQL | 10.1.44-MariaDB-0+deb9u1
RRDTool | 1.6.0
SNMP | NET-SNMP 5.7.3
====================================
[OK] Composer Version: 1.10.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[FAIL] Some folders have incorrect file permissions, this may cause issues.
[FIX]:
sudo chown -R librenms:librenms /opt/librenms
sudo setfacl -d -m g::rwx /home/rrd_storage/rrd/ /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
sudo chmod -R ug=rwX /home/rrd_storage/rrd/ /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
Files:
/opt/librenms/storage/framework/views/dbc9d946270884e38067936c4ac8ff8dcdd6bdab.php
$
Are you always in the librenms user context (su - librenms) when doing any updates or other commands within the librenms folder?
Yes, before running ./daily.sh I su librenms
This is the same always:
sudo chown -R librenms:librenms /opt/librenms
sudo setfacl -d -m g::rwx /home/rrd_storage/rrd/ /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
sudo chmod -R ug=rwX /home/rrd_storage/rrd/ /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
Dont worry about that. The file is generated by webserver and will not cause any issue to your LibreNMS.