- librenms@localhost:~$ ./validate.php
- ===========================================
- Component | Version
- --------- | -------
- LibreNMS | 23.6.0-25-g0eebe7a25 (2023-07-11T12:10:48+02:00)
- DB Schema | 2023_04_27_164904_update_slas_opstatus_tinyint (252)
- PHP | 8.2.7
- Python | 3.11.2
- Database | MariaDB 10.11.3-MariaDB-1
- RRDTool | 1.7.2
- SNMP | 5.9.3
- ===========================================
- [OK] Composer Version: 2.5.8
- [OK] Dependencies up-to-date.
- [OK] Database connection successful
- [OK] Database Schema is current
- [OK] SQL Server meets minimum requirements
- [OK] lower_case_table_names is enabled
- [OK] MySQL engine is optimal
- [OK] Database and column collations are correct
- [OK] Database schema correct
- [OK] MySQl and PHP time match
- [OK] Active pollers found
- [OK] Dispatcher Service not detected
- [OK] Locks are functional
- [OK] Python poller wrapper is polling
- [OK] Redis is unavailable
- [FAIL] Python3 module issue found: 'Required packages: ['PyMySQL!=1.0.0', 'python-dotenv', 'redis>=4.0', 'setuptools', 'psutil>=5.6.0', 'command_runner>=1.3.0']
- Package not found: The 'command_runner>=1.3.0' distribution was not found and is required by the application
- '
- [FIX]:
- pip3 install -r /opt/librenms/requirements.txt
- [OK] rrdtool version ok
- [OK] Connected to rrdcached
- [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/rrd/smokeping/printer
- /opt/librenms/rrd/smokeping/printer/printer.rrd
- /opt/librenms/rrd/smokeping/__sortercache/data.lnmsFPing-0.storable
- /opt/librenms/rrd/smokeping/__sortercache/data.lnmsFPing-1.storable