gitea: Cannot push to repositories
- Gitea version (or commit ref): bf24099114d75dbc625bc8385a0a7d969d0c3748
- Git version: 2.9.3
- Operating system: Ubuntu 16.10
- Database (use
[x]):- PostgreSQL
- MySQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io: Not sure
- Log gist: Nothing abnormal but this line in post-recieve log:
2017/02/26 11:32:59 [...io/gitea/cmd/hook.go:118 runHookPreReceive()] [F] Fail to detect force push: exit status 128 - fatal: Not a git repository: '.'
Description
I cannot push anything to any of my repos anymore. Everything else still works.
I have tried enabling protected branches, disabling it, and it still happens.
Counting objects: 13, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (12/12), done.
Writing objects: 100% (13/13), 14.26 MiB | 16.07 MiB/s, done.
Total 13 (delta 2), reused 0 (delta 0)
remote: Gitea: Internal error
remote: Fail to detect force push: exit status 128 - fatal: Not a git repository: '.'
remote:
To git url here
! [remote rejected] master -> master (pre-receive hook declined)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (9 by maintainers)
Commits related to this issue
- umcomment force push detect to fix bug #1073 — committed to lunny/gitea by lunny 7 years ago
- Comment force push detect to fix bug #1073 (#1077) * umcomment force push detect to fix bug #1073 * fix #1086 * handle global config set and fix #1086 — committed to go-gitea/gitea by lunny 7 years ago
Fixed on Postgres too!