Convert (ImageMagick) doesn't work after some time

Hi,
after installing imagemagick through “flyctl ssh console” it work for some time, but then I have to install it again? What’s happening here?

“Cannot locate executable: convert”

https://vamospm.fly.dev

Our firecracker VMs have ephemeral rootfs meaning to persist something on a machine you must add to the Dockerfile.

I believe that your machine restarted or got deployed and that got you back to a pre imagemagick install state.

1 Like

Probably that’s the case.

I’ve added this to dockerfile:

#install imagemagick
RUN apt-get update && apt-get install -y imagemagick

but now, this error when I try to deploy:


WARN Failed to start remote builder heartbeat: failed building options: failed probing "personal": context deadline exceeded

Error: failed to fetch an image or build from source: error connecting to docker: failed building options: failed probing "personal": context deadline exceeded

Any solutions?

Also tried:

RUN apt-get update -y && apt-get install -y libstdc++6 openssl libncurses5 locales imagemagick \
  && apt-get clean && rm -f /var/lib/apt/lists/*_*

Same error…

That looks like more of remote builder issue, but not 100% sure. Can you try again? If it still fails, try fly apps destroy <REMOTE_BUILDER_APP_NAME to destroy the remote builder. Next time you run fly deploy, a new one will be created.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.