When you see LINK, I mean this link : https://github.com/librenms/librenms.git/
Can’t use more than 2 links in my first post …
So I changed the IP address of my librenms server from 10.90.16.101 to 10.90.16.102 because I made a mistake some days ago. Now I got a permanent warning : Error: Daily update failed
[The daily update script (daily.sh) has failed on monitoring.Please check output by hand. If you need assistance, visit the LibreNMS Website to find out how.
So i logged in to the server, and tries to run daily.sh manually…
[root@monitoring librenms]# ./daily.sh
Re-running /opt/librenms/daily.sh as librenms user
Updating to latest codebase FAIL
fatal: unable to access ‘LINK’: Peer’s Certificate has expired.
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
[root@monitoring librenms]# su - librenms
Last login: Sat Jan 1 08:43:47 CET 2005 on pts/0
-bash-4.2$ git pull
fatal: unable to access ‘LINK’: Peer’s Certificate has expired.
Somebody over here that can help me with this issue?
-bash-4.2$ ./validate.php
[Composer\Downloader\TransportException]
The “versions” file could not be downloaded: SSL op
eration failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify
failed
Failed to enable crypto
failed to open stream: operation failed
self-update [-r|–rollback] [–clean-backups] [–no-progress] [–update-keys] [- -stable] [–preview] [–snapshot] [–set-channel-only] [–] []
[Composer\Downloader\TransportException]
The “versions” file could not be downloaded: SSL op
eration failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify
failed
Failed to enable crypto
failed to open stream: operation failed
self-update [-r|–rollback] [–clean-backups] [–no-progress] [–update-keys] [- -stable] [–preview] [–snapshot] [–set-channel-only] [–] []
====================================
Component | Version |
---|---|
LibreNMS | 1.62-16-g7d2a1ae |
DB Schema | 2020_03_25_165300_add_column_to_ports (161) |
PHP | 7.2.24 |
MySQL | 5.5.64-MariaDB |
RRDTool | 1.4.8 |
SNMP | NET-SNMP 5.7.2 |
====================================
[OK] Composer Version: 1.10.1
[OK] Dependencies up-to-date.
[OK] Database connection successful
[FAIL] Time between this server and the mysql database is off
Mysql time 2005-01-01 09:05:32
PHP time 2005-01-01 08:05:32
[OK] Database schema correct
[FAIL] You have no timezone set for php.
[FIX]:
PHP dot net link
[WARN] Your install is over 24 hours out of date, last update: Thu, 02 Apr 2020 21:38:38 +0000
[FIX]:
Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
[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/.git/ORIG_HEAD
/opt/librenms/config/hashing.php.tmp
/opt/librenms/config/logging.php.tmp
/opt/librenms/config/tinker.php.tmp
/opt/librenms/config/tinker.php
/opt/librenms/config/logging.php
/opt/librenms/config/hashing.php
/opt/librenms/.composer
/opt/librenms/.composer/.htaccess
/opt/librenms/.composer/cache
/opt/librenms/.composer/cache/.htaccess
/opt/librenms/.composer/cache/repo
/opt/librenms/.composer/cache/repo/https—repo.packagist.org
/opt/librenms/.composer/cache/files