-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
GIF upload fails on Heroku instances #1007
Comments
I think you need something like a ffmpeg or libav "buildpack" from heroku |
Thanks for the quick answer! That makes sense, though so far the additional build pack has put me over Heroku's 300MB slug limit (though just barely). I'm looking for a solution and will send a PR when I've figured it out. |
So I had an idea that instead of adding ffmpeg to the buildpack, we could add a script to download and install ffmpeg once the instance is up. So there'd be a slight delay while the instance is doing that, that GIF upload wouldn't work. But that'd be acceptable from my perspective. Maybe a script like this buildpack compile script? It's beyond my abilities at the moment but if you or @ineffyble think this approach would work, I can work on it. |
Since this is fixed as a consequence (and described in #1119) I'm going to close. Thanks again for the feedback. |
If anyone else is having trouble with slug size, check out this Heroku buildpack: https://github.com/Lostmyname/heroku-buildpack-post-build-clean |
Add first anniversary banner
now there is an other solution :
There is some details by heroku here : https://blog.heroku.com/security-rails-active-storage in particular "the final static build weighed in around 30MB" |
Merge upstream changes
ADHOLOKA-BOT |
On my instance (mastodon.technology) served on Heroku, GIF uploading is failing.
Judging from this SO answer my Heroku install is missing something. Any pointers would be welcome, and once I have it fixed I'll update the docs/code.
The text was updated successfully, but these errors were encountered: