ℹ️ Your data is safe here... unless you make the SNIP gods angry. And let's just say they have a really bad sense of humor.

From qtpie, 1 Year ago, written in Plain Text.
Embed
  1. librenms@localhost:~$ ./validate.php
  2. ===========================================
  3. Component | Version
  4. --------- | -------
  5. LibreNMS  | 23.6.0-25-g0eebe7a25 (2023-07-11T12:10:48+02:00)
  6. DB Schema | 2023_04_27_164904_update_slas_opstatus_tinyint (252)
  7. PHP       | 8.2.7
  8. Python    | 3.11.2
  9. Database  | MariaDB 10.11.3-MariaDB-1
  10. RRDTool   | 1.7.2
  11. SNMP      | 5.9.3
  12. ===========================================
  13.  
  14. [OK]    Composer Version: 2.5.8
  15. [OK]    Dependencies up-to-date.
  16. [OK]    Database connection successful
  17. [OK]    Database Schema is current
  18. [OK]    SQL Server meets minimum requirements
  19. [OK]    lower_case_table_names is enabled
  20. [OK]    MySQL engine is optimal
  21. [OK]    Database and column collations are correct
  22. [OK]    Database schema correct
  23. [OK]    MySQl and PHP time match
  24. [OK]    Active pollers found
  25. [OK]    Dispatcher Service not detected
  26. [OK]    Locks are functional
  27. [OK]    Python poller wrapper is polling
  28. [OK]    Redis is unavailable
  29. [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']
  30. Package not found: The 'command_runner>=1.3.0' distribution was not found and is required by the application
  31. '
  32.  [FIX]:
  33.  pip3 install -r /opt/librenms/requirements.txt
  34. [OK]    rrdtool version ok
  35. [OK]    Connected to rrdcached
  36. [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.
  37.  [FIX]:
  38.  sudo chown -R librenms:librenms /opt/librenms
  39.  sudo setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
  40.  sudo chmod -R ug=rwX /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
  41.  Files:
  42.   /opt/librenms/rrd/smokeping/printer
  43.   /opt/librenms/rrd/smokeping/printer/printer.rrd
  44.   /opt/librenms/rrd/smokeping/__sortercache/data.lnmsFPing-0.storable
  45.   /opt/librenms/rrd/smokeping/__sortercache/data.lnmsFPing-1.storable
  46.  
captcha