gitea: Merging pull requests on repository with LFS not working
- Gitea version 1.4.3/1.5.0-rc installed from binary
- Git version: 2.17.1
- Operating system: Ubuntu Server 18.04 LTS
- Database (use
[x]):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
Merging pull requests from web interface not working on repository with LFS. I can commit, merge and push branches on local machine with git CLI or Github for Windows, but not in gitea web.
Web Interface just fall to error 500 page after pressing Merge button.
Gitea.log:
2018/07/17 23:07:35 […routers/repo/pull.go:533 MergePullRequest()] [E] Merge: git clone: Cloning into ‘/var/lib/gitea/data/tmp/local-repo/merge-192609140.git’… done. Downloading File.bin (11 KB) Error downloading object: File.bin (08afa7b): Smudge error: Error downloading File.bin (08afa7bbdbb8224c12d26dad8bb3641a8c0eacd032c47bba0f91275e0d892fef): batch request: missing protocol: “/home/git/gitea-repositories/liquid/test.git/info/lfs”
Errors logged to /var/lib/gitea/data/tmp/local-repo/merge-192609140.git/.git/lfs/objects/logs/20180717T230735.214492563.log Use
git lfs logs lastto view the log. error: external filter ‘git-lfs filter-process’ failed fatal: File.bin: smudge filter lfs failed warning: Clone succeeded, but checkout failed. You can inspect what was checked out with ‘git status’ and retry the checkout with ‘git checkout -f HEAD’
Seems like something related to lfs.url on server side, but what and how to fix?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 28 (15 by maintainers)
But this at least finally gives those of you experiencing this bug a workaround until I get a fix in.