Description
Gitea Version
1.14.6
Git Version
2.31.1
Operating System
NixOS
How are you running Gitea?
I run gitea as set up by the NixOS module, that means built from source and set up as a systemd service.
Database
MySQL
Can you reproduce the bug on the Gitea demo site?
No¹
Log Gist
https://gist.github.com/schmittlauch/0b6f47c899daa277b4d9df7d2861fe97
Description
I added a new 6.5GiB large file to my git repo via git lfs and tried to push the repository to my gitea remote repository, either via git push
or git lfs push
.
The upload started normally. After a while I discovered though that far more data has already been uploaded than the file size is supposed to be:
$ git push mygit mainline
loading LFS objects: 0% (0/1), 9.2 GB | 5.0 MB/s
The point of time where the upload size exceeded the actual file size is around the time when the Error: unexpected EOF
message has been logged in the gitea log.
The error happened reproducibly at several attempts, I always had to cancel the upload process manually.
The same repo – including the LFS files – has successfully been pushed to a GitLab server.
¹Due to the large file size, I did not attempt to reproduce this issue on try.gitea.io.