Preview Office Docs

#1

Hey, i don’t get a preview for office docs. The following error occurs in the Symfony Profiler log:

0 Likes

#2

have you installed libreoffice?

0 Likes

#3

Yes, libreoffice is installed.

0 Likes

#4

Copy and paste command from bottom error to your shell and check out the error message from soffice. Make sure you’re doing this with the same user as php-fpm.

0 Likes

#5

Thanks, the problem has been fixed.

0 Likes

#6

Is there a way to preview Adobe InDesign documents?

0 Likes

#7

Not yet: https://github.com/pimcore/pimcore/issues/2773

1 Like

#8

Hello everybody,
Now I can view the office documents but not search the content.

The word document is converted into a pdf file which also contains the text.
But when searching, the pdf files with the content of my search are displayed, but not the word files.
Is there a solution to that?

best regards

0 Likes

#9

Hi, how did you fixed it?

0 Likes

#10

Hi
I am trying to preview office docs.
I installed Libre Office as follows:
sudo apt-get install libreoffice libreoffice-script-provider-python libreoffice-math xfonts-75dpi poppler-utils inkscape libxrender1 libfontconfig1 ghostscript

I restarted apache, upload some office docs, but no preview.

The /var/logs/libreoffice-pdf-convert.log:
(process:19997): dconf-CRITICAL **: unable to create directory ‘/usr/sbin/.cache/dconf’: Permission denied. dconf will not work properly.

What am I doing wrong?
Best Regards,
Eli

0 Likes