Hi,
validate.sh return FAIL with:
Component | Version |
---|---|
LibreNMS | 1.39-37-g5fd81db |
DB Schema | 249 |
PHP | 7.0.28-0ubuntu0.16.04.1 |
MySQL | 5.7.21-20-log |
RRDTool | 1.5.5 |
SNMP | NET-SNMP 5.7.3 |
====================================
[OK] Composer Version: 1.6.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] chown -R librenms:librenms /opt/librenms
Files:
/opt/librenms/logs/librenms.log
/opt/librenms/storage/framework/sessions/jDZIEqeOwi4EfaeFI4DZmVljZsNyojPwOUGZEHho
/opt/librenms/storage/framework/sessions/zGDWxnNkgZftH2lYGNhULmZ1MfwzreBXhfbSKQGg
/opt/librenms/storage/framework/sessions/wW2FqTXAS4NwNFI7Mra2bYph3QbbwN7L8WPhaY1d
I now how to repair this, but how to ignore this?
ls -la /opt/librenms/storage/framework/sessions/jDZIEqeOwi4EfaeFI4DZmVljZsNyojPwOUGZEHho
-rw-rw-r-- 1 www-data www-data 257 maj 11 12:28 /opt/librenms/storage/framework/sessions/jDZIEqeOwi4EfaeFI4DZmVljZsNyojPwOUGZEHho
This is a normal for me - files are created via apache2.