Project

General

Profile

Actions

Defect #32848

closed

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

Added by Deoren Moor almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Documentation
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Summary

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
Environment:
  Redmine version                4.1.0.stable.19404
  Ruby version                   2.3.1-p112 (2016-04-26) [x86_64-linux-gnu]
  Rails version                  5.2.4.1
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
SCM:
  Subversion                     1.9.3
  Filesystem                     
Redmine plugins:
  no plugin installed
Gems

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)

Show full gem list

OS packages

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

Show

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

Actions #1

Updated by Matt V over 4 years ago

Hello!

I think this has to do with minimagick replacing imagemagick:
https://www.redmine.org/issues/30492

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,
Matt

Actions #2

Updated by Go MAEDA over 4 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:
https://www.redmine.org/issues/30492

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).

Actions #3

Updated by Go MAEDA over 4 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.

Actions

Also available in: Atom PDF