Closed
Description
- Gitea version (or commit ref): 1.4.1
- Git version: git version 2.17.0.windows.1
- Operating system: git client is on Windows 7 Enterprise 64 bit, gitea server on ubuntu linux 16.04.4
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL): https://try.gitea.io/S2-/test
- No
- Not relevant
- Log gist:
C:\Temp\l>git lfs lock Fly.jpg
14:10:03.364146 git.c:576 trace: exec: git-lfs lock Fly.jpg
14:10:03.364146 run-command.c:640 trace: run_command: git-lfs lock Fly.jpg
14:10:03.458146 trace git-lfs: exec: git 'version'
14:10:03.567146 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' 'HEAD' '--symbolic-full-name' 'HEAD'
14:10:03.596146 trace git-lfs: exec: git 'config' '-l'
14:10:03.620146 trace git-lfs: HTTP: POST https://try.gitea.io/S2-/test.git/info/lfs/locks
14:10:04.168146 trace git-lfs: HTTP: 404
Lock failed: Repository or object not found: https://try.gitea.io/S2-/test.git/info/lfs/locks
Check that it exists and that you have proper access to it
C:\Temp\l>git lfs locks
14:10:52.084146 git.c:576 trace: exec: git-lfs locks
14:10:52.085146 run-command.c:640 trace: run_command: git-lfs locks
14:10:52.184146 trace git-lfs: exec: git 'version'
14:10:52.198146 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' 'HEAD' '--symbolic-full-name' 'HEAD'
14:10:52.305146 trace git-lfs: exec: git 'config' '-l'
14:10:52.329146 trace git-lfs: HTTP: GET https://try.gitea.io/S2-/test.git/info/lfs/locks
14:10:52.856146 trace git-lfs: HTTP: 404
Error while retrieving locks: Repository or object not found: https://try.gitea.io/S2-/test.git/info/lfs/locks?refspec=refs%2Fheads%2Fmaster
Check that it exists and that you have proper access to it
C:\Temp\l>git lfs ls-files
14:10:57.664146 git.c:576 trace: exec: git-lfs ls-files
14:10:57.665146 run-command.c:640 trace: run_command: git-lfs ls-files
14:10:57.767146 trace git-lfs: exec: git 'version'
14:10:57.875146 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' 'HEAD' '--symbolic-full-name' 'HEAD'
14:10:57.891146 trace git-lfs: exec: git 'config' '-l'
14:10:57.912146 trace git-lfs: run_command: git cat-file --batch
14:10:57.934146 trace git-lfs: run_command: git cat-file --batch
14:10:57.944146 trace git-lfs: filepathfilter: rejecting ".gitattributes" via []
14:10:57.944146 trace git-lfs: filepathfilter: accepting ".gitattributes"
14:10:57.944146 trace git-lfs: filepathfilter: rejecting "3137588.png" via []
14:10:57.944146 trace git-lfs: filepathfilter: accepting "3137588.png"
14:10:57.945146 trace git-lfs: filepathfilter: rejecting "Fly.jpg" via []
14:10:57.945146 trace git-lfs: filepathfilter: accepting "Fly.jpg"
49726dca8c * 3137588.png
a553cfb03b * Fly.jpg
Description
git lock returns
Lock failed: Repository or object not found: https://try.gitea.io/S2-/test.git/info/lfs/locks
Check that it exists and that you have proper access to it
and an http status 404 is returned.
Metadata
Metadata
Assignees
Labels
No labels