lfs file upload from web ui #1553

Closed
opened 2025-11-02 04:04:42 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @skimj on GitHub (Feb 21, 2018).

  • Gitea version (or commit ref): 1.3.3-1
  • Git version: 2.16.1-1
  • Operating system: Linux
  • Database (use [x]):
    • MySQL

Description

I have setup a repository and setup git-lfs. Using git (CLI) I can add a file that is an lfs tracked file type, commit and push to my gitea server. This works and I can verify that the file was added to lfs storage/tracking. Then, I can use the web interface to upload another file of the same type and commit but the file isn't handled by lfs. Back on the git-cli, git pull generates this error: Encountered 1 file(s) that should have been pointers, but weren't: I can then readd the file and it will be handled by lfs.

Is there anyway to configure the webUI to upload new files using lfs?

Originally created by @skimj on GitHub (Feb 21, 2018). - Gitea version (or commit ref): 1.3.3-1 - Git version: 2.16.1-1 - Operating system: Linux - Database (use `[x]`): - [x] MySQL ## Description I have setup a repository and setup git-lfs. Using git (CLI) I can add a file that is an lfs tracked file type, commit and push to my gitea server. This works and I can verify that the file was added to lfs storage/tracking. Then, I can use the web interface to upload another file of the same type and commit but the file isn't handled by lfs. Back on the git-cli, `git pull` generates this error: `Encountered 1 file(s) that should have been pointers, but weren't:` I can then readd the file and it will be handled by lfs. Is there anyway to configure the webUI to upload new files using lfs?
GiteaMirror added the type/proposal label 2025-11-02 04:04:42 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1553