Image uploading suddenly stopped working

I have developed 2-3 websites using sharetribe open-source marketplace and using dedicated server to host this application. For uploading image, sending emails and searching, I run worker job with queue options and running it in background.

Everything going well from last 2 months and suddenly images stopped working. When I upload image it shows “processing...”. It means image uploaded to temp path and worker will upload image. At this place, this text will changed to “image processing failed”. I checked this if worker stopped or anything not working then found that it is showing one error - Paperclip::Errors::NotIdentifiedByImageMagickError. I checked imagemagick path also and it is correct and identify/convert command running properly.

Then I checked search and mailer flow and it was working fine. It means worker is properly working and issue is at paperclip and imagemagick side. I tried to debug this and found that it is not working with styles and only original images are being uploaded to server. There will not be any action performed by anyone on code which was working before.

I checked 2 other open-source websites deployed by me before and found the same problem with them also. So wanted to confirm around this issue and if anyone has solution to fix this. This is working fine in my local in all projects of sharetribe open-source but not on production now.

Please check if anyone also facing the same on production website with sharetribe open-source code. My production env is:
AWS EC2 and Vscale server instances
Ubuntu 16 and Ubuntu 18
Postgresql
Ruby 2.3.4
Rails 5.1.1
Node 7.8.0
npm 4.2.0

Thanks in advance.

1 Like

Did you search on the forum for other answers like this one?
https://www.sharetribe.com/community/t/image-stucked-in-processing-forever/839

You are getting same error again and again