documentserver_community
documentserver_community copied to clipboard
PDF prints are blank - Document Server cant print any fonts
If you try to print over the document server community the whole Document is empty or sometimes incomplete
I've allready tried to clear browser caches and also reinstalled the document server and onlyoffice
The Version of the document Server I run is: 0.1.12
Hi guys,
I can confirm this one. The print function is generating a PDF, before printing. Have tried to download as PDF and the behavior is similar. When exporting to PDF from an OnlyOffice spreadsheet or document, the text is missing. Formatting (e.g. cell background color, table borders) are preserved when exporting from Spreadsheets and images and the number of pages have been preserved when exporting a document.
This started after updating Community Document Server from 0.1.11 to 0.1.12 Nextcloud version 21.0.7
Your prompt assistance is appreciated.
Hi,
Same issue here.
Nextcloud version 23.0.1 RC3 Community Document Server 0.1.12
I confirm, that PDF are blank. Additionally, I see that preview icons of the document files are also blank. Perhaps, these are interconnected issues?
I can confirm exactly these problems as well. By the way, the same problems exist with download/export as HTML.
Onlyoffice Document Editor 6.4.2 Community Document Server 0.1.12 Nextcloud Hub II 23.0.2
As a hint and tip: At least in my case, an S3 bucket is used as primary storage - and according to first looks into the logs, the local storage seems to be partially addressed during export.
Same problem here with print error (blank page)
Same problem. ONLYOFFICE connector 7.3.2 Community Document Server 0.1.12 Nextcloud Hub II (23.0.2)
Good morning, I have the same identical issue. Nextcloud 23.0.3 + OnlyOffice 7.3.2 Searching on the web I found this info: https://community.nethserver.org/t/onlyoffice-print-problem/18449/11
But I don't know how to proceed... :( May be could be helpful.. Regards Ale
Same issue please can help us
Regards Ignacio
Good morning, I have the same identical issue. Nextcloud 23.0.3 + OnlyOffice 7.3.2 any solution?
I was able to manage to load some fonts using the following command with SNAP
sudo nextcloud.occ documentserver:fonts --add /snap/nextcloud/30258/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf the default source is in that path
sudo nextcloud.occ documentserver:fonts #This command show the install fonts on documen server DejaVuSans-Bold.ttf DejaVuSans.ttf DejaVuSansMono-Bold.ttf DejaVuSansMono.ttf
The problem is not solved I change de Arial font in spreadsheet to dejavu but do the same no print visible
All users seem to be affected by this problem - when fix?
Community Document Server 0.1.12
ONLYOFFICE 7.3.4
Nextcloud 22.2.7
Nextcloud 23.0.4 problem still insist, this issue title should be change to Onlyoffice Document server print PDF empty, or Onlyoffice Document server could not print fonts to PDF , Install a standalone only office server in a different domain name
I'm having the same issue with Nextcloud 24.0.3 and Onlyoffice Docs latest image on Docker, is there any news?
I had/have the same problem. I saw that my /usr/share/fonts folder was pretty empty. After I installing fonts on my server with apt install fonts-* ttf-mscorefonts-installer
most fonts are beeing printed again but not all of them.
I was able to solve this as per the above comment, In my case the Nextcloud container only had one font installed. I was able to exec into the nextcloud container and run the following commands:
sudo apt-get update
apt-get install ttf-mscorefonts-installer
note that for this to work you will need to make sure that contrib is added to your sources.
Hi Polytracker, thank You for reply. By the way I didn't understand what You mean when You say: "you will need to make sure that contrib is added to your sources." Can You help me please? Thx so much Ale
@phaser32 have a look here: https://gist.github.com/ChristopherA/680b4eeeeb6e9e4c7fc59c010a23b6cd
@Polytracker Thx again
I have checked with 24.0.6 and found that the issue has gone.
@ostasevych Good morning, Your statement leaves me a little bit perplexed. How can You make work Document Server on 24.0.6 ? It is not compatible. Please share info about it, I'm really interested. Than You very much Ale
I just want to drop in here that I have the same issue. Strangely, never noticed this before and don't know if this was working before upgrade to NC25.0.1. Tried to install some fonts and add them to the server, but no luck. Document server 0.1.13, Onlyoffice 7.6.8. Printing or downloading as PDF produces empty pages or just graphics, no fonts. Export to PDF/A just does nothing.
same here, installing ttf-mscorefonts-installer
didn't help, nextcloud 25.0.1, Community Document Server
0.1.13, ONLYOFFICE 7.6.8, running on Ubuntu 18.04 LTS with ppa:ondrej/php entabled to get php 8.x support
Forget about Community Document Server apps in Nextcloud store, install OnlyOffice in docker much easier to fix those issue
If you don't have a vm or a dedicated server you usually can't run a docker container at a web hosting provider. Even a vm may come with a preinstalled kernel that is stripped down to a minimum, so that containers won't work. I even suspect that some providers sell container instances under the flag of a hosted vm instance in the cheaper market segment
after installing the ttf-mscorefonts-installer
package on Ubuntu I have tried to rebuild fonts occ documentserver:fonts --rebuild
but ran into issue #278 in my local installation (on the hosted platform I wouldn't have the permissions to change anything in the software setup of the host)
Hi mrbaseman, I'm working on a shared hosting and I launched the comand on OCC Web documentserver:fonts --rebuild
without problem. After some second it display "Rebuilding" and apparently everything were executed correctly but same issue here. When I print a doc file eg. ... nothing blank paper :(
unfortunately in my shared hosting environment (1&1) the occ command also failed with a segmentation fault Anyhow, the document server in combination with the onlyoffice environment is great, even if printing into a pdf is currently not working...
Same here, Nexcloud 25.0.2 and built in community doc server
su - www-data -s /bin/bash -c "cd nextcloud; php occ documentserver:fonts --rebuild -vvv"
rebuilding Segmentation fault
I am having the same problem with blank PDFs in NextCloud 25.0.7 with OnlyOffice Community Document Server 0.1.13 installed. After installing ttf-mscorefonts-installer and a bunch of other fonts for good measure got the same segmentation fault:
rebuilding
Segmentation fault
An unhandled exception has been thrown:
TypeError: Return value of "OCA\DocumentServer\Command\Fonts::execute()" must be of the type int, "null" returned. in /var/www/nextcloud/apps/recognize/vendor/symfony/console/Command/Command.php:301
Stack trace:
#0 /var/www/nextcloud/core/Command/Base.php(177): Symfony\Component\Console\Command\Command->run()
#1 /var/www/nextcloud/apps/recognize/vendor/symfony/console/Application.php(1040): OC\Core\Command\Base->run()
#2 /var/www/nextcloud/apps/recognize/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
#3 /var/www/nextcloud/apps/recognize/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#4 /var/www/nextcloud/lib/private/Console/Application.php(214): Symfony\Component\Console\Application->run()
#5 /var/www/nextcloud/console.php(100): OC\Console\Application->run()
#6 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
Related to #257 and probably to #278 and #296
In addition, when trying to open PDF files with the OnlyOffice option, it takes very long and a blank PDF window appears. Opening them normally works fine.
Also tested it with an independent OnlyOffice instance. Issue is the same. On the OnlyOffice instance itself, everything works fine
One more small detail: If i try to run the occ documentserver:fonts command to list installed fonts, I am getting exactly the same error
I see there is little action on this issue/bug. This makes NC unusable in any professional setting which might require PDF's or spreadsheets.
If anybody knows of any work arounds at all, please let us know. (I've tried adding fonts as per mentioned above, but no change.) Otherwise its back to Google Docs for me.