Steps to reproduce: in the Web UI: > Notifications > Show Archive.
Latest notification was:
It may be relevant that our time zone is IST which is UTC+5:30
./validate.php
output
====================================
Component | Version
--------- | -------
LibreNMS | 1.58.1
DB Schema | 2019_10_03_211702_serialize_config (147)
PHP | 7.3.11-1~deb10u1
MySQL | 10.3.18-MariaDB-0+deb10u1
RRDTool | 1.7.1
SNMP | NET-SNMP 5.7.3
====================================
[OK] Composer Version: 1.9.1
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
bootstrap/cache/.gitignore
logs/.gitignore
rrd/.gitignore
storage/app/.gitignore
storage/app/public/.gitignore
storage/debugbar/.gitignore
storage/framework/cache/.gitignore
storage/framework/cache/data/.gitignore
storage/framework/sessions/.gitignore
storage/framework/testing/.gitignore
storage/framework/views/.gitignore
storage/logs/.gitignore
[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 /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/storage/framework/views/baadba06d2f72a84642c1a5655fd4de8
Regards the git warning I ran:
librenms:/opt/librenms$ ./scripts/github-remove --discard
Are you sure you want to delete all modified and untracked files? [y/N] y
Regards “Some folders have incorrect file permissions” I made some ugly perms fixes which I want to ask about in a separate post. The changes were:
librenms:~$ chmod 666 /opt/librenms/logs/librenms.log
root:~# chown -R librenms:librenms /opt/librenms
root:~# setfacl -d -m g::rwx /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/logs /opt/librenms/rrd
root:~# chmod -R ug=rwX /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/logs /opt/librenms/rrd
librenms:~$ chmod 777 /opt/librenms/storage/framework/sessions/
librenms:~$ chmod 777 /opt/librenms/storage/framework/views/