Repeatedly hitting index.lock failures
Aug 7 18:50:47 |DEBU| RunCommand command="git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium refs/heads/master --" Aug 7 18:50:47 |INFO| postRefreshUpdate for localBranches took 253.042µs Aug 7 18:50:47 |ERRO| read |0: file already closed Aug 7 18:50:48 |DEBU| RunCommand command="git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium refs/heads/my-new-branch --" Aug 7 18:50:48 |ERRO| read |0: file already closed Aug 7 18:50:48 |DEBU| RunCommand command="git checkout my-new-branch" Aug 7 18:50:48 |ERRO| fatal: Unable to create '/MyDirectory/.git/index.lock': File exists. Another git process seems to be running in this repository, or the lock file may be stale Aug 7 18:50:48 |INFO| git checkout my-new-branch (wall 101.912041ms, cpu 35.673ms) Aug 7 18:50:48 |WARN| lock error prevented command from running; retrying in 20ms Aug 7 18:50:48 |DEBU| RunCommand command="git checkout my-new-branch" Aug 7 18:50:48 |ERRO| fatal: Unable to create '/MyDirectory/.git/index.lock': File exists. Another git process seems to be running in this repository, or the lock file may be stale Aug 7 18:50:48 |INFO| git checkout my-new-branch (wall 108.728791ms, cpu 30.895ms) Aug 7 18:50:48 |WARN| lock error prevented command from running; retrying in 40ms Aug 7 18:50:48 |DEBU| RunCommand command="git checkout my-new-branch" Aug 7 18:50:48 |ERRO| fatal: Unable to create '/MyDirectory/.git/index.lock': File exists. Another git process seems to be running in this repository, or the lock file may be stale Aug 7 18:50:48 |INFO| git checkout my-new-branch (wall 111.455459ms, cpu 33.685ms) Aug 7 18:50:48 |WARN| lock error prevented command from running; retrying in 80ms Aug 7 18:50:48 |DEBU| RunCommand command="git checkout my-new-branch" Aug 7 18:50:49 |ERRO| fatal: Unable to create '/MyDirectory/.git/index.lock': File exists. Another git process seems to be running in this repository, or the lock file may be stale Aug 7 18:50:49 |INFO| git checkout my-new-branch (wall 102.784125ms, cpu 34.459ms) Aug 7 18:50:49 |WARN| lock error prevented command from running; retrying in 160ms Aug 7 18:50:49 |DEBU| RunCommand command="git checkout my-new-branch" Aug 7 18:50:49 |ERRO| fatal: Unable to create '/MyDirectory/.git/index.lock': File exists. Another git process seems to be running in this repository, or the lock file may be stale Aug 7 18:50:49 |INFO| git checkout my-new-branch (wall 109.252791ms, cpu 32.028ms) Aug 7 18:50:49 |WARN| lock error prevented command from running; retrying in 320ms Aug 7 18:50:49 |DEBU| RunCommand command="git checkout my-new-branch" Aug 7 18:50:49 |ERRO| fatal: Unable to create '/MyDirectory/.git/index.lock': File exists. Another git process seems to be running in this repository, or the lock file may be stale Aug 7 18:50:49 |INFO| git checkout my-new-branch (wall 106.687583ms, cpu 34.246ms) Aug 7 18:50:49 |WARN| lock error prevented command from running; retrying in 640ms Aug 7 18:50:50 |DEBU| RunCommand command="git checkout my-new-branch" Aug 7 18:50:50 |ERRO| fatal: Unable to create '/MyDirectory/.git/index.lock': File exists. Another git process seems to be running in this repository, or the lock file may be stale Aug 7 18:50:50 |INFO| git checkout my-new-branch (wall 107.590709ms, cpu 35.349ms) Aug 7 18:50:50 |INFO| refreshing all scopes (async) Aug 7 18:50:50 |DEBU| RunCommand command="git for-each-ref \"--format=%(objectname) %(refname)\" refs/heads" Aug 7 18:50:50 |INFO| git for-each-ref "--format=%(objectname) %(refname)" refs/heads (wall 33.102333ms, cpu 5.835ms) Aug 7 18:50:50 |INFO| RefsSnapshot took 33.274375ms Aug 7 18:50:50 |INFO| refreshed merge conflicts in 40.125µs
Source: jesseduffield/lazygit