Closed
Description
Attempted Debugging
- I have read the debugging page
Searched GitHub Issues
- I have searched GitHub for the issue.
Describe the Scenario
I am having trouble with Bookstack generating PDFs of large books. When using the built-in PDF generator, I am greeted with a 504 Time-out error:
But when I use weasyprint, with debug turned on, I'm presented with the following error:
I am running Bookstack using the LinuxServer.io Docker image. To get weasyprint installed, in my docker-compose.yml, I have added the following:
command: >
sh -c "
apk add --no-cache weasyprint && tail -F anything
"
Then in /www/.env, I'm using the following for EXPORT_PDF_COMMAND:
EXPORT_PDF_COMMAND="weasyprint {input_html_path} {output_pdf_path}"
Exact BookStack Version
v24.05.2
Log Content
No response
Hosting Environment
OVH VPS running Ubuntu 22.04.4 LTS
Bookstack runs using the latest LinuxServer.io Docker image