Daily.sh help

Noticed one of our librenms instances isn’t updating, hasn’t for quite some time. When I run daily.sh it doesn’t get very far. I’m a linux novice. This instance is running on red-hat enterprise version 7.6.

Any suggestions?

bash-4.2$ ./daily.sh
Updating SQL-Schema OK
Cleaning up DB OK
bash-4.2$
bash-4.2$
bash-4.2$ ./validate.php

Component Version
LibreNMS 1.39
DB Schema 249
PHP 7.0.15
MySQL 5.5.60-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

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

[OK] Composer Version: 1.9.0
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[FAIL] fping6 could not be executed. fping6 must have CAP_NET_RAW capability (getcap) or suid. Selinux exlusions may be required.
((null): can’t create raw socket (must run as root?) : Address family not supported by protocol)
bash-4.2$

May be a silly question, have you already tried running the below there has been an announcement on the community for a while about this…

su - librenms
git pull
./daily.sh

Regards,
Gary

Thanks for pointing that out. Here’s the output. Do I need to specify something after git pull ?

bash-4.2$ git pull
remote: Enumerating objects: 6435, done.
remote: Counting objects: 100% (6435/6435), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 18724 (delta 6427), reused 6427 (delta 6427), pack-reused 12289
Receiving objects: 100% (18724/18724), 24.87 MiB | 17.97 MiB/s, done.
Resolving deltas: 100% (14100/14100), completed with 2200 local objects.
From https://github.com/librenms/librenms

  • [new branch] 1.43 -> origin/1.43

  • [new branch] 1_50 -> origin/1_50

  • [new branch] IssueAddSupportDoc -> origin/IssueAddSupportDoc

  • [new branch] PipoCanaja-patch-1 -> origin/PipoCanaja-patch-1
    57a23a7…a0ba412 master -> origin/master

  • [new branch] php56 -> origin/php56

  • [new branch] volt-10518 -> origin/volt-10518

  • [new tag] 1.50.1 -> 1.50.1
    From https://github.com/librenms/librenms

  • [new tag] 1.40 -> 1.40

  • [new tag] 1.41 -> 1.41

  • [new tag] 1.42 -> 1.42

  • [new tag] 1.42.01 -> 1.42.01

  • [new tag] 1.43 -> 1.43

  • [new tag] 1.44 -> 1.44

  • [new tag] 1.45 -> 1.45

  • [new tag] 1.46 -> 1.46

  • [new tag] 1.47 -> 1.47

  • [new tag] 1.48 -> 1.48

  • [new tag] 1.48.1 -> 1.48.1

  • [new tag] 1.49 -> 1.49

  • [new tag] 1.50 -> 1.50

  • [new tag] 1.51 -> 1.51

  • [new tag] 1.52 -> 1.52

  • [new tag] 1.53 -> 1.53

  • [new tag] 1.53.1 -> 1.53.1

  • [new tag] 1.54 -> 1.54
    You are not currently on a branch. Please specify which
    branch you want to merge with. See git-pull(1) for details.

    git pull

bash-4.2$
bash-4.2$
bash-4.2$
bash-4.2$
bash-4.2$ ./daily.sh
Updating SQL-Schema OK
Cleaning up DB OK
bash-4.2$

Ok, paste the output of the following…

su - librenms
git log -n 1
git status

Thanks for your ongoing help. Here’s the output.

-bash-4.2$ cd /opt/librenms/
-bash-4.2$ git log -n 1
commit 386fea0321a86b197d302629a04d20d480828d6d
Author: Neil Lathwood [email protected]
Date: Sun Apr 29 21:42:40 2018 +0100

docs: Changelog for 1.39 Apr 2018 (#8636)

-bash-4.2$
-bash-4.2$ git status

HEAD detached at 1.39

Untracked files:

(use “git add …” to include in what will be committed)

scripts/rrdstep.php.bak

nothing added to commit but untracked files present (use “git add” to track)
-bash-4.2$

Any suggestions on what I could try next?

Any advice on this issue?