Daily.sh not work and I have a problem with the validate.php

Hello,

First I saw that the librenms did’nt update since a while :
-bash-4.2$ ./validate.php

Component Version
LibreNMS 1.48.1-25-g21192a9
DB Schema 2019_01_16_195644_add_vrf_id_and_bgpLocalAs (131)
PHP 7.2.27
MySQL 5.5.56-MariaDB
RRDTool 1.6.0
SNMP NET-SNMP 5.7.2

====================================

[OK] Composer Version: 1.10.1
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[FAIL] The poller (xxx) has not completed within the last 5 minutes, check the cron job.
[FAIL] The poller (xxx) has not completed within the last 5 minutes, check the cron job.
[FAIL] The poller (xxx) has not completed within the last 5 minutes, check the cron job.
[WARN] Some devices have not been polled in the last 5 minutes. You may have performance issues.
[FIX]:
Check your poll log and see: http://docs.librenms.org/Support/Performance/
Devices:
xxx
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[WARN] Your install is over 24 hours out of date, last update: Fri, 08 Feb 2019 14:17:29 +0000
[FIX]:
Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
[WARN] You are on the PHP 5.6/7.0 support branch, this will prevent automatic updates.
[FIX]:
Update to PHP 7.1.3 or newer (PHP 7.2 recommended) to continue to receive updates.
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
includes/polling/cisco-remote-access-monitor.inc.php
mibs/adva/ADVA-FSPR7-CAP-MIB.mib
mibs/adva/ADVA-FSPR7-CFM-EXTENSION-MIB.mib
mibs/adva/ADVA-FSPR7-DEF-MIB.mib
mibs/adva/ADVA-FSPR7-MIB.mib
mibs/adva/ADVA-FSPR7-MODULE-ENCRYPTION-MIB.mib
mibs/adva/ADVA-FSPR7-PM-MIB.mib
mibs/adva/ADVA-FSPR7-TC-MIB.mib
mibs/adva/ADVA-MIB.mib
mibs/adva/fsp150cm-alarm.mib
mibs/adva/fsp150cm-amp.mib
mibs/adva/fsp150cm-bfd.mib
mibs/adva/fsp150cm-bridge.mib
mibs/adva/fsp150cm-cap.mib
mibs/adva/fsp150cm-cfm.mib
and 67 more…

I forced the update with git :

git init
git remote add origin https://github.com/librenms/librenms.git
git fetch
git reset origin/master --mixed

But I still have problem :

-bash-4.2$ ./validate.php

Component Version
LibreNMS 1.62-35-g01350a2
DB Schema 2019_01_16_195644_add_vrf_id_and_bgpLocalAs (131)
PHP 7.2.27
MySQL 5.5.56-MariaDB
RRDTool 1.6.0
SNMP NET-SNMP 5.7.2

====================================

[OK] Composer Version: 1.10.1
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[FAIL] The poller (xxx-nocmon.xxx) has not completed within the last 5 minutes, check the cron job.
[FAIL] The poller (xxx) has not completed within the last 5 minutes, check the cron job.
[FAIL] The poller (xxx) has not completed within the last 5 minutes, check the cron job.
[WARN] Some devices have not been polled in the last 5 minutes. You may have performance issues.
[FIX]:
Check your poll log and see: http://docs.librenms.org/Support/Performance/
Devices:
xxxx
xxxx
xxxx
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[WARN] You are on the PHP 5.6/7.0 support branch, this will prevent automatic updates.
[FIX]:
Update to PHP 7.1.3 or newer (PHP 7.2 recommended) to continue to receive updates.
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
.editorconfig
.env.dusk.testing
.github/FUNDING.yml
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE/New-Device.md
.github/PULL_REQUEST_TEMPLATE.md
.gitignore
.travis.yml
AUTHORS.md
CONTRIBUTING.md
LibreNMS/Alert/AlertDB.php
LibreNMS/Alert/AlertRules.php
LibreNMS/Alert/AlertUtil.php
LibreNMS/Alert/RunAlerts.php
LibreNMS/Alert/Template.php
and 2676 more…

Thanks in advance

Best regards

David

Maybe try this?

update php to 7.2 or newer

su - librenms
git pull
./daily.sh

Hello,

To solve this problem :
./scripts/github-remove -s
…/daily.sh

Best Regards

David