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

Most upvoted comments

Fixed on Postgres too!