Meteor-files: How to create thumbnails in docker container (via Meteor Up etc)

Created on 9 Sep 2017  路  4Comments  路  Source: veliovgroup/Meteor-Files

I'm currently attempting to create thumbnails on my production server (which is in a docker container thanks to Meteor up) but I am met with this error:

[159.203.61.14][_app.createThumbnails] [_.each sizes] [Error: Could not execute GraphicsMagick/ImageMagick: gm "identify" "-ping" "-format" "%wx%h" "/images/pFLwvoTSWppt4WhF3.jpg" this most likely means the gm/convert binaries can't be found]

The main images themselves are uploaded correctly without an errors but I am wondering if anyone has been successful in getting thumbnails to generate correctly. I believe it must have to do with installing graphicsmagick in a docker container, unless there is something else I'm missing?

Docker MUX Post Processing question

All 4 comments

Hello @programthis ,

  • First take a look on MUP/X related docs
  • All you need is to add GraphicsMagick to Docker Image or use one where gm is already build-in:

    • Add to Dockerfile:

RUN apt-get update
RUN apt-get install -y graphicsmagick

Let me know if this is solved your issue

@programthis also may be useful to take a look on demo repo:

@dr-dimitru thank you very much. I found a docker image to use with those very commands you referenced and it now works.

@programthis awesome, I'm glad it helped you.

Please, support this project by:

Was this page helpful?
0 / 5 - 0 ratings