This repository was archived by the owner on Oct 5, 2018. It is now read-only.
This repository was archived by the owner on Oct 5, 2018. It is now read-only.
Job failed to load: undefined class/module DelayedPaperclip #212
Open
Description
We have bulk image upload to S3 using delayed_job. For a single image, it is working correctly.
However, in case of multiple, only the first image gets uploaded to s3 and for the remaining images, I get the following error -
Job failed to load: undefined class/module DelayedPaperclip::. Handler: \"--- !ruby/struct:DelayedPaperclip::Jobs::DelayedJob\\ninstance_klass: Photo\\ninstance_id: 133298\\nattachment_name: :image\\n
We have one dedicated server for delayed_job and one for application server. So there are 2 issues here-
- If an image is uploaded to the app server, then how would the delayed_job server upload the file to S3? But then why is it working for a single image and 1st file in case of multiple image upload?
- Considering that delayed_job server doesn't get the file, then the error should have been something like 'file not found', why is it "undefined class/module DelayedPaperclip".
Metadata
Metadata
Assignees
Labels
No labels
Activity