Update Failed from 1.69-170 - ./daily.sh -

Will the break my updates for any future release?

can you share the output of

grep IFS $PWD/daily.sh /opt/librenms/daily.sh

Something weird is going on with your install. This might break future updates, not sure.

Hi

Output below

grep IFS $PWD/daily.sh /opt/librenms/daily.sh
/opt/librenms/daily.sh: local IFS i ver1 ver2 parts1 parts2
/opt/librenms/daily.sh: IFS=.
/opt/librenms/daily.sh: IFS=‘-’ read -ra full_version <<< “$(git describe --tags 2>/dev/null)”
/opt/librenms/daily.sh: local IFS i ver1 ver2 parts1 parts2
/opt/librenms/daily.sh: IFS=.
/opt/librenms/daily.sh: IFS=‘-’ read -ra full_version <<< “$(git describe --tags 2>/dev/null)”

Thanks

This looks like the 1.70.0 release.

Have you tried manually updating using git pull command? This needs to run as librenms user.

1 Like

librenms@assa-monitoring:~$ git pull
Updating 305f97161…8e718d6e4
Fast-forward
.github/ISSUE_TEMPLATE/New-Device.md | 2 ±
.github/PULL_REQUEST_TEMPLATE.md | 2 ±
.github/workflows/doc.yml | 50 ++
CODE_OF_CONDUCT.md | 2 ±
LibreNMS/Modules/Mempools.php | 7 ±
LibreNMS/Modules/Mpls.php | 2 ±
LibreNMS/Modules/Nac.php | 2 ±
LibreNMS/OS/Coriant.php | 2 ±
LibreNMS/OS/Traits/HostResources.php | 2 ±
LibreNMS/Util/Version.php | 2 ±
LibreNMS/library.py | 88 ±–
README.md | 6 ±
alerts.php | 2 ±
app/Http/Controllers/Table/MempoolsController.php | 4 ±
app/Models/Mempool.php | 14 ±
app/Observers/MempoolObserver.php | 46 ++
{LibreNMS/Util => app/Observers}/ModuleModelObserver.php | 10 ±
app/Providers/LegacyUserProvider.php | 2 ±
daily.sh | 8 ±
doc/Developing/Code-Structure.md | 2 ±
doc/Developing/Validating-Code.md | 2 ±
doc/Developing/os/Mem-CPU-Information.md | 2 ±
doc/Dockerfile | 16 +
doc/Extensions/Agent-Setup.md | 3 ±
doc/Extensions/Applications.md | 4 ±
doc/Extensions/Authentication.md | 2 ±
doc/Extensions/Dispatcher-Service.md | 9 ±
doc/Extensions/Distributed-Poller.md | 2 ±
doc/Extensions/Fast-Ping-Check.md | 4 ±
doc/Extensions/Proxmox.md | 2 ±
doc/Extensions/RRDCached.md | 4 ±
doc/Extensions/Smokeping.md | 4 ±
doc/Extensions/Syslog.md | 3 ±
doc/Extensions/Varnish.md | 4 ±
doc/General/Changelog.md | 129 +++++
doc/General/Welcome-to-Observium-users.md | 2 ±
doc/Installation/Install-LibreNMS.md | 17 ±
doc/Installation/Installation-CentOS-6-Apache-Nginx.md | 7 ±
doc/Installation/Installation-CentOS-7-Apache.md | 18 ±
doc/Installation/Installation-CentOS-7-Nginx.md | 17 ±
doc/Installation/Installation-Debian-10-Nginx.md | 17 ±
doc/Installation/Installation-Ubuntu-1604-Apache.md | 14 ±
doc/Installation/Installation-Ubuntu-1604-Nginx.md | 17 ±
doc/Installation/Installation-Ubuntu-1804-Apache.md | 17 ±
doc/Installation/Installation-Ubuntu-1804-Nginx.md | 17 ±
doc/Support/FAQ.md | 11 ±
doc/Support/Performance.md | 6 ±
html/css/app.css | 2 ±
html/images/os/opnsense.png | Bin 1203 -> 0 bytes
html/images/os/opnsense.svg | 1 +
html/js/app.js | 2 ±
html/js/vendor.js | 3 ±
html/mix-manifest.json | 19 ±
includes/definitions/enexus.yaml | 2 ±
includes/html/dev-overview-data.inc.php | 2 ±
includes/html/graphs/device/mempool.inc.php | 57 +±
includes/html/pages/device/overview/mempools.inc.php | 2 ±
misc/config_definitions.json | 1 +
mkdocs.yml | 8 ±
package-lock.json | 4679 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++±------------------------------------------------------------------------------------
package.json | 26 ±
resources/js/components/SettingArray.vue | 4 +
tests/data/aix.json | 2 ±
tests/data/aix_net-snmp.json | 2 ±
tests/data/aix_std.json | 2 ±
tests/data/arbos.json | 2 ±
tests/data/barracudangfirewall.json | 2 ±
tests/data/bluecatnetworks.json | 2 ±
tests/data/cirpack.json | 2 ±
tests/data/datadomain.json | 2 ±
tests/data/dell-os10.json | 2 ±
tests/data/dhcpatriot.json | 2 ±
tests/data/dsm.json | 2 ±
tests/data/dsm_ds214se.json | 2 ±
tests/data/enexus_eltek-smartpack2-syst.json | 1820 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tests/data/exagridos.json | 2 ±
tests/data/gaia.json | 2 ±
tests/data/gos.json | 2 ±
tests/data/mobileiron_core.json | 2 ±
tests/data/mobileiron_sentry.json | 2 ±
tests/data/nios.json | 2 ±
tests/data/omnipcx.json | 2 ±
tests/data/opnsense.json | 4 ±
tests/data/opnsense_1.json | 4 ±
tests/data/panos_vsys.json | 2 ±
tests/data/procera.json | 2 ±
tests/data/qnap.json | 2 ±
tests/data/quantastor.json | 2 ±
tests/data/recoveryos.json | 2 ±
tests/data/recoveryos_8024s.json | 2 ±
tests/data/solidserver.json | 2 ±
tests/data/sophos-xg.json | 2 ±
tests/data/truenas.json | 2 ±
tests/snmpsim/enexus_eltek-smartpack2-syst.snmprec | 973 +++++++++++++++++++++++++++++++++++
validate.php | 1 -
95 files changed, 5589 insertions(+), 2682 deletions(-)
create mode 100644 .github/workflows/doc.yml
create mode 100644 app/Observers/MempoolObserver.php
rename {LibreNMS/Util => app/Observers}/ModuleModelObserver.php (92%)
create mode 100644 doc/Dockerfile
delete mode 100755 html/images/os/opnsense.png
create mode 100644 html/images/os/opnsense.svg
create mode 100644 tests/data/enexus_eltek-smartpack2-syst.json
create mode 100644 tests/snmpsim/enexus_eltek-smartpack2-syst.snmprec
librenms@assa-monitoring:~$ ./daily.sh
Fetching new release information OK
Between releases, waiting for newer release
Updating Composer packages OK
Updated from unset to OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
librenms@assa-monitoring:~$

librenms@assa-monitoring:~$ ./validate.php

Component Version
LibreNMS 1.70.1-5-g8e718d6e4
DB Schema 2020_10_12_095504_mempools_add_oids (191)
PHP 7.4.3
Python 3.8.5
MySQL 10.3.25-MariaDB-0ubuntu0.20.04.1
RRDTool 1.7.2
SNMP NET-SNMP 5.8

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

[OK] Composer Version: 2.0.8
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

Seemed to worked.

Thanks

1 Like

That is good news

YW

This worked, but after running ./validate.php I had to also run

[FAIL] Missing dependencies!
[FIX]:
/opt/librenms/scripts/composer_wrapper.php install --no-dev
Dependencies:
webmozart/assert

run the command

I did run the command and it fixed it. All good now.