The contents you find here are totally obsolete so do not use this website to obtain a solution for your issues: the indications you get from here will not be accurate and may lead to data loss or other mayor problems

logicalDoc 7.5 business PDF Preview

LogicalDOC has many interesting features, but requires some configuration process to show its full potential.

Moderator: car031

MacMuff
Posts: 2
Joined: Mon Aug 15, 2016 3:43 pm

logicalDoc 7.5 business PDF Preview

Mon Aug 15, 2016 4:07 pm

Hi,

i have a new installed logicalDoc 7.5.1 business on an Ubuntu 14.04 Server. All 3rd-party tools are installed and working. I can convert documents on the command-line, but thumbnails and pdf preview is not working.
3rd.png
3rd.png (11.39 KiB) Viewed 9664 times
if i open the preview-tab, the error 'stream must have data' is shown.
pdfjs.png
pdfjs.png (8.52 KiB) Viewed 9664 times
what do i have to check or install to get the pdf preview?

thanks
ralf
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: logicalDoc 7.5 business PDF Preview

Tue Aug 16, 2016 2:09 pm

Hi ralf,
the preview of pdf depends essentially by only one components: OpenOffice/LibreOffice.
Basically LogicalDOC con use one of the 2 software, but you must properly configure the settings of "OpenOffice path"

With LibreOffice you can use

Code: Select all

/usr/bin/libreoffice
See also http://docs.logicaldoc.com/en/installat ... doc-ubuntu
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: logicalDoc 7.5 business PDF Preview

Tue Aug 16, 2016 2:17 pm

One last note:
rendering thumbnail depends by 2 things:
  1. PDF conversion (OpenOffice / LibreOffice)
  2. Ability to render the first page of PDF in image (Ghostscript)
MacMuff
Posts: 2
Joined: Mon Aug 15, 2016 3:43 pm

Re: logicalDoc 7.5 business PDF Preview

Wed Aug 17, 2016 10:15 am

Thank you for your answers. I found that the libreoffice setting must be set to

Code: Select all

/usr/lib/libreoffice
instead of /usr/bin

In the logfiles i found the error message, that the directory is needed and not the executable. So i set it to the directory and the preview is now working.

agaspa wrote:Hi ralf,
the preview of pdf depends essentially by only one components: OpenOffice/LibreOffice.
Basically LogicalDOC con use one of the 2 software, but you must properly configure the settings of "OpenOffice path"

With LibreOffice you can use

Code: Select all

/usr/bin/libreoffice
See also http://docs.logicaldoc.com/en/installat ... doc-ubuntu
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: logicalDoc 7.5 business PDF Preview

Wed Aug 17, 2016 10:52 am

Hi Ralf,
thanks for sharing your solution, I checked and it seems that there is an error in the documentation site.
I reported it to my colleagues who will edit the page and screenshots.

Have a nice day
Alex

Return to “Configuration”

Who is online

Users browsing this forum: Google [Bot] and 28 guests

× Attention! This forum has been dismissed and will be soon removed. The contents you find here are totally obsolete so do not use this website to obtain a solution for your issues: the indications you get from here will not be accurate and may lead to data loss or other mayor problems.