Try the fastest and simplest way to install ONLYOFFICE

[solved] ONLYOFFICE not reached. Please contact admin

Issues during installation, usage and configuring

[solved] ONLYOFFICE not reached. Please contact admin

Postby Taste » Fri Apr 28, 2017 11:44 am

Hello,
i want to test Onlyoffice with latest Nextcloud on Debian Jessie. NC is running and works normal. OO is installed as Docker Container als describted in the howto, but i have changed the port to 8888:80. I installed the OO-APP und set server as http://127.0.0.0:8888. <- if i call this adress, it says oo server is running. if i click on an .odt file, it asked for conversion to .doc. i do this and it works. if i click on the .doc, a new browser tab opens and i got the error message "ONLYOFFICE not reached. Please contact admin".
Where can i find the logs and what could the problem be?
thx

solved by myself - instead of using in app 127.0.0.1 or localhost, i have to use the fqdn e.g my-domain.tld
Last edited by Taste on Fri Apr 28, 2017 4:10 pm, edited 1 time in total.
Taste
 
Posts: 29
Joined: Fri Apr 28, 2017 11:34 am

Re: ONLYOFFICE not reached. Please contact admin

Postby Maxim » Fri Apr 28, 2017 1:36 pm

Hello Taste!
Did you run NextCloud or Onlyoffice with https?
"ONLYOFFICE not reached. Please contact admin" - this error means that scripts of Document Server cannot be executed in browser for some reason.
Maxim
 
Posts: 853
Joined: Tue Oct 11, 2016 2:34 pm

Re: ONLYOFFICE not reached. Please contact admin

Postby Taste » Fri Apr 28, 2017 2:36 pm

Hi Maxim,
i run Nextcloud with Onlyoffice and http. As far as i found, should this possible. It is just for testing and if iam happy with OO i will run it on production server with ssl. Is there a log, perhaps in docker. i am not familar with docker, first use in this case.
Taste
 
Posts: 29
Joined: Fri Apr 28, 2017 11:34 am

Re: ONLYOFFICE not reached. Please contact admin

Postby Taste » Fri Apr 28, 2017 3:57 pm

Hi Maxim,
i run Nextcloud with Onlyoffice and http. As far as i can see in the docs, this should work. Docker says:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3a132d72009d onlyoffice/documentserver "/bin/sh -c 'bash ..." 4 hours ago Up 4 hours 443/tcp, 0.0.0.0:8888->80/tcp stoic_tesla
8d263c0c4888 onlyoffice/documentserver "/bin/sh -c 'bash ..." 4 hours ago Created peaceful_poitras

I wonder that i have 2 container, because i installed only one. Under Ports i have 443, perhaps this is the problem, or the IP 0.0.0.0 ?!
Taste
 
Posts: 29
Joined: Fri Apr 28, 2017 11:34 am

Re: [solved] ONLYOFFICE not reached. Please contact admin

Postby Maxim » Tue May 02, 2017 8:22 am

Hello Taste!
So you need only one container - Document Server!
How to Integrate OnlyOffice with NextCloud
How to Integrate OnlyOffice with ownCloud
You should check if the Document Server is accessible, to do that you should put in browser's tab link to Document Server's API which consists of two parts:
1 link(IP or domain) to your Document Server
2 Document Editing Service Address - /OfficeWeb/apps/api/documents/api.js
in my case it's http://example6.tk/OfficeWeb/apps/api/documents/api.js
if you DO NOT get this
Code: Select all
/**
 * Copyright (c) Ascensio System SIA 2013. All rights reserved
 *
 * http://www.onlyoffice.com
 */

;(function(DocsAPI, window, document, undefined) {

    /*

it means that smth. wrong with configuration
Maxim
 
Posts: 853
Joined: Tue Oct 11, 2016 2:34 pm


Return to ownCloud/Nextcloud ONLYOFFICE integration app

Who is online

Users browsing this forum: No registered users and 1 guest