Skip to content

Migrating repo with LFS causes 500 error #31137

@Shuenhoy

Description

@Shuenhoy

Description

https://gitea.com/Shuenhoy/vtk-m is migrated from https://gitlab.kitware.com/vtk/vtk-m.
Accessing the data folder will trigger 500 error.

Whether selecting migrate LFS files is the same.
In the demo site, https://demo.gitea.com/Shuenhoy/vtk-m will not trigger 500 error, but it doesn't treat the files as LFS files at all.

Gitea Version

1.22.0

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image

(On my instance, there is an extra message)

An error occurred:

getFileReader, LFS Meta object does not exist

Git Version

No response

Operating System

No response

How are you running Gitea?

Docker

Database

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions