Project

General

Profile

Actions

Defect #42558

closed

JPEG images are not shown in exported PDF files

Added by E M about 1 month ago. Updated 9 days ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

After a migration from 5.x to 6.x + upgrade Ruby to 3.3, the images are no more exported in PDF. (I'm an old user of redmine, beginning 10 years ago)

The details of my installation are in attachment. The OS is a Debian Bookworm up to date. The ruby is installed by rvm. The nginx Passenger is compiled from ruby with passenger-install-nginx-module.
All other functionalities I use are working.

From the logs files, I find the error message:
App 71932 output: [2bb7c937-74d9-418f-833c-9962d359a8fd] Started GET "/projects/test/wiki/Wiki.pdf" for 192.168.121.1 at 2025-04-10 10:32:34 +0200
App 71932 output: [2bb7c937-74d9-418f-833c-9962d359a8fd] Processing by WikiController#show as PDF
App 71932 output: [2bb7c937-74d9-418f-833c-9962d359a8fd] Parameters: {"project_id"=>"test", "id"=>"Wiki"}
App 71932 output: [2bb7c937-74d9-418f-833c-9962d359a8fd] Current user: admin (id=1)
App 71932 output: [2bb7c937-74d9-418f-833c-9962d359a8fd] pdf: Image: error: `mogrify -mime-type /tmp/mini_magick20250410-71932-pevnj7.jpg` failed with status: 1 and error:
App 71932 output: mogrify-im6.q16: unrecognized option `-mime-type' @ error/mogrify.c/MogrifyImageCommand/5538.
App 71932 output:
App 71932 output: [2bb7c937-74d9-418f-833c-9962d359a8fd] Completed 200 OK in 225ms (Views: 205.7ms | ActiveRecord: 5.5ms (14 queries, 1 cached) | GC: 29.9ms)

I suspect the migration of rmagick but without finding anything. That's why I need help !

Thanks for your support and long life to redmine


Files


Related issues

Related to Redmine - Patch #41312: Update MiniMagick to 5.0ClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF