You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear all,
I use gitea using git lfs track '*.tar.gz'. I upload an tar file (downloaded from https://codeload.github.com/masterzen/nginx-upload-progress-module/tar.gz/v0.9.2). Its sha256 checksum is 'b286689355442657650421d8e8398bd4abf9dbbaade65947bb0cb74a349cc497'.
The lfs file stored in the server is correctly. Its checksum is the same. But when ENABLE_GZIP is true,
git clone the repo , it failed.
The terminal display:
Downloading nginx-upload-progress-module-0.9.2.tar.gz (17 KB)
Error downloading object: nginx-upload-progress-module-0.9.2.tar.gz (b286689): Smudge error: Error downloading nginx-upload-progress-module-0.9.2.tar.gz (b286689355442657650421d8e8398bd4abf9dbbaade65947bb0cb74a349cc497): cannot write data to tempfile "/works/gitworks/2018-develop/zdd/testout/out/test-repo/.git/lfs/incomplete/b286689355442657650421d8e8398bd4abf9dbbaade65947bb0cb74a349cc497.tmp": LFS: unexpected EOF
When I change ENABLE_GZIP to false, and restart gitea, it works for git clone.
So I think git lfs upload is correct. The problem is ENABLE_GZIP, when it's true, git clone don't works for the tar.gz file.
ps: we can git clone for other lfs files(such as we compile lib files. when ENABLE_GZIP is true) .
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Dear all,
I use gitea using git lfs track '*.tar.gz'. I upload an tar file (downloaded from https://codeload.github.com/masterzen/nginx-upload-progress-module/tar.gz/v0.9.2). Its sha256 checksum is 'b286689355442657650421d8e8398bd4abf9dbbaade65947bb0cb74a349cc497'.
The lfs file stored in the server is correctly. Its checksum is the same. But when ENABLE_GZIP is true,
git clone the repo , it failed.
The terminal display:
Downloading nginx-upload-progress-module-0.9.2.tar.gz (17 KB)
Error downloading object: nginx-upload-progress-module-0.9.2.tar.gz (b286689): Smudge error: Error downloading nginx-upload-progress-module-0.9.2.tar.gz (b286689355442657650421d8e8398bd4abf9dbbaade65947bb0cb74a349cc497): cannot write data to tempfile "/works/gitworks/2018-develop/zdd/testout/out/test-repo/.git/lfs/incomplete/b286689355442657650421d8e8398bd4abf9dbbaade65947bb0cb74a349cc497.tmp": LFS: unexpected EOF
When I change ENABLE_GZIP to false, and restart gitea, it works for git clone.
So I think git lfs upload is correct. The problem is ENABLE_GZIP, when it's true, git clone don't works for the tar.gz file.
ps: we can git clone for other lfs files(such as we compile lib files. when ENABLE_GZIP is true) .
The text was updated successfully, but these errors were encountered: