8000 documents: libreoffice not working; could not find a JRE · Issue #6 · greyltc/docker-nextcloud · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

documents: libreoffice not working; could not find a JRE #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
patte opened this issue Aug 26, 2016 · 0 comments
Open

documents: libreoffice not working; could not find a JRE #6

patte opened this issue Aug 26, 2016 · 0 comments

Comments

@patte
Copy link
patte commented Aug 26, 2016

I saw that in installNextcloud.sh you pacman libreoffice-fresh, so I followed that the setup should had full libreoffice support.
Problem is, when I try to enable M$ Word Support (in Admin -> Settings -> Documents -> Local) I get the Error Conversion failed. Check log for details. In the log I find the following line:

{"reqId":"REMOVED","remoteAddr":"REMOVED","app":"documents","message":"Conversion test failed. Raw output:javaldx: Could not find a Java Runtime Environment!\nWarning: failed to read path from javaldx\n","level":2,"time":"2016-08-28T14:56:03+00:00","method":"POST","url":"\/index.php\/apps\/documents\/ajax\/admin.php","user":"admin"}

I exec bashed into the container and tried to run libreoffice manually, there I discovered the could not find a JRE.

[root@be2dcffd103d /]# li
libassuan-config  libmcrypt-config  libpng16-config   libtool           link              linux32
libgcrypt-config  libpng-config     libreoffice       libtoolize        linkicc           linux64
[root@be2dcffd103d /]# libreoffice -v
Failed to open display
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
terminate called after throwing an instance of 'com::sun::star::uno::DeploymentException'
[root@be2dcffd103d /]# libreoffice --version
terminate called after throwing an instance of 'com::sun::star::uno::DeploymentException'
[root@be2dcffd103d /]# java -version
bash: java: command not found
[root@be2dcffd103d /]#

And ideas what I might get wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0