Converter any2pdf is not available
Hi all
I'm deploying nuxeo 9.10 but I'm facing to a problem when I try to preview documents : I get the following error :
{“entity-type”:“exception”,“status”:500,“message”:“Converter any2pdf is not available”}
Yet I installed LibreOffice 5.1 and all theses libraries but unsuccessfully : did someone of you get this kind of error ?
I have defined jod.office.home=/opt/libreoffice5.1/ and jod.jpipe.lib.path=/opt/libreoffice5.1/program
It works with nuxeo 7.10 but not with nuxeo 9.10
texlive-pdfpages texlive-pdfsync texlive-pdftex texlive-pdftex-bin texlive-pdftex-def texlive-thumbpdf texlive-thumbpdf-bin apache-pdfbox pdfpc pdf2html xpdf-poppler xpdf-poppler-debuginfo xpdf-poppler-debugsource zathura-plugin-pdf-poppler zathura-plugin-pdf-poppler
any2pdf
is not available.It tells that I need to install LibreOffice and add soffice to the PATH environment variable ; but I don't know how to call this variable… Besides, I didn't define any environment variable to make it work with nuxeo 7.10
Starting Nuxeo Framework
2018-01-31 14:58:28,436 WARN [localhost-startStop-1] [org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent] Command not available: soffice (command soffice not found in system path (descriptor CommandLineDescriptor[name=soffice,enabled=true,available=false,command=soffice,parameterString=–headless –norestore –writer –convert-to #{format} #{sourceFilePath} –outdir #{outDirPath},testParameterString=–version,winParameterString=<null>,winTestParameterString=–headless –cat test,winCommand=soffice.exe,tester=<null>,readOutput=true,installationDirective=You need to install LibreOffice and add soffice to the PATH environment variable.,installErrorMessage=<null>]). You need to install LibreOffice and add soffice to the PATH environment variable.)
I have just fixed the path and the error message at nuxeo startup has disappeared. However, the preview still does not work. Now I have the following error:
{"entity-type":"exception","status": 500,"message":"java. lang. NullPointerException"}
` 2018-01-31 16:30:19,431 ERROR [ajp-nio-0.0.0.0-8009-exec-3] [org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper] java.lang.NullPointerException java.lang.NullPointerException