go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.6k stars 5.45k forks source link

Cant open repository after restart #7538

Closed paulartjomow closed 5 years ago

paulartjomow commented 5 years ago

I can't open a repository after restart. The error code on the webinterface is 500 but in the console its 404.

Screenshots

image

lafriks commented 5 years ago

Check gitea.log for error

paulartjomow commented 5 years ago

2019/07/19 18:31:53 [...ules/context/repo.go:577 func1()] [E] GetBranchCommit: object does not exist [id: 41e8f4c72c2012772a026e6879b3a49c80d49e7b, rel_path: ] Can you help me with that?

lafriks commented 5 years ago

You should really update to latest Gitea version as 1.4.0 is quite old. Otherwise it looks something has broken in middle of git pushing and git data folder could be needed to be repaired

paulartjomow commented 5 years ago

Okay, updating gitea was a good idea but it doesnt fixed the problem. I deleted the whole repository and now it works.