Unable to migrrate repos from Hugging Face #14073

Closed
opened 2025-11-02 11:02:08 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @Redstone1024 on GitHub (Jan 31, 2025).

Description

When I try to migrate a Hugging Face repo with LFS, I get the following error on Web:

StoreMissingLfsObjectsInRepository: "ref.name" is not allowed to be empty

But, the migration can be successful without LFS.

The test repo is: https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B.

Related forum questions: https://forum.gitea.com/t/unable-to-migrrate-repos-from-hugging-face/10491.

Gitea Version

1.23.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?

I'm using a official Docker container running on Debian and https://demo.gitea.com has the same error.

Database

None

Originally created by @Redstone1024 on GitHub (Jan 31, 2025). ### Description When I try to migrate a Hugging Face repo with LFS, I get the following error on Web: StoreMissingLfsObjectsInRepository: "ref.name" is not allowed to be empty But, the migration can be successful without LFS. The test repo is: [https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B). Related forum questions: [https://forum.gitea.com/t/unable-to-migrrate-repos-from-hugging-face/10491](https://forum.gitea.com/t/unable-to-migrrate-repos-from-hugging-face/10491). ### Gitea Version 1.23.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? I'm using a official Docker container running on Debian and [https://demo.gitea.com](https://demo.gitea.com) has the same error. ### Database None
GiteaMirror added the type/bug label 2025-11-02 11:02:08 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Jan 31, 2025):

Related to In some lfs server implementations, they require the ref attribute. #32838

@wxiaoguang commented on GitHub (Jan 31, 2025): Related to In some lfs server implementations, they require the ref attribute. #32838
Author
Owner

@wxiaoguang commented on GitHub (Jan 31, 2025):

-> Revert empty lfs ref name #33454

@wxiaoguang commented on GitHub (Jan 31, 2025): -> Revert empty lfs ref name #33454
Author
Owner

@wxiaoguang commented on GitHub (Jan 31, 2025):

1.23-nightly is ready (it is a stable release and will be 1.23.2 soon), could you try whether there is still any problem?

@wxiaoguang commented on GitHub (Jan 31, 2025): 1.23-nightly is ready (it is a stable release and will be 1.23.2 soon), could you try whether there is still any problem? * https://dl.gitea.com/gitea/1.23-nightly/ * https://hub.docker.com/r/gitea/gitea/tags?name=1.23-nightly
Author
Owner

@Redstone1024 commented on GitHub (Feb 1, 2025):

1.23-nightly is ready (it is a stable release and will be 1.23.2 soon), could you try whether there is still any problem?

No problem, the error is fixed, thank you.

@Redstone1024 commented on GitHub (Feb 1, 2025): > 1.23-nightly is ready (it is a stable release and will be 1.23.2 soon), could you try whether there is still any problem? > > * https://dl.gitea.com/gitea/1.23-nightly/ > * https://hub.docker.com/r/gitea/gitea/tags?name=1.23-nightly No problem, the error is fixed, thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14073