Disable object_storage for export rake task
While working on #215004 (closed) I discovered that the export rake task fails on staging.
The rake task is failing because object_storage
is enabled. And when :direct_upload
is enabled too, we always store on the REMOTE
storage.
This is causing our Gitlab::ImportExport::AfterExportStrategies::MoveFileStrategy
to fail, because file is not found on file system, since we are using Store::REMOTE
FileUtils.mv(project.export_file.path, @archive_path)
Note: There is also no error displayed unless EXPORT_DEBUG environment variable is set, so rake task prints succes:
INFO -- : Done!
Edited by Nikola Milojevic