Server restarts after power failure and the project file is damaged #9047

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

Originally created by @xd1810232299 on GitHub (Jun 10, 2022).

Description

The server restarts after power failure ,and the project file is damaged when submitting the code. Gitea background cannot view the project,displayed 500

Gitea Version

1.14.7

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

image

Git Version

2.30.1

Operating System

CentOS7.6

How are you running Gitea?

command

Database

SQLite

Originally created by @xd1810232299 on GitHub (Jun 10, 2022). ### Description The server restarts after power failure ,and the project file is damaged when submitting the code. Gitea background cannot view the project,displayed 500 ### Gitea Version 1.14.7 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots ![image](https://user-images.githubusercontent.com/46117049/173033696-86461247-d731-46e1-827a-d3a8f7358976.png) ### Git Version 2.30.1 ### Operating System CentOS7.6 ### How are you running Gitea? command ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 08:27:05 -06:00
Author
Owner

@delvh commented on GitHub (Jun 10, 2022):

I don't know what you want us to do.
This sounds like due to the power failure, your filesystem got corrupted.
Without further information, there is nothing that can be done from our side.

@delvh commented on GitHub (Jun 10, 2022): I don't know what you want us to do. This sounds like due to the power failure, your filesystem got corrupted. Without further information, there is nothing that can be done from our side.
Author
Owner

@wxiaoguang commented on GitHub (Jun 10, 2022):

Agree with delvh

If you are sure there is something wrong with Gitea, please provide logs. Otherwise if your filesystem corrupts, please try to recover it or use backups.

@wxiaoguang commented on GitHub (Jun 10, 2022): Agree with delvh If you are sure there is something wrong with Gitea, please provide logs. Otherwise if your filesystem corrupts, please try to recover it or use backups.
Author
Owner

@xd1810232299 commented on GitHub (Jun 10, 2022):

I can't see the logs for this wrong.When I submit the code,the server restarts,and I sumbit again.In the directory/gitea - repositories/XXX/projectname git/objects/34 damage of the file.I don't konw the reason.

@xd1810232299 commented on GitHub (Jun 10, 2022): I can't see the logs for this wrong.When I submit the code,the server restarts,and I sumbit again.In the directory/gitea - repositories/XXX/projectname git/objects/34 damage of the file.I don't konw the reason.
Author
Owner

@lunny commented on GitHub (Jun 10, 2022):

Please paste the error logs.

@lunny commented on GitHub (Jun 10, 2022): Please paste the error logs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9047