-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Gitea stopped working after a git push, hook crashed? #11648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We need the logs around the time of:
Then we can try to find some reason as to why there was a hang - potentially there was a deadlock in SQLite but without some more info as to where it got stuck we're just guessing, The logs around |
Hi, is there a way to give you the last 1000 lines of the logs in a more secure & private way? I don't want to put the log in a public settings (don't want to expose private information like IP, users, repositories, etc.). |
You can message me directly on our discord |
How can I send you directly? Is there a way in github to send a private message? |
Hi,I've created an account on discord and tried to send a message to you, but I got the error Your message could not be delivered because you don't share a server with the recipient or you disabled direct messages on your shared server, recipient is only accepting direct messages from friends, or you were blocked by the recipient.. I've never used discord, I don't know what do do. |
I've never used discord, so I don't really know what to do there or how to send you privately the log file without everybody else seeing it. I looked at previous post on the discord page and found you, tried to send you a message but got the error mentioned above. Perhaps if you tell me how to do that in discord, like I said, never used it, I'm completely unfamiliar with it :( |
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. You can re-open it if needed. |
Uh oh!
There was an error while loading. Please reload this page.
[x]
):Description
When I made a
git push
I got this an error when processing the internal gitea hooks:I had to press
Ctrl+C
to stop the push, it hanged. I tried to open the web interface but the page could not be loaded. Doing acurl https://mygiteapage
delivered HTML content, butcurl https://mygiteapage/user/login?redirect_to=
also hanged.Systemd's journal of the Gitea services was not showing anything unusual, I could see the login attempts that I myself tried
so I decided to stop the process. The
systemctl stop gitea.service
took at least one minute to end and then I inspected the journal again, now I got this:I made a backup of the database and I inspected the sqlite3 file and it was OK, it doesn't seem to be corrupted or anything.
So I restarted Gitea and now is working fine again, I can access the web interface again. I can see that the commits were pushed but the database was not updated (it was the hook which failed). I tested pushing again:
It seems to be fine again. So the question is, what happened? Should I worry? Is this something you've already seen?
The text was updated successfully, but these errors were encountered: