I'm afraid the jodconverter problem with LibreOffice is still there, and it
is definitely not a problem with LibreOffice but a problem of rights

The error is always reproducible when I run tomcat or openmeetings.service
as a user like nobody or kurnto.
It disappears with starting tomcat or openmeetings.service as root
sudo /etc/init.d/tomcat3 start
or
User=root

in the file /etc/systemd/system/openmeetings.service
make this error disappear.

Question: Is there a directory in &OM_HOME or anywhere else that
LibreOffice has to have access to

Best K.






Am Di., 5. Mai 2020 um 15:44 Uhr schrieb Maxim Solodovnik <
[email protected]>:

> Good to know it is not om issue :)
>
> (from mobile, sorry for typos)
>
> On Tue, May 5, 2020, 20:14 K. Kamhamea <[email protected]> wrote:
>
>> I got it running again. LibreOffice is working with OM now.
>>
>> But I not just purged LO but also removed everything reminding LO from my
>> GUI Package Manager (After purging there left a lot)
>>
>> Am Mo., 4. Mai 2020 um 22:31 Uhr schrieb [email protected] <
>> [email protected]>:
>>
>>> After upgrading to M5 I can see this exception in the log file:
>>> ERROR 05-05 08:24:52.302 o.a.o.c.c.DocumentConverter:109 [Thread-74] -
>>> doJodConvert
>>> java.lang.NullPointerException: null
>>> at
>>> org.jodconverter.local.office.LocalOfficeUtils.validateOfficeHome(LocalOfficeUtils.java:339)
>>> at
>>> org.jodconverter.local.office.LocalOfficeManager$Builder.build(LocalOfficeManager.java:169)
>>> at
>>> org.apache.openmeetings.core.converter.DocumentConverter.createOfficeManager(DocumentConverter.java:85)
>>> at
>>> org.apache.openmeetings.core.converter.DocumentConverter.doJodConvert(DocumentConverter.java:106)
>>> at
>>> org.apache.openmeetings.core.converter.DocumentConverter.convertPDF(DocumentConverter.java:68)
>>> at
>>> org.apache.openmeetings.core.data.file.FileProcessor.processFile(FileProcessor.java:116)
>>> at
>>> org.apache.openmeetings.core.data.file.FileProcessor.processFile(FileProcessor.java:91)
>>> at
>>> org.apache.openmeetings.core.data.file.Wicket_Proxy_FileProcessor$$FastClassByCGLIB$$6d986e8f.invoke(<generated>)
>>> at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
>>> at
>>> org.apache.wicket.proxy.LazyInitProxyFactory$AbstractCGLibInterceptor.intercept(LazyInitProxyFactory.java:364)
>>> at
>>> org.apache.openmeetings.core.data.file.Wicket_Proxy_FileProcessor$$EnhancerByCGLIB$$d310c632.processFile(<generated>)
>>> at
>>> org.apache.openmeetings.web.room.sidebar.UploadDialog.convertAll(UploadDialog.java:261)
>>> at
>>> org.apache.openmeetings.web.room.sidebar.UploadDialog$7.lambda$onSubmit$0(UploadDialog.java:210)
>>> at
>>> org.apache.openmeetings.web.util.ThreadHelper.lambda$startRunnable$0(ThreadHelper.java:40)
>>> at java.base/java.lang.Thread.run(Thread.java:834)
>>>
>>> I thikn it happend after I upgrade OSX and libreoffice got purged from
>>> my system.
>>> So JOD Converter can't find the path anymore.
>>>
>>> Those are the paths for unix it tries (unless you overwrite it via the
>>> OM Config custom path):
>>>
>>> https://github.com/sbraconnier/jodconverter/blob/master/jodconverter-local/src/main/java/org/jodconverter/local/office/LocalOfficeUtils.java#L115
>>>
>>>
>>> Thanks,
>>> Sebastian
>>>
>>>
>>>
>>>
>>> Sebastian Wagner
>>> https://www.linkedin.com/in/sebastianwagner/
>>>
>>> <https://www.youracclaim.com/badges/da4e8828-743d-4968-af6f-49033f10d60a/public_url>
>>> <https://www.youracclaim.com/badges/b7e709c6-aa87-4b02-9faf-099038475e36/public_url>
>>>
>>>
>>> On Tue, 5 May 2020 at 06:32, K. Kamhamea <[email protected]>
>>> wrote:
>>>
>>>> Thank you. After that no OM service any more on that computer  :-)))))))
>>>>
>>>> I'll probably re-install everything tomorrow.
>>>> Good night K.
>>>>
>>>> Am Mo., 4. Mai 2020 um 19:32 Uhr schrieb Maxim Solodovnik <
>>>> [email protected]>:
>>>>
>>>>>
>>>>>
>>>>> On Tue, 5 May 2020 at 00:20, K. Kamhamea <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> > Are you installing to desktop or server?
>>>>>> the computer is both a desktop and a server
>>>>>>
>>>>>> >What in the logs?
>>>>>> INFO  05-04 19:13:09.697 o.j.l.o.OfficeProcess:434 [officeprocess-0]
>>>>>> - Started process; pid: 4629
>>>>>> ERROR 05-04 19:13:11.241 o.j.l.o.VerboseProcess:84 [Thread-191] -
>>>>>> LibreOffice 6.4 - Fatal Error: Die Anwendung kann nicht gestartet werden.
>>>>>> ERROR 05-04 19:13:11.242 o.j.l.o.VerboseProcess:84 [Thread-191] -
>>>>>> Extension Manager: exception in synchronize
>>>>>> INFO  05-04 19:13:11.297 o.j.c.o.AbstractOfficeManagerPool:156
>>>>>> [Thread-183] - Stopping the office manager pool...
>>>>>> INFO  05-04 19:13:11.299 o.j.l.o.OfficeProcessManager:313
>>>>>> [Thread-183] - Submitting task 'Stop' and waiting...
>>>>>> INFO  05-04 19:13:11.303 o.j.l.o.OfficeProcess:240 [officeprocess-0]
>>>>>> - Trying to forcibly terminate process:
>>>>>> 'host=127.0.0.1,port=2002,tcpNoDelay=1'; pid: 4629
>>>>>> INFO  05-04 19:13:11.312 o.j.l.o.OfficeProcessManager:204
>>>>>> [officeprocess-0] - Process terminated with code 77
>>>>>> INFO  05-04 19:13:11.313 o.j.l.o.OfficeProcessManager:121
>>>>>> [officeprocess-0] - Process exited with code 77
>>>>>> INFO  05-04 19:13:11.319 o.j.c.o.AbstractOfficeManagerPool:174
>>>>>> [Thread-183] - Office manager stopped
>>>>>> ERROR 05-04 19:13:11.322 o.a.o.c.c.DocumentConverter:109 [Thread-183]
>>>>>> - doJodConvert
>>>>>> org.jodconverter.core.office.OfficeException: Office process died
>>>>>> with exit code 77
>>>>>>
>>>>>> Fatal Error: Die Anwendung kann nicht gestartet werden. -> Fatal
>>>>>> Error: the application could not be started
>>>>>>
>>>>>>  > What OS on your server?
>>>>>> Ubuntu 18.04
>>>>>>
>>>>>> BTW I just installed the whole server on a naked machine, with no
>>>>>> pre-installed M3 and all works perfectly.
>>>>>>
>>>>>
>>>>> I doubt have M3 can damage LibreOffice
>>>>> I would say some libarary was broken
>>>>> It is usually checked with starting office process from command line
>>>>>
>>>>> most probably apt remove with purge can help here
>>>>>
>>>>>
>>>>>>
>>>>>> Best K.
>>>>>>
>>>>>> Am Mo., 4. Mai 2020 um 17:08 Uhr schrieb Maxim Solodovnik <
>>>>>> [email protected]>:
>>>>>>
>>>>>>> Are you installing to desktop or server?
>>>>>>> What in the logs?
>>>>>>> What OS on your server?
>>>>>>>
>>>>>>> On Mon, 4 May 2020 at 16:57, K. Kamhamea <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> The path is correct, as can be checked by "whereis libreoffice" and
>>>>>>>> obviously it can connect to LO but gets an error executing some 
>>>>>>>> command.
>>>>>>>>
>>>>>>>> When uploading an office document I get an error as expected.
>>>>>>>>
>>>>>>>> [image: error-file-processing.jpg]
>>>>>>>>
>>>>>>>> I just completely removed LO from my system
>>>>>>>>
>>>>>>>> sudo apt remove libreoffice
>>>>>>>>
>>>>>>>>
>>>>>>>> and re-installed it via repository
>>>>>>>>
>>>>>>>> sudo add-apt-repository ppa:libreoffice/ppa
>>>>>>>> sudo apt update
>>>>>>>> sudo apt install libreoffice
>>>>>>>>
>>>>>>>> same result. Any idea?
>>>>>>>>
>>>>>>>> Best K.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Am Mo., 4. Mai 2020 um 10:42 Uhr schrieb [email protected] <
>>>>>>>> [email protected]>:
>>>>>>>>
>>>>>>>>> I have M3, M4, M5 and I don't see this error.
>>>>>>>>>
>>>>>>>>> This is a jodconverter error.
>>>>>>>>>
>>>>>>>>> Did you try to complete installation and upload a document to
>>>>>>>>> check ?
>>>>>>>>> You can update this path later if required in the Admin>Config
>>>>>>>>> section.
>>>>>>>>>
>>>>>>>>> Cheers
>>>>>>>>> Seb
>>>>>>>>>
>>>>>>>>> Sebastian Wagner
>>>>>>>>> https://www.linkedin.com/in/sebastianwagner/
>>>>>>>>>
>>>>>>>>> <https://www.youracclaim.com/badges/da4e8828-743d-4968-af6f-49033f10d60a/public_url>
>>>>>>>>> <https://www.youracclaim.com/badges/b7e709c6-aa87-4b02-9faf-099038475e36/public_url>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, 4 May 2020 at 19:49, K. Kamhamea <[email protected]>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> When running M4 after update I got this error: "Office process
>>>>>>>>>> died with exit code 77"
>>>>>>>>>>
>>>>>>>>>> With M3 everything was fine. I re-installed LibreOffice but the
>>>>>>>>>> error remained.
>>>>>>>>>>
>>>>>>>>>> Best K.
>>>>>>>>>>
>>>>>>>>>> [image: slide-06'2.JPG]
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Best regards,
>>>>>>> Maxim
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Best regards,
>>>>> Maxim
>>>>>
>>>>

Reply via email to