Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Git LFS error gob: bad data: field numbers out of bounds

Eyal Goren May 31, 2020

Hi,

 

We are testing a project that works with git lfs, and started to receive during git lfs locks (or locking file) the error-

 

Unable to create lock system: init lock cache: Problem reading updated key/value data from <repo location>\.git\lfs\lockcache.db: gob: bad data: field numbers out of bounds

 

What can cause the problem?

 

1 answer

1 accepted

1 vote
Answer accepted
Durga Rao December 17, 2020

Solution:

remove the file <repo location>\.git\lfs\lockcache.db 

 

rm <repo location>\.git\lfs\lockcache.db

Eyal Goren October 17, 2021

Thanks, but what is causing the issue?

 

It is weird to delete the file every few weeks.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events