-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Git LFS Push 500 Internal Server Error #24053
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
Are there any associated errors in |
Not as far as I can see. I've uploaded the corresponding timestamp from the log: https://gist.github.com/Shinmera/13f31bf25a27da09e7a82cbff7cdeb38 |
The most suspicious part is that there are a lot of And it explains that why there is no error log, because at the moment, the code is, the database failure doesn't print the error ..... Do you know if there is anything wrong with the lfs_meta_object table? |
Ah, good shout! I had a peek around with pgadmin, and it seems the lfs_meta_object sequence somehow got out of sync, possibly due to a bad backup job at some point? Fixing the sequence resolved the issue. Thanks a lot for the debugging help, and my apologies for the noise! |
Never mind, I also find that the log is pretty unfriendly .... so I propose #24072 😁 |
The error logs were not clear. Help (but not fix) #24053
The error logs were not clear. Help (but not fix) go-gitea#24053
Backport #24072 by @wxiaoguang The error logs were not clear. Help (but not fix) #24053 Co-authored-by: wxiaoguang <[email protected]>
Description
When attempting to push new LFS artefacts, the internal logs only show error messages like so, with the last error repeating over and over:
The logs contain nothing more useful, even when run in
dev
mode.Pushing non-LFS content works just fine. I checked the file access permissions, everything is owned by the group and user
git
, and gitea is running under that user and group. I also tried setting thesafe.directory
git config setting to*
or to include all relevant gitea storage directories, without success.app.ini, passwords etc replaced by
...
:Gitea Version
Gitea version 1.18.5 built with GNU Make 4.4.1, go1.20.1 : bindata, sqlite, sqlite_unlock_notify, pam
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
git version 2.40.0
Operating System
Linux imai 6.2.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 13 Mar 2023 17:02:08 +0000 x86_64 GNU/Linux
How are you running Gitea?
Using official packages from the Arch Linux repositories, run as a systemd service.
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: