Skip to content

External lfs server handling is inconsistent #31846

Open
@tionis

Description

@tionis

Description

I added an external lfs server to my repo and then added gitea as secondary remote and pushed to it via git push gitea.
Gitea throws an error in the UI when LFS objects are accessed: getFileReader, LFS Meta object does not exist, even though the data in .lfsconfig should be enough to access them.
The lfs settings panel shows no lfs objects in the repo (as expected) but if I click on Find Pointer Files the objects are marked as "Exists in store"

I reproduced it on gitea.com here: https://gitea.com/tionis/external-lfs-server-bug

Gitea Version

1.22.1

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

docker-compose

Database

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions