Actions
Defect #34397
closedPDF thumbnail to PNG failing on ruby 2.5
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Attachments
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
We have Redmine 4.1.1 hosted on an ubuntu server but whenever we attach PDFs, the thumbnails show up as 404 broken links despite it appearing that it is set up correctly:
All image attachments do show thumbnails correctly.
When I run "rake test" on the server, I consistently get 2 failing unit tests related to this:- AttachmentTest#test_thumbnail_should_generate_the_thumbnail
- AttachmentsControllerTest#test_thumbnail_for_pdf_should_be_png
I've checked in my Bundle.lock file but otherwise it is the same as the version that is clearly building successfully in Jenkins according to https://www.redmine.org/builds/ - is there a server-level package that I need to apt-install or a gem I'm missing that's not defined in the Gemfile?
Is the "check" that the information page does to determine whether pdf-to-thumbnail support is enabled broken? I've confirmed that "gs" is installed on our server and working correctly.
Thank you,
Michael
Files
Actions