documentserver_community
documentserver_community copied to clipboard
ONLYOFFICE not reachable. Contact your Administrator.
Hello i installed Documentserver_comunity with a fresh installation of nextcloud 18.
After installation i can see in the onlyoffice Settings in nextcloud my internal IP: http://10.10.200.x/index.php/apps/documentserver_community/
If i connect to nextcloud via 10.10.200.x and start to edit a Document, everything works fine.
If i change to call nextcloud over the internet with dns xx.computer.com i can connect to nextcloud without problems. But when i try to edit a document in Onlyoffice i got the error "onlyoffice not reachable. Contact your Administrator"
Must be the Server in nextcloud - onlyoffice also a public domainname if i what to reach the service from extern, or could it be the local IP because it runs on the same server as nextcloud.
You can change the generated url by setting
'overwrite.cli.url' => 'http://xx.computer.com/'
in your config.php
Hi, i am getting the same error message.
After the installation of onlyoffice and the document server the 'service address' was automatically set to:
https://nextcloud.mydomain.com/apps/documentserver_community/
The advanced server settings i left empty.
My config.php
includes the following:
'overwrite.cli.url' => 'https://nextcloud.mydomain.com/',
'overwriteprotocol' => 'https',
The answer the browser gets is:
Failed to load resource: the server responded with a status of 500 ()
https://nextcloud.mydomain.com/apps/documentserver_community/web-apps/apps/api/documents/api.js
Edit: My error seems to be related to issue #10.
Same here
Hi, i am getting the same error message.
After the installation of onlyoffice and the document server the 'service address' was automatically set to:
https://nextcloud.mydomain.com/apps/documentserver_community/
The advanced server settings i left empty.
My
config.php
includes the following:'overwrite.cli.url' => 'https://nextcloud.mydomain.com/', 'overwriteprotocol' => 'https',
The answer the browser gets is:
Failed to load resource: the server responded with a status of 500 () https://nextcloud.mydomain.com/apps/documentserver_community/web-apps/apps/api/documents/api.js
Came here from issue https://github.com/nextcloud/documentserver_community/issues/10 . I was getting the "Community document server is not supported for this instance, please setup and configure an external document server" error until the release the most recent updates to ONLYOFFICE and the Community Document Server, but am now getting the message "ONLYOFFICE not reachable. Contact your Administrator."
Here are the two most recent related logs:
[documentserver_community] Error: OCA\DocumentServer\Document\DocumentConversionException: sh: ./x2t: not found
at <<closure>>
0. /config/www/nextcloud/apps/documentserver_community/lib/Document/ConverterBinary.php line 64
OCA\DocumentServer\Document\ConverterBinary->run("")
1. /config/www/nextcloud/apps/documentserver_community/lib/SetupCheck.php line 34
OCA\DocumentServer\Document\ConverterBinary->test()
2. /config/www/nextcloud/apps/documentserver_community/lib/Controller/StaticController.php line 89
OCA\DocumentServer\SetupCheck->check()
3. /config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 170
OCA\DocumentServer\Controller\StaticController->webApps("apps/api/documents/api.js")
4. /config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 99
OC\AppFramework\Http\Dispatcher->executeController(OCA\DocumentServ ... {}, "webApps")
5. /config/www/nextcloud/lib/private/AppFramework/App.php line 125
OC\AppFramework\Http\Dispatcher->dispatch(OCA\DocumentServ ... {}, "webApps")
6. /config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
OC\AppFramework\App::main("OCA\\DocumentSe ... r", "webApps", OC\AppFramework\ ... {}, {path: "apps/api ... "})
7. <<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({path: "apps/api ... "})
8. /config/www/nextcloud/lib/private/Route/Router.php line 299
call_user_func(OC\AppFramework\ ... {}, {path: "apps/api ... "})
9. /config/www/nextcloud/lib/base.php line 1008
OC\Route\Router->match("/apps/documents ... s")
10. /config/www/nextcloud/index.php line 38
OC::handleRequest()
GET /apps/documentserver_community/web-apps/apps/api/documents/api.js
from 172.19.0.1 by xthursdayx at 2020-01-29T21:25:24+00:00
[index] Error: Exception: trim() expects parameter 1 to be string, bool given at <<closure>>
0. /config/www/nextcloud/lib/private/AppFramework/App.php line 125
OC\AppFramework\Http\Dispatcher->dispatch(OCA\DocumentServ ... {}, "webApps")
1. /config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
OC\AppFramework\App::main("OCA\\DocumentSe ... r", "webApps", OC\AppFramework\ ... {}, {path: "apps/api ... "})
2. <<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({path: "apps/api ... "})
3. /config/www/nextcloud/lib/private/Route/Router.php line 299
call_user_func(OC\AppFramework\ ... {}, {path: "apps/api ... "})
4. /config/www/nextcloud/lib/base.php line 1008
OC\Route\Router->match("/apps/documents ... s")
5. /config/www/nextcloud/index.php line 38
OC::handleRequest()
GET /apps/documentserver_community/web-apps/apps/api/documents/api.js
from 172.19.0.1 by xthursdayx at 2020-01-29T21:25:51+00:00
Same here
Hi, i am getting the same error message. After the installation of onlyoffice and the document server the 'service address' was automatically set to: https://nextcloud.mydomain.com/apps/documentserver_community/ The advanced server settings i left empty. My
config.php
includes the following:'overwrite.cli.url' => 'https://nextcloud.mydomain.com/', 'overwriteprotocol' => 'https',
The answer the browser gets is:
Failed to load resource: the server responded with a status of 500 () https://nextcloud.mydomain.com/apps/documentserver_community/web-apps/apps/api/documents/api.js
I had same 500 error when using alipine based nextcloud docker images (e.g. nextcloud:fpm-alpine), fixed by switching to debian based images (e.g. nextcloud:fpm).
please note: The community document server only supports running on x86-64 Linux servers using glibc based distributions.
please note: The community document server only supports running on x86-64 Linux servers using glibc based distributions.
It also doesn't work on NixOS.
# ldd docbuilder
linux-vdso.so.1 (0x00007ffe80f65000)
libkernel.so => ./libkernel.so (0x00007fcce2647000)
libdoctrenderer.so => ./libdoctrenderer.so (0x00007fcce144b000)
libc.so.6 => /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/libc.so.6 (0x00007fcce1295000)
libpthread.so.0 => /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/libpthread.so.0 (0x00007fcce1274000)
libm.so.6 => /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/libm.so.6 (0x00007fcce10de000)
/lib64/ld-linux-x86-64.so.2 => /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib64/ld-linux-x86-64.so.2 (0x00007fcce2a6a000)
libUnicodeConverter.so => ./libUnicodeConverter.so (0x00007fcce0e90000)
libgraphics.so => ./libgraphics.so (0x00007fcce0682000)
libicuuc.so.58 => ./libicuuc.so.58 (0x00007fcce02bc000)
libstdc++.so.6 => not found
libgcc_s.so.1 => /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/libgcc_s.so.1 (0x00007fcce00a6000)
libicudata.so.58 => ./libicudata.so.58 (0x00007fccde5a6000)
libdl.so.2 => /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/libdl.so.2 (0x00007fccde59f000)
libstdc++.so.6 => not found
Don't know if that's for anyone helpful.
Same problem ... Is there any update on how to solve this issue ?
To summarize my configuration ... I have fresh installation of Nexcloud 18.0.1 on a webserver (Debian 8 Jessie on x86-64 architecture) I activated ONLYOFFICE version 4.1.4 I installed and activated the available "Community Document Server" app version 0.1.5 When I try to open a document (docx for example) I obtain the following error "ONLYOFFICE cannot be reached. Please contact admin"
@domchrgit change your Onlyoffice Document Server to
https://nextcloud.mydomain.com/apps/documentserver_community/
And add into your config/config.php
'overwriteprotocol' => 'https',
https://github.com/nextcloud/documentserver_community/issues/24#issuecomment-578542152
@mr-bolle thanks for your answer I tried to setup the Only Document Server address but I received an error if I remove the 'index.php' in the address
Error when trying to connect (Client error: GET https://www.mydomain.com/cloudtest/apps/documentserver_community/healthcheck
resulted in a 404 Not Found
response: true )
And in overwriteprotocol does I need to put only https or also the address of the server ?
Thanks again for your support
Do you use the sub-path for your Nextcloud session? What reverse proxy you use? Currently I try to use traefik with a sub-path and it doesn't work as well.
Could you try with a new sub domain ex. https://cloudtest/mydomain.com/apps/documentserver_community
I installed nextcloud in a the subfolder named cloudtest ... then the path of my Nextcloud session is https://www.mydomain.com/cloudtest ... I also tried with a redirection https://cloudtest.mydomain.com but I obtain always the same error if I remove the 'index.php' in the address
Could you please try a sub domain for Nextcloud, without redirect. Maybe other requests you don't redirect
Sorry but that's not clear for me what you mean by sub domain ?
https://stackoverflow.com/questions/1965609/subdomain-vs-subdirectory-in-web-programming
I'm back ... Unfortunatelly I have still the problem to launch OnlyOffice in Nextcloud :(
Meanwhile, I made a fresh install of Nextcloud 18 at the root of a server (without subdomain or subdirectory) . I can then access the cloud directly from www.mydomain.com In the configuration of OnlyOffice server in Nextcloud the following address was automatically indicated : http://www.mydomain.com/index.php/apps/documentserver_community/
What is wrong ? What I need to put exactly in the config.php file (overwrite.cli.url and overwriteprotocol) ? Thanks again for you help and support :)
- change the Onlyoffice URL in Nextcloud to https
https://www.mydomain.com/index.php/apps/documentserver_community/
- add into your config/config.php
'overwriteprotocol' => 'https',
- no changes necessary (I think)
'overwrite.cli.url' => 'https://mydomain.com/',
Thanks @mr-bolle for your reactivity ! Unfortunatelly, it doesn't work ... still error message ""ONLYOFFICE cannot be reached. Please contact admin"
Please check / change the overwrite.cli.url, hopefully it works.
overwrite.cli.url' => 'http://mydomain.com/'
Sorry, I tried with https and http and I obtain always the same error ..
Same error... ONLYOFFICE cannot be reached. Please contact admin new installation of nexcloud community edition. HAve 2 different error into log page... please help me. Anyone have solution???
Here log:
[index] Error: Exception: trim() expects parameter 1 to be string, bool given at <
- /home/crescin7/cloud/lib/private/AppFramework/App.php line 125 OC\AppFramework\Http\Dispatcher->dispatch(OCA\DocumentServ ... {}, "webApps")
- /home/crescin7/cloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47 OC\AppFramework\App::main("OCA\DocumentSe ... r", "webApps", OC\AppFramework\ ... {}, {path: "apps/api ... "})
- <
> OC\AppFramework\Routing\RouteActionHandler->__invoke({path: "apps/api ... "}) - /home/crescin7/cloud/lib/private/Route/Router.php line 299 call_user_func(OC\AppFramework\ ... {}, {path: "apps/api ... "})
- /home/crescin7/cloud/lib/base.php line 1008 OC\Route\Router->match("/apps/documents ... s")
- /home/crescin7/cloud/index.php line 38 OC::handleRequest()
GET /index.php/apps/documentserver_community/web-apps/apps/api/documents/api.js from 93.41.237.221 by Diego at 2020-03-11T12:33:33+00:00
------------AND SECOND ERROR------------
[documentserver_community] Error: OCA\DocumentServer\Document\DocumentConversionException: ./x2t: /lib64/libc.so.6: version GLIBC_2.14' not found (required by ./x2t) ./x2t: /lib64/libc.so.6: version
GLIBC_2.14' not found (required by ./libkernel.so)
./x2t: /lib64/libc.so.6: version GLIBC_2.7' not found (required by ./libkernel.so) ./x2t: /lib64/libc.so.6: version
GLIBC_2.17' not found (required by ./libkernel.so)
./x2t: /lib64/libc.so.6: version GLIBC_2.8' not found (required by ./libgraphics.so) ./x2t: /lib64/libc.so.6: version
GLIBC_2.14' not found (required by ./libgraphics.so)
./x2t: /lib64/libc.so.6: version GLIBC_2.7' not found (required by ./libgraphics.so) ./x2t: /lib64/libc.so.6: version
GLIBC_2.11' not found (required by ./libgraphics.so)
./x2t: /lib64/libc.so.6: version GLIBC_2.14' not found (required by ./libPdfWriter.so) ./x2t: /lib64/libc.so.6: version
GLIBC_2.11' not found (required by ./libPdfWriter.so)
./x2t: /lib64/libc.so.6: version GLIBC_2.7' not found (required by ./libdoctrenderer.so) ./x2t: /lib64/libc.so.6: version
GLIBC_2.17' not found (required by ./libdoctrenderer.so)
./x2t: /lib64/libc.so.6: version GLIBC_2.14' not found (required by ./libdoctrenderer.so) ./x2t: /lib64/libc.so.6: version
GLIBC_2.14' not found (required by ./libHtmlRenderer.so)
./x2t: /lib64/libc.so.6: version GLIBC_2.14' not found (required by ./libPdfReader.so) ./x2t: /lib64/libc.so.6: version
GLIBC_2.11' not found (required by ./libPdfReader.so)
./x2t: /lib64/libc.so.6: version GLIBC_2.14' not found (required by ./libDjVuFile.so) ./x2t: /lib64/libc.so.6: version
GLIBC_2.14' not found (required by ./libXpsFile.so)
./x2t: /lib64/libc.so.6: version GLIBC_2.14' not found (required by ./libHtmlFile.so) ./x2t: /lib64/libc.so.6: version
GLIBC_2.14' not found (required by ./libUnicodeConverter.so)
./x2t: /lib64/libc.so.6: version GLIBC_2.14' not found (required by ./libicuuc.so.58) ./x2t: /lib64/libc.so.6: version
GLIBC_2.7' not found (required by ./libicuuc.so.58)
at <
- /home/crescin7/cloud/apps/documentserver_community/lib/Document/ConverterBinary.php line 72 OCA\DocumentServer\Document\ConverterBinary->run("")
- /home/crescin7/cloud/apps/documentserver_community/lib/SetupCheck.php line 34 OCA\DocumentServer\Document\ConverterBinary->test()
- /home/crescin7/cloud/apps/documentserver_community/lib/Controller/StaticController.php line 89 OCA\DocumentServer\SetupCheck->check()
- /home/crescin7/cloud/lib/private/AppFramework/Http/Dispatcher.php line 170 OCA\DocumentServer\Controller\StaticController->webApps("apps/api/documents/api.js")
- /home/crescin7/cloud/lib/private/AppFramework/Http/Dispatcher.php line 99 OC\AppFramework\Http\Dispatcher->executeController(OCA\DocumentServ ... {}, "webApps")
- /home/crescin7/cloud/lib/private/AppFramework/App.php line 125 OC\AppFramework\Http\Dispatcher->dispatch(OCA\DocumentServ ... {}, "webApps")
- /home/crescin7/cloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47 OC\AppFramework\App::main("OCA\DocumentSe ... r", "webApps", OC\AppFramework\ ... {}, {path: "apps/api ... "})
- <
> OC\AppFramework\Routing\RouteActionHandler->__invoke({path: "apps/api ... "}) - /home/crescin7/cloud/lib/private/Route/Router.php line 299 call_user_func(OC\AppFramework\ ... {}, {path: "apps/api ... "})
- /home/crescin7/cloud/lib/base.php line 1008 OC\Route\Router->match("/apps/documents ... s")
- /home/crescin7/cloud/index.php line 38 OC::handleRequest()
GET /index.php/apps/documentserver_community/web-apps/apps/api/documents/api.js from 93.41.237.221 by Diego at 2020-03-11T12:33:33+00:00
https://github.com/nextcloud/documentserver_community/issues/10
Please try to use this solution, my Nextcloud installation is running into a docker container, that's why i can't reproduce your issue.
I just do that… i try with no changes… for this reason i post my question.
Il giorno 11 mar 2020, alle ore 14:56, mr-bolle [email protected] ha scritto:
#10 https://github.com/nextcloud/documentserver_community/issues/10 Please try to use this solution, my Nextcloud installation is running into a docker container, that's why i can't reproduce your issue.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nextcloud/documentserver_community/issues/24#issuecomment-597649357, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKK6UCTFSNIBCXLBDDVZOTRG6KBTANCNFSM4KJRAK4Q.
Diego Crescini Email: [email protected] P.IVA IT03571290984 Tel. 3391741024
In ottemperanza al D.L. 196 del 30/06/2003 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate ed esclusivamente indirizzate al destinatario. Qualsiasi uso, riproduzione o divulgazione di questo messaggio è vietato! Se lo avete ricevuto per errore avvertite il mittente e distruggetelo. Grazie
Thanks @mr-bolle for your reactivity ! Unfortunatelly, it doesn't work ... still error message ""ONLYOFFICE cannot be reached. Please contact admin"
Last update... it works now !!! It was a problem on server side with the PHP features like exec, shell_exec, popen, proc_open... Now these features are correctly activated on the server and OnlyOffice works fine :) Thanks again for your support.
Thanks @mr-bolle for your reactivity ! Unfortunatelly, it doesn't work ... still error message ""ONLYOFFICE cannot be reached. Please contact admin"
Last update... it works now !!! It was a problem on server side with the PHP features like exec, shell_exec, popen, proc_open... Now these features are correctly activated on the server and OnlyOffice works fine :) Thanks again for your support.
Can you explane how you fix it? @domchrgit
@aircrescio
To be clear, I don't built my own web server. I use a commercial web provider for different purposes and my nextcloud installation is on a server of this provider. There are many options on the dashbord side of the server and one of them is dedicated to the PHP parameters of the server. And I found that some PHP functions (that I mentioned above exec(),shell_exec()...) were disabled by default, "as it represents a significant vulnerability in the event of a website being hacked" , as mentioned by the provider... I don't know if you can play with these functions on your server.
Thus the problem was finally outside of my installation of nextcloud, community server and onlyoffice.
Hi, i had same issue and thanks to https://github.com/nextcloud/documentserver_community/issues/24#issuecomment-597495166 for making it clear for me
Yes changing it to https in config did not solve it for me either BUT when you go to your onlyoffice settings (https://cloud.domain.ltd/settings/admin/onlyoffice) and change link from http to https and save. it worked with me
so instead of adding it in nextcloud config, add it in onlyoffice settings
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 60 days. Thank you for your contribution!
Retaking repo management include inheritance of old, not treated, and probablty obsolete issues, this is why it was decided to mark issues as stale.
App is installed and enabled for this instance, but the app-URL cannot be reached:
You should override DNS entry with your local resolver to match app URL or just configure IPv6 which will be tried before IPv4
App is installed and enabled for this instance, but the app-URL cannot be reached:
No context and most likely not related to the original issue