Cant open repository after restart #3629

Closed
opened 2025-11-02 05:20:02 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @paulartjomow on GitHub (Jul 19, 2019).

  • Gitea version (or commit ref): 1.4.0
  • Git version: 2.11.0
  • Operating system: Raspbian GNU/Linux 9 (stretch)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
[Macaron] 2019-07-19 18:09:44: Started GET /Spigot/Lobby-System for 90.146.43.28
[Macaron] 2019-07-19 18:09:44: Completed GET /Spigot/Lobby-System 404 Not Found in 170.215696ms

Description

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

Screenshots

image

Originally created by @paulartjomow on GitHub (Jul 19, 2019). - Gitea version (or commit ref): 1.4.0 - Git version: 2.11.0 - Operating system: Raspbian GNU/Linux 9 (stretch) - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ``` [Macaron] 2019-07-19 18:09:44: Started GET /Spigot/Lobby-System for 90.146.43.28 [Macaron] 2019-07-19 18:09:44: Completed GET /Spigot/Lobby-System 404 Not Found in 170.215696ms ``` ## Description I can't open a repository after restart. The error code on the webinterface is 500 but in the console its 404. ## Screenshots ![image](https://user-images.githubusercontent.com/24830552/61552924-6ed86f00-aa59-11e9-933f-859b769696f7.png)
GiteaMirror added the issue/needs-feedback label 2025-11-02 05:20:02 -06:00
Author
Owner

@lafriks commented on GitHub (Jul 19, 2019):

Check gitea.log for error

@lafriks commented on GitHub (Jul 19, 2019): Check gitea.log for error
Author
Owner

@paulartjomow commented on GitHub (Jul 19, 2019):

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?

@paulartjomow commented on GitHub (Jul 19, 2019): `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?
Author
Owner

@lafriks commented on GitHub (Jul 19, 2019):

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

@lafriks commented on GitHub (Jul 19, 2019): 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
Author
Owner

@paulartjomow commented on GitHub (Jul 19, 2019):

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

@paulartjomow commented on GitHub (Jul 19, 2019): Okay, updating gitea was a good idea but it doesnt fixed the problem. I deleted the whole repository and now it works.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3629