Project

General

Profile

PDF convert issue

Added by Marek Weisskopf over 2 years ago

Good day,

is there any way to say that convert command for ghostscript to convert only 1 page not whole document? In case if there is a lot of pages it load server to 100% or sometimes lead to error 500.

log: (in this case 1500+ pages)
An error occured while generating contact thumbnail for 210713080243_XY.pdf to /var/www/redmine/tmp/thumbnails/1601_c75ab64be39d5248a9c893a5ea268a253250cd1ce8a5851f5da9826a3fa530cc_100.thumb

Environment:
Redmine version 4.1.1.stable
Ruby version 2.6.6-p146 (2020-03-31) [x86_64-linux]
Rails version 5.2.4.2
Environment production
Database adapter Mysql2