-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Internal Server Error when listing locks or accessing locked files in web view #18782
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
What's locked files? Did you mean git LFS Lock? |
Yes, sort of. The files are marked as lockable by GIT LFS, but the actual files are not tracked by LFS. You can look at the (working) version of my test repository at https://git.enbewe.de/Stuff/InternalErrorOnLocks |
We are seeing this part of the reported issue:
fixed in 1.16.2. However, this part:
is still a problem. |
Gitea Version
1.16.1
Git Version
2.25.1
Operating System
Linux (Ubuntu Server 20.04.3)
How are you running Gitea?
Binary installation very similar to instructions from the docs.
Service is run through systemd.
Database
SQLite
Can you reproduce the bug on the Gitea demo site?
No (since LFS is not available there)
Log Gist
No response
Description
I have a repository with a few locked files (xlsx).
As soon as I try to access the file through the web interface, I receive a HTTP 500 Internal Server Error. I can download the the file when I use the "/raw"-Url.
When I try to show the locked files in the repository from the settings, I also get a HTTP 500.
I tried to reproduce the issue on another server running Gitea 1.15.6 and the issue didn't occur. I will try to update the server and see if it breaks.
Screenshots
No response
The text was updated successfully, but these errors were encountered: