Could not download archive via api v3 since 8.3.2 CE
Created by: tritumRz
After updating to 8.3.2 CE (from 8.3.1 CE via omnibus package) a api call like
curl --header "PRIVATE-TOKEN: xxx" "https://code.example.com/api/v3/projects/some_namespace%2Fsome_reponame/repository/archive.zip"
results in a json response like
{
"RepoPath":"/var/opt/gitlab/git-data/repositories/some_namespace/some_reponame.git",
"ArchivePrefix":"some_reponame-master-ee753b221e500f0d83e3ab422887339c6258df4a",
"ArchivePath":"/var/opt/gitlab/gitlab-rails/shared/cache/archive/some_reponame.git/some_reponame-master-ee753b221e500f0d83e3ab422887339c6258df4a.zip",
"CommitId":"ee753b221e500f0d83e3ab422887339c6258df4a"
}
With Version 8.3.1 CE such a call returned the zip data (as expected).
I tested the same call with another installation (version 8.0.5 CE) and i got the zip data (as expected).
After updating this installation to 8.3.2 CE i got the json response (like above).
The archive path /var/opt/gitlab/gitlab-rails/shared/cache/archive/some_reponame.git/
stay empty.
The documentation shows no changes in the API call.
Can someone reproduce my issue?
Thank you.