New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
500 Error processing thumbnail for uploaded media #13099
Comments
Can you check if by any chance your |
Hello, |
|
Thank you. It returned nothing :
|
I must to precise that I tried to reinstall but with the same issue. |
Do you have imagemagick installed? |
Hm, ok. Do you happen to have the full log for what made you think the issue was with Paperclip? The error should be in mastdon-web's logs ( |
Is your disk full by any chance? |
Yes !
It result this :
And no ! |
I don't see a clear error. Could it be imagemagick runs out of RAM while trying to convert the image, and so the upload cancels? |
Mmhhh. That's something to verify. I have only 2GB of memory on this VPS and less than 100MB free. |
Ok, I upgraded to 4GB with 2GB free, but it's not that. Can it be in rapport with an upgrade of Node ? The only thing I did after installation was to upgrade node (v10.19.0). |
no, node isn't involved in this |
I continue to investigate, but I repeat the same things since yesterday because I have no idea about what happened. I also checked to chdown to the mastodon user the access of all folders. |
oh, we do eat paperclip errors without giving any more information… interesting |
Could you edit rescue Paperclip::Error
render json: processing_error, status: 500
end with rescue Paperclip::Error => e
Rails.logger.warn "#{e}"
render json: processing_error, status: 500
end restart mastodon-web, try again and check the logs? |
Yes! I have this.
|
Another information. When I try to upload a video :
|
OK ! I fully uninstalled Imagemagick :
&
I re-installed it :
&
And it works a new. Thank you for your help ! |
Wait, why are you installing ImageMagick both from the package manager and from source?
There should be no need to install it from source, and when doing so, you should *not* install it using the package manager first.
I'd suggest you fully uninstall it as you described, then only install it from the package manager, it will avoid problems down the line…
|
I tried before just with the package manager but it didn't work. |
i found this thread while researching this issue: #3676 (comment) (probably unrelated) |
I'm getting this error as well. Gem.lock file no changes |
Hello,
I have a problem on a fresh instance. All worked fine, and I don't know why I can't upload on it anymore and the instance don't parse external medias too.
I have nothing in logs and in Sidekiq. Just this error when I try to upload. So I investigate and it seems to be an error due to a thing called Paperclip. But not sure.
Have someone an idea ?
Thank you !
The text was updated successfully, but these errors were encountered: