Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2019
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. [root@librenms librenms]# php validate.php
  2. ====================================
  3. Component | Version
  4. --------- | -------
  5. LibreNMS | 1.56-3-g74724a4
  6. DB Schema | 2019_09_29_114433_change_default_mempool_perc_warn_in_mempools_table (142)
  7. PHP | 7.2.21
  8. MySQL | 5.5.60-MariaDB
  9. RRDTool | 1.4.8
  10. SNMP | NET-SNMP 5.7.2
  11. ====================================
  12.  
  13. [OK] Composer Version: 1.9.0
  14. [OK] Dependencies up-to-date.
  15. [OK] Database connection successful
  16. [FAIL] Database: incorrect column (notifications/datetime)
  17. [FAIL] Database: incorrect column (users/created_at)
  18. [FAIL] We have detected that your database schema may be wrong, please report the following to us on Discord (https://t.libren.ms/discord) or the community site (https://t.libren.ms/5gscd):
  19. [FIX]:
  20. Run the following SQL statements to fix.
  21. SQL Statements:
  22. ALTER TABLE `notifications` CHANGE `datetime` `datetime` timestamp NOT NULL DEFAULT '1970-01-02 00:00:00' ;
  23. ALTER TABLE `users` CHANGE `created_at` `created_at` timestamp NOT NULL DEFAULT '1970-01-02 00:00:01' ;
  24. [WARN] Your install is over 24 hours out of date, last update: Tue, 01 Oct 2019 06:51:07 +0000
  25. [FIX]:
  26. Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
  27. [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.
  28. [FIX]:
  29. sudo chown -R librenms:librenms /opt/librenms
  30. sudo setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
  31. sudo chmod -R ug=rwX /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
  32. Files:
  33. /opt/librenms/.git/index
  34. /opt/librenms/logs/librenms.log
  35. /opt/librenms/logg
  36. /opt/librenms/syslog.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement