New export download link is expired before 24 hours
Summary
Similar to gitlab-foss#37922 (closed), when I attempt to export a project for a customer, a link gets created and sent to me by email but when I click on it I get Project export link has expired. Please generate a new export from your project settings.
I got this error even when I click on the email 2 minutes after receiving the email, and attempting to download the export via the API will result in a HTTP 404.
Steps to reproduce
- Export project
- Wait for email to arrive
- Click on link to download project
Note: I was exporting the project as an admin user.
Example Project
The customer's project mentioned here in this internal Zendesk ticket: https://gitlab.zendesk.com/agent/tickets/209298
What is the current bug behavior?
The download link to the export archive is expired before 24 hours.
What is the expected correct behavior?
Download link should expire in 24 hours.
Relevant logs and/or screenshots
Searching for the correlation id '01F5HMNDQ0SA01TCWZ4G6KMRW2' in kibana (for the request I made in GitLab to create an export this morning) in sidekiq logs shows that the archive was created.
May 13, 2021 @ 03:47:55.308 ActionMailer::MailDeliveryJob JID-691e844739df76fe1f10f759: done: 1.405917 sec
May 13, 2021 @ 03:47:53.931 ProjectExportWorker JID-a0ebbf9077610472ef76b10b: done: 9162.416887 sec
May 13, 2021 @ 03:47:53.902 ActionMailer::MailDeliveryJob JID-691e844739df76fe1f10f759: start
May 13, 2021 @ 03:47:53.875 Project successfully exported
May 13, 2021 @ 03:47:06.910 Export archive saved
May 13, 2021 @ 03:47:06.910 Export archive saved
May 13, 2021 @ 01:15:11.514 ProjectExportWorker JID-a0ebbf9077610472ef76b10b: start
So it looks like the archive was created. Possibly something wrong with the object storage?
Output of checks
This bug happens on GitLab.com
From https://gitlab.com/help: GitLab Enterprise Edition 13.12.0-pre c82d065f66e