Skip to content

Cannot push to repositories #1073

@pgaskin

Description

@pgaskin
  • Gitea version (or commit ref): bf24099
  • 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/criticalThis issue should be fixed ASAP. If it is a PR, the PR should be merged ASAPtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions