gitea: Pull request 500 error
- Gitea version: 1.9.4
- Git version: 2.22.0
- Operating system: ubuntu 18.04
- Database :
- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
I get 500 error on creating new pull request.
Pre-push file does not exist on gitea server.
Logs:
2019/10/23 14:27:44 routers/repo/pull.go:751:CompareAndPullRequestPost() [E] PushToBaseRepo: Push: exit status 1 - \nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.\n
error: failed to push some refs to '/data/git/repositories/company/product.git'
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17 (8 by maintainers)
I checked all hooks (also child hooks) and i found lfs hook in one of the. Removal of this lfs hook solved pull request error.