Hi Lads,
some can help me please, i do restart centos but after restart was something wrong because service Librenms don’t work properly.
my service show “Whoops, looks like something went wrong.”
below is log from validate.php
fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree.
Use ‘–’ to separate paths from revisions, like this:
‘git […] – […]’
fatal: Not a valid object name HEAD
fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree.
Use ‘–’ to separate paths from revisions, like this:
‘git […] – […]’
Component
Version
LibreNMS
DB Schema
251
PHP
7.2.6
MySQL
5.5.56-MariaDB
RRDTool
1.6.0
SNMP
NET-SNMP 5.7.2
====================================
[OK] Composer Version: 1.6.5
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree.
Use ‘–’ to separate paths from revisions, like this:
‘git […] – […]’
fatal: Not a valid object name HEAD
fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree.
Use ‘–’ to separate paths from revisions, like this:
‘git […] – […]’
fatal: index file smaller than expected
[FAIL] DateTime::__construct(): Failed to parse time string (@) at position 0 (@): Unexpected character
[WARN] Your local git branch is not master, this will prevent automatic updates.
[FIX] You can switch back to master with git checkout master
nothing to commit, working directory clean
[[email protected] .git]#
and something else
[[email protected] librenms]# ./daily.sh
Re-running /opt/librenms/daily.sh as librenms user
fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree.
Use ‘–’ to separate paths from revisions, like this:
‘git […] – […]’
fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree.
Use ‘–’ to separate paths from revisions, like this:
‘git […] – […]’
fatal: index file smaller than expected
fatal: Needed a single revision
Updating to latest codebase FAIL
fatal: index file smaller than expected
fatal: No such ref: HEAD
fatal: index file smaller than expected
fatal: Needed a single revision
Updating Composer packages OK
fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree.
Use ‘–’ to separate paths from revisions, like this:
‘git […] – […]’
Updated from unset to OK
Updating SQL-Schema OK
Updating submodules FAIL
fatal: index file smaller than expected
fatal: index file smaller than expected
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
Not sure though, on my mobile but if you search these forums for “Whoops, looks like something went wrong” you can find fixes for that particular problem. but fixing git should help.
some issues gone but next will be same as previews
fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree.
Use ‘–’ to separate paths from revisions, like this:
‘git […] – […]’
fatal: Not a valid object name HEAD
fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree.
Use ‘–’ to separate paths from revisions, like this:
‘git […] – […]’
fatal: index file smaller than expected
[FAIL] DateTime::__construct(): Failed to parse time string (@) at position 0 (@): Unexpected character
[WARN] Your local git branch is not master, this will prevent automatic updates.
[FIX] You can switch back to master with git checkout master