sameersbn / sameersbn/docker-gitlab

LFS does not transfer files. file already closed

Open
#1,418 30 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
8.1k
Forks
2.1k
Avg merge
17h 47m
Merged PRs (30d)
7

Description

I tried to use git lfs on my gitlab but it doesn't work, even for really small files.
LFS is enabled both in gitlab settings and project settings.

I'm using git-lfs/2.3.4 and git version 2.15.0 with gitlab 10.1.4.

Here is what happens with a basic text file:

Git LFS: (0 of 1 files) 45 B / 5 B                                                                                                                  
LFS: Put https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5: read /home/ario/lfs-test/.git/lfs/objects/f2/ca/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: file already closed
error: failed to push some refs to 'ssh://git@git.alexrio.fr:10022/orbital/lfs-test.git'

With a bigger project, and bigger commit, I have the same issue around 24MB / 324MB with extra 413 errors.
If I look in the data folder of the container the lfs directory is empty.
The web interface of gitlab is behind a nginx proxy but the ssh port is directly binded to my host machine.

Here is a full trace of the error:

12:01:03.175203 git.c:344               trace: built-in: git 'push' 'origin' 'master'
12:01:03.175662 run-command.c:626       trace: run_command: 'ssh' '-p' '10022' 'git@git.alexrio.fr' 'git-receive-pack '\''/orbital/lfs-test.git'\'''
Enter passphrase for key '/home/ario/.ssh/id_rsa': 
12:01:16.000223 run-command.c:626       trace: run_command: '.git/hooks/pre-push' 'origin' 'ssh://git@git.alexrio.fr:10022/orbital/lfs-test.git'
12:01:16.011365 git.c:576               trace: exec: 'git-lfs' 'pre-push' 'origin' 'ssh://git@git.alexrio.fr:10022/orbital/lfs-test.git'
12:01:16.011436 run-command.c:626       trace: run_command: 'git-lfs' 'pre-push' 'origin' 'ssh://git@git.alexrio.fr:10022/orbital/lfs-test.git'
12:01:16.016594 trace git-lfs: run_command: 'git' version
12:01:16.018416 trace git-lfs: run_command: 'git' config -l
12:01:16.020568 trace git-lfs: tq: running as batched queue, batch size of 100
Enter passphrase for key '/home/ario/.ssh/id_rsa': 
12:01:29.396981 trace git-lfs: pre-push: refs/heads/master eb3b684a5e156214eccef052c88bac70550a97a8 refs/heads/master 0000000000000000000000000000000000000000
12:01:29.397291 trace git-lfs: run_command: git rev-list --objects eb3b684a5e156214eccef052c88bac70550a97a8 --not --remotes=origin --
12:01:29.398457 trace git-lfs: run_command: git cat-file --batch
12:01:29.401794 trace git-lfs: tq: sending batch of size 1
12:01:29.402137 trace git-lfs: run_command: ssh -p 10022 -- git@git.alexrio.fr git-lfs-authenticate orbital/lfs-test.git upload
Enter passphrase for key '/home/ario/.ssh/id_rsa': 
12:01:41.600471 trace git-lfs: api: batch 1 files
12:01:41.600743 trace git-lfs: HTTP: POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:01:43.565694 trace git-lfs: HTTP: 301
12:01:43.565774 trace git-lfs: api: redirect POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch to https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:01:43.565799 trace git-lfs: HTTP: POST https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:01:52.917704 trace git-lfs: HTTP: 200
12:01:52.920837 trace git-lfs: HTTP: {"objects":[{"oid":"f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2","size":5,"actions":{"upload":{"href":"http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5","header":{"Authorization":"Basic b3JiaXRhbDo1aHN0UkNRQ2NVNWNNOVdWVHNyV3hzUXpOOXYtM1dwU2pmdi14WDNyUlBqVl8tMXdhdw=="}}}}]}
12:01:52.921069 trace git-lfs: tq: starting transfer adapter "basic"
Git LFS: (0 of 1 files) 0 B / 5 B                                                                                                                            12:01:52.921635 trace git-lfs: HTTP: PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
Git LFS: (0 of 1 files) 5 B / 5 B                                                                                                                            12:01:55.194689 trace git-lfs: HTTP: 301
12:01:55.194781 trace git-lfs: api: redirect PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5 to https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:01:55.194812 trace git-lfs: HTTP: PUT https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:01:55.195256 trace git-lfs: tq: retrying object f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: LFS: Put https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5: read /home/ario/lfs-test/.git/lfs/objects/f2/ca/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: file already closed
12:01:55.195323 trace git-lfs: tq: enqueue retry #1 for "f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2" (size: 5)
12:01:55.195387 trace git-lfs: tq: sending batch of size 1
12:01:55.195612 trace git-lfs: ssh cache: git@git.alexrio.fr git-lfs-authenticate orbital/lfs-test.git upload
12:01:55.195669 trace git-lfs: api: batch 1 files
12:01:55.195835 trace git-lfs: HTTP: POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:01:57.294234 trace git-lfs: HTTP: 301
12:01:57.294297 trace git-lfs: api: redirect POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch to https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:01:57.294314 trace git-lfs: HTTP: POST https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:01:59.446129 trace git-lfs: HTTP: 200
12:01:59.448863 trace git-lfs: HTTP: {"objects":[{"oid":"f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2","size":5,"actions":{"upload":{"href":"http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5","header":{"Authorization":"Basic b3JiaXRhbDo1aHN0UkNRQ2NVNWNNOVdWVHNyV3hzUXpOOXYtM1dwU2pmdi14WDNyUlBqVl8tMXdhdw=="}}}}]}
12:01:59.449003 trace git-lfs: tq: starting transfer adapter "basic"
Git LFS: (0 of 1 files) 5 B / 5 B                                                                                                                            12:01:59.449411 trace git-lfs: HTTP: PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
Git LFS: (0 of 1 files) 10 B / 5 B                                                                                                                           12:02:00.171424 trace git-lfs: HTTP: 301
12:02:00.171490 trace git-lfs: api: redirect PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5 to https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:02:00.171513 trace git-lfs: HTTP: PUT https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:02:00.171804 trace git-lfs: tq: retrying object f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: LFS: Put https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5: read /home/ario/lfs-test/.git/lfs/objects/f2/ca/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: file already closed
12:02:00.171898 trace git-lfs: tq: enqueue retry #2 for "f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2" (size: 5)
12:02:00.171961 trace git-lfs: tq: sending batch of size 1
12:02:00.172187 trace git-lfs: ssh cache: git@git.alexrio.fr git-lfs-authenticate orbital/lfs-test.git upload
12:02:00.172243 trace git-lfs: api: batch 1 files
12:02:00.172405 trace git-lfs: HTTP: POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:01.396428 trace git-lfs: HTTP: 301
12:02:01.396452 trace git-lfs: api: redirect POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch to https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:01.396460 trace git-lfs: HTTP: POST https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:10.193762 trace git-lfs: HTTP: 200
12:02:10.196442 trace git-lfs: HTTP: {"objects":[{"oid":"f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2","size":5,"actions":{"upload":{"href":"http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5","header":{"Authorization":"Basic b3JiaXRhbDo1aHN0UkNRQ2NVNWNNOVdWVHNyV3hzUXpOOXYtM1dwU2pmdi14WDNyUlBqVl8tMXdhdw=="}}}}]}
12:02:10.196573 trace git-lfs: tq: starting transfer adapter "basic"
Git LFS: (0 of 1 files) 10 B / 5 B                                                                                                                           12:02:10.197000 trace git-lfs: HTTP: PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
Git LFS: (0 of 1 files) 15 B / 5 B                                                                                                                           12:02:11.755360 trace git-lfs: HTTP: 301
12:02:11.755457 trace git-lfs: api: redirect PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5 to https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:02:11.755493 trace git-lfs: HTTP: PUT https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:02:11.755792 trace git-lfs: tq: retrying object f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: LFS: Put https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5: read /home/ario/lfs-test/.git/lfs/objects/f2/ca/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: file already closed
12:02:11.755869 trace git-lfs: tq: enqueue retry #3 for "f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2" (size: 5)
12:02:11.755934 trace git-lfs: tq: sending batch of size 1
12:02:11.756160 trace git-lfs: ssh cache: git@git.alexrio.fr git-lfs-authenticate orbital/lfs-test.git upload
12:02:11.756217 trace git-lfs: api: batch 1 files
12:02:11.756386 trace git-lfs: HTTP: POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:18.594296 trace git-lfs: HTTP: 301
12:02:18.594362 trace git-lfs: api: redirect POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch to https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:18.594391 trace git-lfs: HTTP: POST https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:21.144779 trace git-lfs: HTTP: 200
12:02:21.147695 trace git-lfs: HTTP: {"objects":[{"oid":"f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2","size":5,"actions":{"upload":{"href":"http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5","header":{"Authorization":"Basic b3JiaXRhbDo1aHN0UkNRQ2NVNWNNOVdWVHNyV3hzUXpOOXYtM1dwU2pmdi14WDNyUlBqVl8tMXdhdw=="}}}}]}
12:02:21.147843 trace git-lfs: tq: starting transfer adapter "basic"
Git LFS: (0 of 1 files) 15 B / 5 B                                                                                                                           12:02:21.148340 trace git-lfs: HTTP: PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
Git LFS: (0 of 1 files) 20 B / 5 B                                                                                                                           12:02:21.511176 trace git-lfs: HTTP: 301
12:02:21.511247 trace git-lfs: api: redirect PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5 to https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:02:21.511287 trace git-lfs: HTTP: PUT https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:02:21.511616 trace git-lfs: tq: retrying object f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: LFS: Put https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5: read /home/ario/lfs-test/.git/lfs/objects/f2/ca/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: file already closed
12:02:21.511686 trace git-lfs: tq: enqueue retry #4 for "f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2" (size: 5)
12:02:21.511742 trace git-lfs: tq: sending batch of size 1
12:02:21.512009 trace git-lfs: ssh cache: git@git.alexrio.fr git-lfs-authenticate orbital/lfs-test.git upload
12:02:21.512071 trace git-lfs: api: batch 1 files
12:02:21.512240 trace git-lfs: HTTP: POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:21.920760 trace git-lfs: HTTP: 301
12:02:21.920820 trace git-lfs: api: redirect POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch to https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:21.920840 trace git-lfs: HTTP: POST https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:22.863083 trace git-lfs: HTTP: 200
12:02:22.864274 trace git-lfs: HTTP: {"objects":[{"oid":"f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2","size":5,"actions":{"upload":{"href":"http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5","header":{"Authorization":"Basic b3JiaXRhbDo1aHN0UkNRQ2NVNWNNOVdWVHNyV3hzUXpOOXYtM1dwU2pmdi14WDNyUlBqVl8tMXdhdw=="}}}}]}
12:02:22.864348 trace git-lfs: tq: starting transfer adapter "basic"
Git LFS: (0 of 1 files) 20 B / 5 B                                                                                                                           12:02:22.864540 trace git-lfs: HTTP: PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
Git LFS: (0 of 1 files) 25 B / 5 B                                                                                                                           12:02:23.721290 trace git-lfs: HTTP: 301
12:02:23.721358 trace git-lfs: api: redirect PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5 to https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:02:23.721381 trace git-lfs: HTTP: PUT https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:02:23.721670 trace git-lfs: tq: retrying object f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: LFS: Put https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5: read /home/ario/lfs-test/.git/lfs/objects/f2/ca/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: file already closed
12:02:23.721740 trace git-lfs: tq: enqueue retry #5 for "f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2" (size: 5)
12:02:23.721791 trace git-lfs: tq: sending batch of size 1
12:02:23.722056 trace git-lfs: ssh cache: git@git.alexrio.fr git-lfs-authenticate orbital/lfs-test.git upload
12:02:23.722123 trace git-lfs: api: batch 1 files
12:02:23.722303 trace git-lfs: HTTP: POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:24.034440 trace git-lfs: HTTP: 301
12:02:24.034503 trace git-lfs: api: redirect POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch to https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:24.034525 trace git-lfs: HTTP: POST https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:24.672625 trace git-lfs: HTTP: 200
12:02:24.675637 trace git-lfs: HTTP: {"objects":[{"oid":"f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2","size":5,"actions":{"upload":{"href":"http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5","header":{"Authorization":"Basic b3JiaXRhbDo1aHN0UkNRQ2NVNWNNOVdWVHNyV3hzUXpOOXYtM1dwU2pmdi14WDNyUlBqVl8tMXdhdw=="}}}}]}
12:02:24.675829 trace git-lfs: tq: starting transfer adapter "basic"
Git LFS: (0 of 1 files) 25 B / 5 B                                                                                                                           12:02:24.676361 trace git-lfs: HTTP: PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
Git LFS: (0 of 1 files) 30 B / 5 B                                                                                                                           12:02:24.978193 trace git-lfs: HTTP: 301
12:02:24.978261 trace git-lfs: api: redirect PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5 to https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:02:24.978286 trace git-lfs: HTTP: PUT https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:02:24.978637 trace git-lfs: tq: retrying object f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: LFS: Put https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5: read /home/ario/lfs-test/.git/lfs/objects/f2/ca/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: file already closed
12:02:24.978707 trace git-lfs: tq: enqueue retry #6 for "f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2" (size: 5)
12:02:24.978748 trace git-lfs: tq: sending batch of size 1
12:02:24.978934 trace git-lfs: ssh cache: git@git.alexrio.fr git-lfs-authenticate orbital/lfs-test.git upload
12:02:24.978985 trace git-lfs: api: batch 1 files
12:02:24.979128 trace git-lfs: HTTP: POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:25.288009 trace git-lfs: HTTP: 301
12:02:25.288080 trace git-lfs: api: redirect POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch to https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:25.288101 trace git-lfs: HTTP: POST https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:27.371194 trace git-lfs: HTTP: 200
12:02:27.374290 trace git-lfs: HTTP: {"objects":[{"oid":"f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2","size":5,"actions":{"upload":{"href":"http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5","header":{"Authorization":"Basic b3JiaXRhbDo1aHN0UkNRQ2NVNWNNOVdWVHNyV3hzUXpOOXYtM1dwU2pmdi14WDNyUlBqVl8tMXdhdw=="}}}}]}
12:02:27.374469 trace git-lfs: tq: starting transfer adapter "basic"
Git LFS: (0 of 1 files) 30 B / 5 B                                                                                                                           12:02:27.374950 trace git-lfs: HTTP: PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
Git LFS: (0 of 1 files) 35 B / 5 B                                                                                                                           12:02:31.375567 trace git-lfs: HTTP: 301
12:02:31.375638 trace git-lfs: api: redirect PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5 to https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:02:31.375661 trace git-lfs: HTTP: PUT https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:02:31.375987 trace git-lfs: tq: retrying object f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: LFS: Put https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5: read /home/ario/lfs-test/.git/lfs/objects/f2/ca/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: file already closed
12:02:31.376046 trace git-lfs: tq: enqueue retry #7 for "f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2" (size: 5)
12:02:31.376098 trace git-lfs: tq: sending batch of size 1
12:02:31.376329 trace git-lfs: ssh cache: git@git.alexrio.fr git-lfs-authenticate orbital/lfs-test.git upload
12:02:31.376387 trace git-lfs: api: batch 1 files
12:02:31.376551 trace git-lfs: HTTP: POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:33.276349 trace git-lfs: HTTP: 301
12:02:33.276408 trace git-lfs: api: redirect POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch to https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:33.276438 trace git-lfs: HTTP: POST https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:02:48.351981 trace git-lfs: HTTP: 200
12:02:48.354974 trace git-lfs: HTTP: {"objects":[{"oid":"f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2","size":5,"actions":{"upload":{"href":"http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5","header":{"Authorization":"Basic b3JiaXRhbDo1aHN0UkNRQ2NVNWNNOVdWVHNyV3hzUXpOOXYtM1dwU2pmdi14WDNyUlBqVl8tMXdhdw=="}}}}]}
12:02:48.355122 trace git-lfs: tq: starting transfer adapter "basic"
Git LFS: (0 of 1 files) 35 B / 5 B                                                                                                                           12:02:48.355613 trace git-lfs: HTTP: PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
Git LFS: (0 of 1 files) 40 B / 5 B                                                                                                                           12:02:50.639273 trace git-lfs: HTTP: 301
12:02:50.639344 trace git-lfs: api: redirect PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5 to https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:02:50.639378 trace git-lfs: HTTP: PUT https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:02:50.639727 trace git-lfs: tq: retrying object f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: LFS: Put https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5: read /home/ario/lfs-test/.git/lfs/objects/f2/ca/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: file already closed
12:02:50.639797 trace git-lfs: tq: enqueue retry #8 for "f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2" (size: 5)
12:02:50.639850 trace git-lfs: tq: sending batch of size 1
12:02:50.640061 trace git-lfs: ssh cache: git@git.alexrio.fr git-lfs-authenticate orbital/lfs-test.git upload
12:02:50.640125 trace git-lfs: api: batch 1 files
12:02:50.640289 trace git-lfs: HTTP: POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:03:01.850585 trace git-lfs: HTTP: 301
12:03:01.850621 trace git-lfs: api: redirect POST http://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch to https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:03:01.850628 trace git-lfs: HTTP: POST https://git.alexrio.fr/orbital/lfs-test.git/info/lfs/objects/batch
12:03:06.227627 trace git-lfs: HTTP: 200
12:03:06.230687 trace git-lfs: HTTP: {"objects":[{"oid":"f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2","size":5,"actions":{"upload":{"href":"http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5","header":{"Authorization":"Basic b3JiaXRhbDo1aHN0UkNRQ2NVNWNNOVdWVHNyV3hzUXpOOXYtM1dwU2pmdi14WDNyUlBqVl8tMXdhdw=="}}}}]}
12:03:06.230876 trace git-lfs: tq: starting transfer adapter "basic"
Git LFS: (0 of 1 files) 40 B / 5 B                                                                                                                           12:03:06.231345 trace git-lfs: HTTP: PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
Git LFS: (0 of 1 files) 45 B / 5 B                                                                                                                           12:03:08.667376 trace git-lfs: HTTP: 301
12:03:08.667402 trace git-lfs: api: redirect PUT http://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5 to https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:03:08.667411 trace git-lfs: HTTP: PUT https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5
12:03:08.667522 trace git-lfs: tq: refusing to retry "f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2", too many retries (8)
Git LFS: (0 of 1 files) 45 B / 5 B                                                                                                                           
LFS: Put https://git.alexrio.fr/orbital/lfs-test.git/gitlab-lfs/objects/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2/5: read /home/ario/lfs-test/.git/lfs/objects/f2/ca/f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2: file already closed
error: failed to push some refs to 'ssh://git@git.alexrio.fr:10022/orbital/lfs-test.git'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported Git LFS pre-push trace and the nginx-proxied /info/lfs/objects/batch and upload endpoints. Check the GitLab container's LFS data directory and the HTTP redirects, 413 responses, and repeated "file already closed" failures. Done means a small LFS-tracked file can be pushed successfully and is stored in the container.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, git, gitlab, nginx
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.