My gitlab ce instance (7.12.0, built from source) does not want to let me download a zip archive of a repository.
I’ve seen https://gitlab.com/gitlab-org/gitlab-ce/issues/1565 and I have -q archive_repo in my sidekiq service definition, and ps aux shows that sidekiq gets indeeed started with the param, but I still get the redirect loop.
repository_downloads_path is set to tmp/repositories, the folder exists (created it by hand) and has permissions set correctly, as far as I can tell (owner gitlab user, group gitlab user and drwxrwxrwx, just to make sure).
I’m trying it with a really small repo (just one image and a README.md) to rule out any nginx size misconfigs at this point. nginx is set to client_max_body_size 1G, so that shouldn’t be a problem either.
When attempting to download an archive, my sidekiq.log (with SIDEKIQ_LOG_ARGUMENTS=1) tells me:
2015-07-01T07:12:37.032Z 26663 TID-hi5g4 RepositoryArchiveWorker JID-d8aa14cc9ff5d35cea1e1079 INFO: start
2015-07-01T07:12:37.032Z 26663 TID-hi5g4 RepositoryArchiveWorker JID-d8aa14cc9ff5d35cea1e1079 INFO: arguments: [26, nil, “zip”]
2015-07-01T07:12:37.193Z 26663 TID-hi5g4 RepositoryArchiveWorker JID-d8aa14cc9ff5d35cea1e1079 INFO: done: 0.161 sec
and then the same for quite a lot more workers.
The only other thing I can see is in unicorn.stderr.log:
I, [2015-07-01T00:45:15.314576 #20145] INFO – : worker=0 ready
W, [2015-07-01T03:14:32.431291 #2976] WARN – : #Unicorn::HttpServer:0x00000002d4f2b8: worker (pid: 2976) exceeds memory limit (240340992 bytes > 238607705 bytes)
W, [2015-07-01T03:14:32.431380 #2976] WARN – : Unicorn::WorkerKiller send SIGQUIT (pid: 2976) alive: 23284 sec (trial 1)
This doesn’t directly correspond to created workers from sidekiq.log, though.
And it goes on and on. Additionally, I get the same behaviour with another instance that’s still running 7.11.3.
I’ve already commented on the issue mentioned above, before I knew about this forum, but I’m not really positive it’s a gitlab issue per se, but I’m out of ideas.
And ideas what I’m doing wrong?