Skip to content

Internal Server Error when listing locks or accessing locked files in web view #18782

@eNBeWe

Description

@eNBeWe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions