You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can track/push/pull files normally with git lfs commands, but when I want to lock a file with:
$ git lfs lock image.jpg
It fails and here is the message:
Lock failed: Repository or object not found: http://192.168.2.36:9999/locks
Check that it exists and that you have proper access to it
Can somebody help me with this? Thanks.
The text was updated successfully, but these errors were encountered:
Well, I find the mistake.
The url I write in my client config file ".lfsconfig" is "http://192.168.2.36:9999". It should be "http://192.168.2.36:9999/info/lfs".
But it's weird, since I can normally use "git lfs pull/push" even with a wrong url.
Anyway, I can use file locking now~
Thanks !
Hi. I get a problem with file locking.
Here is my server config:
LFS_LISTEN="tcp://:9999"
LFS_HOST="192.168.2.36:9999"
LFS_CONTENTPATH="/usr/local/lib/git-lfs-server/content"
LFS_METADB="/usr/local/lib/git-lfs-server/lfs.db"
LFS_ADMINUSER="cc"
LFS_ADMINPASS="cc"
I can track/push/pull files normally with git lfs commands, but when I want to lock a file with:
$ git lfs lock image.jpg
It fails and here is the message:
Lock failed: Repository or object not found: http://192.168.2.36:9999/locks
Check that it exists and that you have proper access to it
Can somebody help me with this? Thanks.
The text was updated successfully, but these errors were encountered: