Try the fastest and simplest way to install ONLYOFFICE

OnlyOffice NextCloud integration.

Questions/problems on Docker

OnlyOffice NextCloud integration.

Postby travisph » Tue Mar 28, 2017 1:26 pm

I've followed these instructions https://api.onlyoffice.com/editors/owncloud. Docker container installed, but will not respond on https at all. Only responds to http requests. Looks like this is a problem with the OwnCloud/NextCloud integration. I'm running a NextCloud 11 server and get "ONLYOFFICE app not configured. Please contact admin" error when trying to open a document.

The error code from the NextCloud server log seems to be erroring out on it's own https cert, which it doesn't have for it's sub domain yet. The thing is, it shouldn't be throwing this error as the ONLYOFFICE docker container has no https available, and should be communicating on an internal/secured network.

Code: Select all
{"reqId":"zevF5zeZGPNfIKyQ3WZg","remoteAddr":"76.1.33.86","app":"index","message":"Exception: {\"Exception\":\"GuzzleHttp\\\\Exception\\\\RequestException\",\"Message\":\"cURL error 51: SSL: no alternative certificate subject name matches target host name 'collabora.nc.phremote.dynu.net'\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/html\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/RequestFsm.php(103): GuzzleHttp\\\\Exception\\\\RequestException::wrapException(Object(GuzzleHttp\\\\Message\\\\Request), Object(GuzzleHttp\\\\Ring\\\\Exception\\\\RingException))\\n#1 \\\/var\\\/www\\\/html\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/RequestFsm.php(132): GuzzleHttp\\\\RequestFsm->__invoke(Object(GuzzleHttp\\\\Transaction))\\n#2 \\\/var\\\/www\\\/html\\\/3rdparty\\\/react\\\/promise\\\/src\\\/FulfilledPromise.php(25): GuzzleHttp\\\\RequestFsm->GuzzleHttp\\\\{closure}(Array)\\n#3 \\\/var\\\/www\\\/html\\\/3rdparty\\\/guzzlehttp\\\/ringphp\\\/src\\\/Future\\\/CompletedFutureValue.php(55): React\\\\Promise\\\\FulfilledPromise->then(Object(Closure), NULL, NULL)\\n#4 \\\/var\\\/www\\\/html\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/Message\\\/FutureResponse.php(43): GuzzleHttp\\\\Ring\\\\Future\\\\CompletedFutureValue->then(Object(Closure), NULL, NULL)\\n#5 \\\/var\\\/www\\\/html\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/RequestFsm.php(134): GuzzleHttp\\\\Message\\\\FutureResponse::proxy(Object(GuzzleHttp\\\\Ring\\\\Future\\\\CompletedFutureArray), Object(Closure))\\n#6 \\\/var\\\/www\\\/html\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/Client.php(165): GuzzleHttp\\\\RequestFsm->__invoke(Object(GuzzleHttp\\\\Transaction))\\n#7 \\\/var\\\/www\\\/html\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/Client.php(125): GuzzleHttp\\\\Client->send(Object(GuzzleHttp\\\\Message\\\\Request))\\n#8 \\\/var\\\/www\\\/html\\\/lib\\\/private\\\/Http\\\/Client\\\/Client.php(137): GuzzleHttp\\\\Client->get('https:\\\/\\\/collabo...', Array)\\n#9 \\\/var\\\/www\\\/html\\\/apps\\\/richdocuments\\\/lib\\\/WOPI\\\/DiscoveryManager.php(84): OC\\\\Http\\\\Client\\\\Client->get('https:\\\/\\\/collabo...')\\n#10 \\\/var\\\/www\\\/html\\\/apps\\\/richdocuments\\\/lib\\\/WOPI\\\/Parser.php(41): OCA\\\\Richdocuments\\\\WOPI\\\\DiscoveryManager->get()\\n#11 \\\/var\\\/www\\\/html\\\/apps\\\/richdocuments\\\/lib\\\/Controller\\\/DocumentController.php(235): OCA\\\\Richdocuments\\\\WOPI\\\\Parser->getUrlSrc('application\\\/vnd...')\\n#12 [internal function]: OCA\\\\Richdocuments\\\\Controller\\\\DocumentController->create('application\\\/vnd...', 'test.odt', '\\\/')\\n#13 \\\/var\\\/www\\\/html\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(160): call_user_func_array(Array, Array)\\n#14 \\\/var\\\/www\\\/html\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(90): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController(Object(OCA\\\\Richdocuments\\\\Controller\\\\DocumentController), 'create')\\n#15 \\\/var\\\/www\\\/html\\\/lib\\\/private\\\/AppFramework\\\/App.php(114): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Richdocuments\\\\Controller\\\\DocumentController), 'create')\\n#16 \\\/var\\\/www\\\/html\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('OCA\\\\\\\\Richdocumen...', 'create', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#17 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#18 \\\/var\\\/www\\\/html\\\/lib\\\/private\\\/Route\\\/Router.php(299): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#19 \\\/var\\\/www\\\/html\\\/lib\\\/base.php(1010): OC\\\\Route\\\\Router->match('\\\/apps\\\/richdocum...')\\n#20 \\\/var\\\/www\\\/html\\\/index.php(40): OC::handleRequest()\\n#21 {main}\",\"File\":\"\\\/var\\\/www\\\/html\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/Exception\\\/RequestException.php\",\"Line\":51}","level":3,"time":"2017-03-27T20:47:04+00:00","method":"POST","url":"\/index.php\/apps\/richdocuments\/ajax\/documents\/create","user":"admin","version":"11.0.2.7"}
travisph
 
Posts: 3
Joined: Mon Mar 27, 2017 6:58 pm

Re: OnlyOffice NextCloud integration.

Postby Maxim » Tue Mar 28, 2017 2:36 pm

Hello travisph!
Great thanks for your post!
Running ONLYOFFICE Document Server using HTTPS
I think there is no way to connect NextCloud using https with Document Server using http.
Maxim
 
Posts: 495
Joined: Tue Oct 11, 2016 2:34 pm

Re: OnlyOffice NextCloud integration.

Postby travisph » Tue Mar 28, 2017 3:32 pm

Thanks, I'll give that a try.

If it works, the instructions Maxim linked to should be what the setup guide starts the container with.
travisph
 
Posts: 3
Joined: Mon Mar 27, 2017 6:58 pm

Re: OnlyOffice NextCloud integration.

Postby travisph » Tue Mar 28, 2017 9:35 pm

I confirmed that it does work after finding out about the additional steps that are needed.

The instructions at https://api.onlyoffice.com/editors/owncloud should at least mention the need for SSL and that link that Maxim provided (thanks again) https://github.com/ONLYOFFICE/Docker-Do ... sing-https

If I'm to recommend anyone pick up paid support, licensing, etc for OnlyOffice, the bare minimum would be a working installation method.

Thank you,
Travis Hershberger
travisph
 
Posts: 3
Joined: Mon Mar 27, 2017 6:58 pm

Re: OnlyOffice NextCloud integration.

Postby Maxim » Wed Mar 29, 2017 6:28 am

Hello Travis!
Does OnlyOffice NextCloud integration work now correctly? Did you configured servers?
Maxim
 
Posts: 495
Joined: Tue Oct 11, 2016 2:34 pm


Return to Docker Version

Who is online

Users browsing this forum: Maxim and 1 guest