Cannot upload large file via LFS because at some (varying) point it always aborts due to hiccups - please implement Tus.io protocol to rectify #712

Open
opened 2025-11-02 03:33:54 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @ghost on GitHub (May 14, 2017).

  • Gitea version (or commit ref): latest docker image
  • Git version: latest docker image
  • Operating system: Ubuntu 17.04 (host)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I am trying to upload a 700MB file with <1.0MB/s upload speed to git-lfs. I know this is not optimal, but not everyone has a good internet connection in all places they occasionally need to do some work.

This proves to be nigh impossible. After 1-2 hours you are bound to run into some sort of minor hiccup, which will immediately cause the git-lfs client to start over from the beginning, which means there is a very tiny chance I can ever finish the upload successfully.

The git-lfs developers say they added Tus.io protocol support for this use case. (info from this ticket: https://github.com/git-lfs/git-lfs/issues/2026 ) Since without upload resumption git-lfs is completely unusable in this setting with a shaky connection, please implement this protocol server-side.

Screenshots

If this issue involves the Web Interface, please include a screenshot

Originally created by @ghost on GitHub (May 14, 2017). - Gitea version (or commit ref): latest docker image - Git version: latest docker image - Operating system: Ubuntu 17.04 (host) - Database (use `[x]`): - [X] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [X] No - [ ] Not relevant - Log gist: ## Description I am trying to upload a 700MB file with <1.0MB/s upload speed to git-lfs. I know this is not optimal, but not everyone has a good internet connection in all places they occasionally need to do some work. This proves to be nigh impossible. After 1-2 hours you are bound to run into some sort of minor hiccup, which will immediately cause the git-lfs client to *start over from the beginning*, which means there is a very tiny chance I can ever finish the upload successfully. The git-lfs developers say they added Tus.io protocol support for this use case. (info from this ticket: https://github.com/git-lfs/git-lfs/issues/2026 ) Since without upload resumption git-lfs is completely unusable in this setting with a shaky connection, please implement this protocol server-side. ## Screenshots **If this issue involves the Web Interface, please include a screenshot**
GiteaMirror added the type/proposaltopic/lfs labels 2025-11-02 03:33:54 -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#712