Script (daily.sh) issue

Hi. I used the downloadable VM image (CentOS) to build my LibreNMS.

I upgraded all CentOS packages, ran through all the relevant items for LibreNMS to get a Linux client on there, and it’s working fine for the most part. That was all a couple of days ago and I have been monitoring it ever since.

I got an error today on the web interface with:

image

I log into the machine, ran manually via root and it works fine:

ll /opt/librenms/daily.sh

-rwxrwxr-x 1 librenms librenms 8868 Sep 2 02:37 /opt/librenms/daily.sh

/opt/librenms/daily.sh

Re-running /opt/librenms/daily.sh as librenms user
Updating to latest release OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK

My validate is:

./validate.php

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

Component Version
LibreNMS 1.31.03
DB Schema 205
PHP 7.0.22
MySQL 5.5.52-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2
====================================

[OK] Database connection successful
[OK] Database schema correct
[WARN] Your local git branch is not master, this will prevent automatic updates.

Any ideas what I need to do to get rid of that error and allow for automatic updates?

Thanks.

And the pop up still shows?

Yeah still shows up… Logged out and then back in, still pops up.

Re-run ./daily.sh but do this as the librenms user.

OK, as librenms:

$ /opt/librenms/daily.sh
Updating to latest release OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK

I then logged out, restarted nginx, logged back in, the red warning still shows.

You can suppress the warning by go to your notifications and marking it as read.

Not sure why you’d be seeing this as all update issues should be resolved in 1.31.03 and we’ve not come across others having this issue.

That’s cool. Marked as read and stopped popping up in interface now.

Will monitor over the next update too. I just used the CentOS nginx VM available online to make things easy ie. use something out of the box, so what I have is basically the downloaded VM off the website.

Thanks for your help.