Closed TheRealPowerCoder closed 6 years ago
Can not reproduce it with latest master version. File is accepted and uploaded successfully
Can this be closed as I see no way to fix such data in easy way and issue that produced them was fixed already in 1.3?
As I am no longer able to reproduce this error because we since moved on from Gitea, this Issue can be closed as nobody else seems to be affected by this error (potentially fixed).
[x]
):Description
Hello,
I was about to push our source code into our new repos (all clean) with LFS enabled. All except one repo could be pushed. The one repo returned an i/o timeout when uploading one specific LFS File.
I was able to recreate the problem by creating a completly new repo with .gitignore, .gitattributes and the problematic file. LFS wont upload the file to the server. Afterwards I shrunk the file size down to 17 bytes that still wont be pushed (see Client Side).
Server Side (Gitea, Docker)
Client Side (Windows LFS 1.3.1)
with the file in question being test.ttf (17 Bytes; it once was a ttf file):
test.ttf (Hex dump):
test.zip
When changing any of the non-zero values to some different hex value, the files gets uploaded and the push completes successfully.
Expected output The file being pushed. Tested with the https://github.com/git-lfs/lfs-test-server which accepts the file as-is, no questions asked. Gitea on the otherhand seems to bug out.
As I don't know how Gitea handles LFS files internally I can only guess it to be some sort of checksum error. My current workaround is not adding the file to LFS which is not a viable solution in the long run.
I tried https://try.gitea.io but there is no LFS to test my issue. https://try.gitea.io/TheRealPowerCoder/lfs-test
Thanks.
Screenshots