API PDF export -> empty pages
Describe the Bug
When I export the books in PDF with the API, all the pages al empty. All the other exports (markdown, HTML, plaintext) works
Steps to Reproduce
- execute the API with the URL http://bookstack:6875/api/books/17/export/pdf
- a PDF with all the pages white is received
Expected Behaviour
A PDF with the book is downloaded.
Screenshots or Additional Context
In the docker logs when Bookstack starts I see that the version is the latest:
Linuxserver.io version: v24.05.2-ls152
Build-date: 2024-07-01T18:27:53+00:00
But in the UI I see v22.11.1, do you know why?
Browser Details
No response
Exact BookStack Version
v24.05.2-ls152
But in the UI I see v22.11.1, do you know why?
That's odd, If you click the profile menu in the header do you see "My account" or do you see "Edit Profile" (or similar)?
- Otherwise, does the export work okay in the application if you export the book as PDF? IF not, what about the page?
- If you go directly to
http://bookstack:6875/api/books/17/export/pdfin the browser as a user with API pemission, does the browser download a book export okay?
But in the UI I see v22.11.1, do you know why?
That's odd, If you click the profile menu in the header do you see "My account" or do you see "Edit Profile" (or similar)? I see "Edit Profile"
* Otherwise, does the export work okay in the application if you export the book as PDF? IF not, what about the page?
This works, the PDFs are ok
* If you go directly to `http://bookstack:6875/api/books/17/export/pdf` in the browser as a user with API pemission, does the browser download a book export okay?
Even in this way it works. That's so strange.......
Damn, damn, damn! It's another problem not related to BookStack. As soon as the PDFs are created I upload them to DropBox with the APIs. The problem lies there because I've just checked the local temp files and they are ok. I'm sorry!
I still have the problem about the version. Am I using the latest or am I stuck at V22?
Am I using the latest or am I stuck at V22?
Sounds like you're currently stuck at v22.11.1. Are you sure you're not accidentally running multiple containers at one? (old and new).