I have been running into a problem where gif uploads stop working when several Mastodon instances share the same host server.
After digging into this, I notice that adding 'loglevel' => 'warning' to /app/models/media_attachment.rb would solve the problem.
Then, I found the source of the problem: thoughtbot/cocaine#96 and tested this PR thoughtbot/cocaine#97 that solves the problem.
As currently Paperclip-av-transcoder still hardcodes Cocaine https://github.com/ruby-av/paperclip-av-transcoder/blob/master/lib/paperclip/paperclip_processors/transcoder.rb#L78 and is not using Terrapin, the Cocaine PR is the one that solved it. Although the same PR has been also pushed to thoughtbot/terrapin#5
I have been running into a problem where gif uploads stop working when several Mastodon instances share the same host server.
After digging into this, I notice that adding
'loglevel' => 'warning'to/app/models/media_attachment.rbwould solve the problem.Then, I found the source of the problem: thoughtbot/cocaine#96 and tested this PR thoughtbot/cocaine#97 that solves the problem.
As currently Paperclip-av-transcoder still hardcodes Cocaine https://github.com/ruby-av/paperclip-av-transcoder/blob/master/lib/paperclip/paperclip_processors/transcoder.rb#L78 and is not using Terrapin, the Cocaine PR is the one that solved it. Although the same PR has been also pushed to thoughtbot/terrapin#5