PDF convert issue

Added by Marek Weisskopf about 1 year 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

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