-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Internal Server Error Decoding Failed readObjectStart: expect { or n, but found <, error found in #2 when pushing #31311
Comments
The logs are really helpful. Do you have more logs? There should be more stacktrace lines below. |
hey .. sorry didn't know what you needed .. I didn't want to flood with unnecessary dumpage This is everything after I did the push
|
Thank you very much. Here, it is the crash point ..... It is related to the SHA256 support and related refactors. The problem should be fixed, while I guess there might be a workaround, could you try to "sync branches" from the admin dashboard panel? |
No, thank you! I'm guessing it's the option "Sync missed branches from git data to databases" And it worked! Many thanks |
Fix go-gitea#31330 Fix go-gitea#31311 A workaround to fix the old database is to update object_format_name to `sha1` if it's empty or null.
Fix adopt repository has empty object name in database (go-gitea#31333) Fix go-gitea#31330 Fix go-gitea#31311 A workaround to fix the old database is to update object_format_name to `sha1` if it's empty or null. (cherry picked from commit 1968c22) With tests services/repository/adopt_test.go (cherry picked from commit 8efef06)
Description
I have a new installation using Docker and have imported repositories using unadopted repositories
I'm able to push to most of them, however for a couple of repos I'm getting the following errors, and am unable to rectify:
Output from the push
Logs
I've looked through all past issues similar to this but couldn't find a solution.
Cheers,
Ryan
Gitea Version
1.22.0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Docker
How are you running Gitea?
Using docker
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: