I am bringing up the problem again: I installed nextcloud on a shared server today (Jan 2025). It is up and working. I got onlyoffice and the document server to create and read office documents. But the exporting of pdf files still only yields blank pages when it comes to text. Images that I include are all exported. I am aware that the very same topic has been closed in Dec 2024, but I must admit (apologies) that I did not understand the workaround. I am not a programming specialist and yet I would like to get NC working for me in order to leave Googledrive behind. Is there any simple how-to someone can provide to get this problem fixed? Thanks a lot in advance.
ChatGPT:
Find a workaround for /read onlyoffice in nextcloud printing only blank pages â again
The issue reported is that OnlyOffice in Nextcloud exports blank PDFs when printing, except for images. This problem has been discussed before but remains unresolved for some users.
Possible Workarounds:
-
Use a Different PDF Engine
- Go to Nextcloud Admin Settings > OnlyOffice and check if there is an alternative rendering engine.
- Try enabling/disabling advanced printing options in OnlyOffice.
-
Update OnlyOffice & Nextcloud
- Ensure both Nextcloud and the OnlyOffice Document Server are fully updated.
- If using a Docker-based installation, restart the containers and pull the latest images.
-
Check Fonts & Rendering Issues
- Install missing fonts on the OnlyOffice server:
sudo apt install ttf-mscorefonts-installer
- Restart the OnlyOffice Document Server after font installation.
- Install missing fonts on the OnlyOffice server:
-
Try Exporting via a Different Browser
- Some users report that Firefox handles the export better than Chrome-based browsers.
-
Manually Convert the Document
- If nothing works, try exporting to ODT/DOCX and then manually converting to PDF using LibreOffice:
libreoffice --headless --convert-to pdf filename.docx
- If nothing works, try exporting to ODT/DOCX and then manually converting to PDF using LibreOffice:
Let me know if you need detailed steps for any of these solutions!
Thanks a lot for your help. I will try and work with these insights and might come back if I am lost.
1 Like