GitLab sends an link for downloading project export but file is unavailable
Summary
Attempting to export a project, it gets 503 Service Unavailable
. On several attempt, the user receives an email that the export is now available, providing a link. But following that link, they get an error that the file containing the export is not available.
Retrying exporting the project via console either fails or ends in the same way.
Tickets:
- https://gitlab.zendesk.com/agent/tickets/207227
- https://gitlab.zendesk.com/agent/tickets/255367
- https://gitlab.zendesk.com/agent/tickets/261537
- https://gitlab.zendesk.com/agent/tickets/263544
- https://gitlab.zendesk.com/agent/tickets/260712
What is the current bug behavior?
Trying to export from the UI, it appears to be successful
Exporting the project from console, we get a successful export with a `Sending event to Sentry error.
In both cases, the download export
button is available on UI, and the email sent to the user includes a link to download the export, but the export file is not in place or unreachable.
What should the behavior be?
If the export was successful, the export file should be downloadable.
If the export fails, it shouldn't send a link to download the export file, and the download export
shouldn't be active. Moreover, a meaningful error message can be useful to fix what causes the export to fail at the firts place.
Relevant logs and/or screenshots
Sentry log for 503 error:
Sentry log for the file not available error:
- https://sentry.gitlab.net/gitlab/gitlabcom/issues/3121948/events/61001222/?environment=gprd
- https://sentry.gitlab.net/gitlab/gitlabcom/issues/3121948/events/62370813/?environment=gprd
Output of checks
This bug happens on GitLab.com