Redmine 5.0.3 keeps looking for the convert command
As per the installation documentation online, when installing Redmine you should install
RMagick (and the
imagemagik system package, although it's not mentioned) when installing versions prior to 4.1 to be able to export gantt charts to PNG or PDF. But when installing Redmine version 5.x you can/should use Ghostscript to enable thumbnails generation for PDF attachments in Redmine 4.1 or later.
My Redmine 5.0.3 installation has
mini_magick installed, which enables the "MiniMagick available (optional)" entry in the installation info page, and it also has the "ImageMagick PDF support available (optional)" entry because I installed the
ghostscrit system package, but the "ImageMagick convert available (optional)" entry is not active because I didn't install the
imagemagick system package.
This is kind of confusing in my opinion and the installation docs should be updated to reflect more clearly what you get and what you don't when installing (or not) certain packages.
In the end, I installed
imagemagick on my Debian 11 Bullseye for the
convert command to be available (and a huge number of dependencies that come with it). Nothing wrong with that, albeit a tad less optimal maybe, but it would be great for new users to be given clearer messages regarding these optional dependencies (i.e.
ghostscript system packages).
Thanks and keep up the good work.
Updated by Jaume Sabater about 1 year ago
Just in case the context of the issue is not clear enough, here you are my personal notes on my installation on Debian 11 Bullseye. Maybe they require change, too, so I'd appreciate the feedback:
ghostscriptis required to enable thumbnails generation for PDF attachments in Redmine 4.1 or later.
imagemagickis required to enable thumbnails generation for images in Redmine (via the convert command).
gitis required to interact with the source code repository on Github.
build-essentialis required to build gems.
libssl-devare required by Bundler to build gems.
libpq-devis required to build the PostgreSQL driver gem.
ruby-bundlerare installed as system packages.
postgresql-clientwill be used to manually test the connection to the database.
subversionwill be use to check out the source code.