We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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}"
EXPORT_PDF_COMMAND="weasyprint {input_html_path} {output_pdf_path}"
v24.05.2
No response
OVH VPS running Ubuntu 22.04.4 LTS Bookstack runs using the latest LinuxServer.io Docker image
The text was updated successfully, but these errors were encountered:
Yeah, we set a hard-coded default 15 second timeout for PDF exports commands:
BookStack/app/Entities/Tools/PdfGenerator.php
Line 89 in f0dd33c
I guess we could add an option for the timeout, if you'd like to create a feature request for that.
Sorry, something went wrong.
Since #5119 has now been opened I'll go ahead and close this off.
No branches or pull requests
Attempted Debugging
Searched GitHub Issues
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:
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
The text was updated successfully, but these errors were encountered: