galterlibrary / digital-repository

DigitalHub - Institutional Repository for Galter Health Sciences
https://digitalhub.northwestern.edu/
5 stars 1 forks source link

Doc conversion to pdf times-out #555

Closed phebal closed 6 years ago

phebal commented 6 years ago

[Error] derivatives: Unable to execute command "soffice --invisible --headless --convert-to jpg --outdir /var/www/apps/sufia_tmp /var/www/apps/sufia_tmp/content-120180118-31086-1f2mvof.pdf" The command took longer than 120 seconds to execute

for: https://digitalhub.northwestern.edu/files/22592fa6-9a8d-47d2-ad49-953f73a5eeae

phebal commented 6 years ago

The problem here is that it takes about 4 minutes to convert the particular document using soffice. Timeout is set to 90 seconds. I'll bump it up if we see more cases like this one.