Hi
I am getting update issue as showing below:
We just attempted to update your install but failed. The information below should help you fix this.
fatal: Unable to create ‘/opt/librenms/.git/index.lock’: File exists.
If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is running and remove the file manually to continue.
I tried to run " ./scripts/github-remove -d " but that did not help and firewall is off.
Below is an output of ./validate.php, git pull, ./daily.sh and git and firewall status
bash-4.2$ ./validate.php
Component | Version |
---|---|
LibreNMS | 21.2.0 |
DB Schema | 2021_02_09_084318_remove_perf_times (199) |
PHP | 7.3.22 |
Python | 3.6.8 |
MySQL | 5.5.64-MariaDB |
RRDTool | 1.4.8 |
SNMP | NET-SNMP 5.7.2 |
====================================
[OK] Composer Version: 2.0.11
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
…
bash-4.2$ git pull
remote: Enumerating objects: 504, done.
remote: Counting objects: 100% (504/504), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 1085 (delta 501), reused 502 (delta 501), pack-reused 581
Receiving objects: 100% (1085/1085), 2.69 MiB | 1.57 MiB/s, done.
Resolving deltas: 100% (724/724), completed with 283 local objects.
From https://github.com/librenms/librenms
- [new branch] gh-pages -> origin/gh-pages
599c423…1e3cc47 master -> origin/master - [new branch] php72 -> origin/php72
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$ ./daily.sh
Fetching new release information OK
Updating to latest release OK
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
…
bash-4.2$ git status
HEAD detached at 7b52b70
Untracked files:
(use “git add …” to include in what will be committed)
1
nothing added to commit but untracked files present (use “git add” to track)
…
sudo firewall-cmd --state
not running