[Solved] Basic question regarding Updates

I think my LibreNMS instance isn’t updating. After looking at the Updating documentation, it appears as if daily.sh hasn’t been run in quite some time. Here is my validate.php output:

==========================================================
LibreNMS Version: 9f50559f58adacbc98b1b1472d73bbbbe294ef38
DB Schema: 148
PHP: 7.0.18
MySQL: 5.5.52-MariaDB
RRDTool: 1.4.8
SNMP: NET-SNMP 5.7.2
==========================================================

If I try to manually run daily.sh, which I have never altered, I get the following error:

./daily.sh: line 152: syntax error near unexpected token `<<<'
./daily.sh: line 152: `<<<<<<< HEAD'

Any ideas? LibreNMS runs great, but I would like to be on the latest stable release.

This server is running ‘CentOS Linux release 7.3.1611 (Core)’.

Should I try to manually run these cmds:

cd /opt/librenms
git pull
php includes/sql-schema/update.php

There was a bad update to daily.sh at one point.
You need to git pull, then run ./daily.sh and finally ./validate.php

1 Like

Well that was easy. It worked great. Thanks @murrant!

==========================================================
Component | Version
--------- | -------
LibreNMS  | b6e18db766bf15bf576d95d569d260c106efbdf6
DB Schema | 190
PHP       | 7.0.18
MySQL     | 5.5.52-MariaDB
RRDTool   | 1.4.8
SNMP      | NET-SNMP 5.7.2
==========================================================