please share the output of `ps -ef|grep java`
The folder is being created in "/root/.cache/dconf'" which is weird

I would try to create this folder manually,
OR maybe even better re-define $HOME in the script you are using to start OM ...

On Thu, 25 Mar 2021 at 15:55, Daniel Baker <[email protected]> wrote:
>
> I  have  run into this  problem  too  but   unfortunately   a reinstall of 
> libreoffice  didn't  work:
>
>
> DEBUG 03-24 15:17:37.556 o.a.o.d.u.AuthLevelUtil:40 [nio-5443-exec-7] - Level 
> SOAP :: [GRANTED]
> DEBUG 03-24 15:17:37.557 o.a.o.c.d.f.FileProcessor:72 [nio-5443-exec-7] - 
> file extension: pdf
> DEBUG 03-24 15:17:37.558 o.a.o.c.d.f.FileProcessor:76 [nio-5443-exec-7] - 
> isAsIs: false
> DEBUG 03-24 15:17:37.558 o.a.o.c.d.f.FileProcessor:106 [nio-5443-exec-7] - 
> writing file to: 
> /opt/open510/webapps/openmeetings/data/upload/files/c25e7278-e3c8-494c-9d14-c0c97913979f/c25e7278-e3c8-494c-9d14-c0c97913979f.pdf
> DEBUG 03-24 15:17:37.558 o.a.o.c.d.f.FileProcessor:113 [nio-5443-exec-7] - 
> Office document: 
> /opt/open510/webapps/openmeetings/data/upload/files/c25e7278-e3c8-494c-9d14-c0c97913979f/c25e7278-e3c8-494c-9d14-c0c97913979f.pdf
> DEBUG 03-24 15:17:37.559 o.a.o.c.c.DocumentConverter:65 [nio-5443-exec-7] - 
> fullProcessing: true
> DEBUG 03-24 15:17:37.559 o.a.o.c.c.DocumentConverter:67 [nio-5443-exec-7] - 
> -- running JOD --
>  INFO 03-24 15:17:37.561 o.j.l.o.OfficeProcessManager:313 [nio-5443-exec-7] - 
> Submitting task 'Start' and waiting...
>  INFO 03-24 15:17:37.581 o.j.l.o.OfficeDescriptor:101 [fficeprocess-14] - 
> soffice info (from exec path): Product: LibreOffice - Version: ??? - 
> useLongOptionNameGnuStyle: true
>  INFO 03-24 15:17:37.758 o.j.l.o.OfficeDescriptor:75 [fficeprocess-14] - 
> soffice info (from help output): Product: LibreOffice - Version: 6.0.7.3 - 
> useLongOptionNameGnuStyle: true
>  INFO 03-24 15:17:37.758 o.j.l.o.OfficeProcess:420 [fficeprocess-14] - OFFICE 
> HOME: /usr/lib/libreoffice
>  INFO 03-24 15:17:37.758 o.j.l.o.OfficeProcess:421 [fficeprocess-14] - 
> Starting process with --accept 
> 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.ServiceManager' 
> and profileDir 
> '/opt/open510/temp/.jodconverter_socket_host-127.0.0.1_port-2002_tcpNoDelay-1'
>  INFO 03-24 15:17:37.779 o.j.l.o.OfficeProcess:434 [fficeprocess-14] - 
> Started process; pid: 26397
> ERROR 03-24 15:17:37.912 o.j.l.o.VerboseProcess:84 [Thread-34931] -
> ERROR 03-24 15:17:37.912 o.j.l.o.VerboseProcess:84 [Thread-34931] - 
> (process:26397): dconf-CRITICAL **: 15:17:37.912: unable to create directory 
> '/root/.cache/dconf': Permission denied.  dconf will not work properly.
>  WARN 03-24 15:17:38.295 o.j.l.o.ConnectRetryable:89 [fficeprocess-14] - 
> Office process died with exit code 81; restarting it
>  INFO 03-24 15:17:38.313 o.j.l.o.OfficeDescriptor:101 [fficeprocess-14] - 
> soffice info (from exec path): Product: LibreOffice - Version: ??? - 
> useLongOptionNameGnuStyle: true
>  INFO 03-24 15:17:38.493 o.j.l.o.OfficeDescriptor:75 [fficeprocess-14] - 
> soffice info (from help output): Product: LibreOffice - Version: 6.0.7.3 - 
> useLongOptionNameGnuStyle: true
>  INFO 03-24 15:17:38.493 o.j.l.o.OfficeProcess:420 [fficeprocess-14] - OFFICE 
> HOME: /usr/lib/libreoffice
>  INFO 03-24 15:17:38.493 o.j.l.o.OfficeProcess:421 [fficeprocess-14] - 
> Starting process with --accept 
> 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.ServiceManager' 
> and profileDir 
> '/opt/open510/temp/.jodconverter_socket_host-127.0.0.1_port-2002_tcpNoDelay-1'
>  INFO 03-24 15:17:38.513 o.j.l.o.OfficeProcess:434 [fficeprocess-14] - 
> Started process; pid: 26424
> ERROR 03-24 15:17:38.643 o.j.l.o.VerboseProcess:84 [Thread-34939] -
> ERROR 03-24 15:17:38.643 o.j.l.o.VerboseProcess:84 [Thread-34939] - 
> (process:26424): dconf-CRITICAL **: 15:17:38.643: unable to create directory 
> '/root/.cache/dconf': Permission denied.  dconf will not work properly.
>  INFO 03-24 15:17:38.847 o.j.l.o.OfficeConnection:176 [fficeprocess-14] - 
> Connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
>  INFO 03-24 15:17:38.848 o.j.l.t.LocalConversionTask:93 [er-poolentry-15] - 
> Executing local conversion task [pdf -> pdf]...
> ERROR 03-24 15:17:39.110 o.j.l.t.LocalConversionTask:127 [er-poolentry-15] - 
> Local conversion failed.
>
>
> Does  seem  permissions  related.
>
>
>
>
>
>
> On 01-Oct-20 4:19 AM, Maxim Solodovnik wrote:
>
>
>
> On Thu, 1 Oct 2020 at 09:14, Denis Noctor <[email protected]> wrote:
>>
>> Once again Maxim... you have proved to be a total star.
>>
>> sudo -u nobody /usr/lib/libreoffice/program/soffice --version
>> gave me a critical permissions error which unfortunately did not note 
>> down... however, I reinstalled as suggested.
>> (I corrected 2 typos just in case this is revisited).
>
>
> thanks :))
> i'm in one-handed-baby-sitting mode right now :)))
>
>>
>>
>> Once again. Thank you.
>>
>> sudo apt remove --purge libreoffice
>> sudo apt autoremove
>> sudo apt update
>> sudo apt install -y --no-install-recommends libreoffice
>>
>>
>>
>>
>>
>>
>>
>>
>> On Wed, Sep 30, 2020 at 8:23 PM Maxim Solodovnik <[email protected]> 
>> wrote:
>>>
>>> According to the log the issue is caused by the LibreOffice problems
>>> to ensure try to run it from command line
>>> `sudo -u nobody /usr/lib/libreoffice/program/soffice --version`
>>>
>>> I would say re-installation might help help
>>> `sudo apt remove --purge libreoffice`
>>> `sudo apt audoremove`
>>> `sudo update`
>>> `sudo apt install -y --no-install-recommends libreoffice`
>>>
>>> On Thu, 1 Oct 2020 at 07:04, Ali Alhaidary <[email protected]> 
>>> wrote:
>>>>
>>>> No, OM is writing on the correct folder, however, the convertor is not.
>>>>
>>>>
>>>> On 10/1/20 2:22 AM, Denis Noctor wrote:
>>>> > I made my own... which I think might be the root of the problem.... 
>>>> > changed folder name to open510... but made relevant changes in tomcat4...
>>>> >
>>>> > Seems to be a permissions issue... will review and check...
>>>> >
>>>> > Sent from my iPhone
>>>> >
>>>> >> On Sep 30, 2020, at 4:38 PM, Ali Alhaidary 
>>>> >> <[email protected]> wrote:
>>>> >>
>>>> >> Denis,
>>>> >>
>>>> >> Do you use the default data 
>>>> >> folder(/opt/open501/webapps/openmeetings/data), or you made your own?
>>>> >>
>>>> >>
>>>> >>> On 10/1/20 12:25 AM, Ali Alhaidary wrote:
>>>> >>>  [1;31mERROR [0;39m 09-30 21:05:59.614  [36mo.j.l.o.VerboseProcess:84 
>>>> >>> [Thread-1650] [0;39m -
>>>> >>>  [1;31mERROR [0;39m 09-30 21:05:59.614  [36mo.j.l.o.VerboseProcess:84 
>>>> >>> [Thread-1650] [0;39m - (process:4831): dconf-CRITICAL **: 
>>>> >>> 21:05:59.614: unable to create directory '/home/om_user/.cache/dconf': 
>>>> >>> Permission denied.  dconf will not work properly.
>>>> >>>  [1;31mERROR [0;39m 09-30 21:05:59.640  [36mo.j.l.o.VerboseProcess:84 
>>>> >>> [Thread-1650] [0;39m - LibreOffice 6.4 - Fatal Error: The application 
>>>> >>> cannot be started.
>>>> >>>  [1;31mERROR [0;39m 09-30 21:05:59.640  [36mo.j.l.o.VerboseProcess:84 
>>>> >>> [Thread-1650] [0;39m - Extension Manager: exception in synchronize
>>>> >>>  [34mINFO  [0;39m 09-30 21:05:59.814  
>>>> >>> [36mo.j.c.o.AbstractOfficeManagerPool:156 [Thread-1636] [0;39m - 
>>>> >>> Stopping the office manager pool...
>>>> >>>  [34mINFO  [0;39m 09-30 21:05:59.814  
>>>> >>> [36mo.j.l.o.OfficeProcessManager:313 [Thread-1636] [0;39m - Submitting 
>>>> >>> task 'Stop' and waiting...
>>>> >>>  [34mINFO  [0;39m 09-30 21:05:59.814  [36mo.j.l.o.OfficeProcess:240 
>>>> >>> [officeprocess-1] [0;39m - Trying to forcibly terminate process: 
>>>> >>> 'host=127.0.0.1,port=2002,tcpNoDelay=1'; pid: 4831
>>>> >>>  [34mINFO  [0;39m 09-30 21:05:59.818  
>>>> >>> [36mo.j.l.o.OfficeProcessManager:204 [officeprocess-1] [0;39m - 
>>>> >>> Process terminated with code 77
>>>> >>>  [34mINFO  [0;39m 09-30 21:05:59.818  
>>>> >>> [36mo.j.l.o.OfficeProcessManager:121 [officeprocess-1] [0;39m - 
>>>> >>> Process exited with code 77
>>>> >>>  [34mINFO  [0;39m 09-30 21:05:59.821  
>>>> >>> [36mo.j.c.o.AbstractOfficeManagerPool:174 [Thread-1636] [0;39m - 
>>>> >>> Office manager stopped
>>>> >>>  [1;31mERROR [0;39m 09-30 21:05:59.822  
>>>> >>> [36mo.a.o.c.c.DocumentConverter:109 [Thread-1636] [0;39m - doJodConvert
>>>> >>> org.jodconverter.core.office.OfficeException: Office process died with 
>>>> >>> exit code 77
>>>> >>>
>>>> >>> Permission issue here, or wrong path...
>>>> >>>
>>>> >>>> On 10/1/20 12:09 AM, Ali Alhaidary wrote:
>>>> >>>> same here
>>>> >>>>
>>>> >>>>
>>>> >>>>> On 9/30/20 11:06 PM, Denis Noctor wrote:
>>>> >>>>> Hi there guys,
>>>> >>>>>
>>>> >>>>> Having recently upgraded to the OM 5.1.O snapshot, I realize I can 
>>>> >>>>> only upload pdfs and jpgs - no other file conversion appears to 
>>>> >>>>> work... (all other functionality etc seems fine).
>>>> >>>>>
>>>> >>>>> Everything works fine on https://om.alteametasoft.com:8443/next/ so 
>>>> >>>>> the problem is clearly on my side.
>>>> >>>>>
>>>> >>>>> Any suggestions before considering a clean reinstall?
>>>> >>>>>
>>>> >>>>> Thanks
>>>> >>>>>
>>>> >>>>> Denis
>>>> >>>>>
>>>> >>>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Maxim
>
>
>
> --
> Best regards,
> Maxim



-- 
Best regards,
Maxim

Reply via email to