Resolve "Upload is stuck in status "Pending: process_upload""

Merged David Sikter requested to merge 1122-upload-is-stuck-in-status-pending-process_upload into develop

Closes #1122 (closed). Uploads will get stuck in status PENDING if adding the celery task to the queue fails (for example if rabbitmq is down). This MR adds proper error handling (setting the Proc to status FAILED if the @process-task could not be added to the queue), and also updates the celery version to get more consistent behavior of the celery framework (the currently used version did not always raise an exception as expected).

Edited by David Sikter

Merge request reports