Defect #32848

Missing log message indicating why "ImageMagick PDF support available (optional)" is unavailable (even with requirements met)

Added by Deoren Moor over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution:Fixed Affected version:4.1.0



We recently upgraded from Redmine v4.0.6 to v4.1.0 and when checking the admin/info panel after the upgrade I saw an exclamation for ImageMagick PDF support available (optional), but passing marks for the other checks.

I call myself looking, but I didn't find any error messages related to this in our log file. If nothing else, please consider this a bug report noting a missing error message explaining why the ImageMagick PDF support available (optional) item is flagged as broken/problematic in the admin/info UI. That said, it appears that we've met the requirements and still don't have the indicated support.

Environment/Software details

admin/info details
  Redmine version                4.1.0.stable.19404
  Ruby version                   2.3.1-p112 (2016-04-26) [x86_64-linux-gnu]
  Rails version        
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
  Subversion                     1.9.3
Redmine plugins:
  no plugin installed

I initially had trouble with the upgrade due to the current Gemfile configuration for sprockets (which #32839 is addressing), but once that was hotfixed (via Gemfile.local entry) the upgrade proceeded without apparent issue.

I checked the gem bundle and I see that mini_magick is installed:

$ sudo bundle list | grep magick
  * mini_magick (4.9.5)

OS packages

Here are what appears to be the relevant installed Ubuntu packages:

Per the notes on #30492#note-13, we meet the ImageMagick 6.8.9 (minimum) version requirement.


#1 Updated by Matt V over 2 years ago


I think this has to do with minimagick replacing imagemagick:

I also agree that this is somewhat confusing - I still think that this status is still asking for imagemagick and therefore fails.

BTW thanks to all the developers - you are great :)

Kind Regards,

#2 Updated by Go MAEDA over 2 years ago

An exclamation mark for "ImageMagick PDF support available (optional)" is shown when GhostScript (gs command) is not detected on your server.

Redmine doesn't raise any errors without GhostScript. The only inconvenience without GhostScript is that thumbnails for PDF attachments (#22481) are not shown.

GhostScript is not used directly by Redmine but via ImageMagick's convert command.

Matt V wrote:

I think this has to do with minimagick replacing imagemagick:

The library replaced with MiniMagick is RMagick, not ImageMagick. MiniMagick and RMagick are an interface between apps and ImageMagick. So, Redmine 4.1 requires MiniMagick and ImageMagick (RMagick and ImageMagick were required in Redmine 4.0 or earlier).

#3 Updated by Go MAEDA over 2 years ago

  • Category changed from PDF export to Documentation
  • Status changed from New to Closed
  • Resolution set to Fixed

I have just added a document about this. Please see RedmineAdminInformation.

Also available in: Atom PDF