Try the fastest and simplest way to install ONLYOFFICE

Nextcloud App 11.0.4 Warning Document opening

Questions/problems on Docker

Re: Nextcloud App 11.0.4 Warning Document opening

Postby Taste » Wed May 24, 2017 10:33 am

Hi,
i have 2 Systems. On my testsystem in local network i run it without ssl and it works now. The only thing i see is a short delay between creating / saving a document and downloading it from Webbrowser. I think this is because of low peformance of the testmachine. The other Server is public and uses SSL. I use it like https://cloud.domain.tld with Cert from Lets Encrypt. IMO - Since LE creates a Cert for Main TLD and all Sub TLDs i uses the one from main TLD. But i will test the one from cloud.domain.tld, if i have more time..
Taste
 
Posts: 29
Joined: Fri Apr 28, 2017 11:34 am

Re: Nextcloud App 11.0.4 Warning Document opening

Postby Taste » Wed May 24, 2017 12:00 pm

Questions for understanding. If the SSL Key where wrong, shouldnt show the Website of the Documentserver an Error? I have none and a success on the page.

Error in Log:
OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed at .../apps/onlyoffice/controller/callbackcontroller.php#315

edit2: i am confused to setup correct server settings for subdomain. i can reach the document server via web with https://cloud.domain.tld:8888, i can save the settings like this:
https://cloud.domain.tld:8888
https://cloud.domain.tld:8888
https://cloud.domain.tld
but i cant open a existing document -> error "...Please check connection settings..."

edit3: as keys i have the following: cert.pem, chain.pem, fullchain.pem, privkey.pem. i copied and rename cert.pem and privkey.pem to onlyoffice.cert and onlyoffice.key - is that correct?
edit4: which user and permission on certs?
edit5: i now get this, setup is like in edit2, i created a new document and saved settings and than:
Error onlyoffice CommandRequest on check error: Bad Request or timeout error
Taste
 
Posts: 29
Joined: Fri Apr 28, 2017 11:34 am

Re: Nextcloud App 11.0.4 Warning Document opening

Postby Maxim » Thu May 25, 2017 8:54 am

Hello Taste!
Please specify how did you run Document Server and NextCloud Server with SSL? What instruction did you use?
Maxim
 
Posts: 1240
Joined: Tue Oct 11, 2016 2:34 pm

Re: Nextcloud App 11.0.4 Warning Document opening

Postby Taste » Fri May 26, 2017 8:59 am

Hi,
i installed Document Server like it is described in the Howto as Docker Container. Nextcloud in a Subdomain like the howto from NC. I run a Server Control Panel which manage the SSL Keys via Lets Encrypt. Run command for Docker and OO is:
"docker run -i -t -d -p 8888:443 --restart=always --name=OnlyOffice -v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data onlyoffice/documentserver" So i use Port 8888 instead of 443, because other Services run on this port. I copied .crt und .key into the mounted directory "/app/onlyoffice/DocumentServer/data/certs/". Perhaps i have set some rights?
Taste
 
Posts: 29
Joined: Fri Apr 28, 2017 11:34 am

Re: Nextcloud App 11.0.4 Warning Document opening

Postby Taste » Mon May 29, 2017 2:49 pm

Hi Maxim,
any news or help to my problem?
Taste
 
Posts: 29
Joined: Fri Apr 28, 2017 11:34 am

Re: Nextcloud App 11.0.4 Warning Document opening

Postby Maxim » Tue May 30, 2017 7:52 am

Hello Taste!
According to that info
edit5: i now get this, setup is like in edit2, i created a new document and saved settings and than:
Error onlyoffice CommandRequest on check error: Bad Request or timeout error

I suppose that there is smth. wrong with URLs.
We need to see logs like here
Maxim
 
Posts: 1240
Joined: Tue Oct 11, 2016 2:34 pm

Re: Nextcloud App 11.0.4 Warning Document opening

Postby Taste » Tue May 30, 2017 9:21 am

Hi Maxim,
and thanks for your reply. Until now i only mounted the data Directory. For the logs i wanted now to mount the log and lib Dir, but after start the Docker Container, the Document Server reports an Error "Something went wrong during installation
Make sure that you have followed the installation instructions" ?? This doesnt happen if i only mount the data Dir. I run it like this:# docker run -i -t -d -p 8888:443 --restart=always --name=OnlyOffice -v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice -v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data -v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice onlyoffice/documentserver

Any Idea?
Taste
 
Posts: 29
Joined: Fri Apr 28, 2017 11:34 am

Re: Nextcloud App 11.0.4 Warning Document opening

Postby Taste » Wed Jun 21, 2017 3:37 pm

Hi,
problem still exists and Documentserver Log says:
ERROR] nodeJS - healthCheck error
Error: EACCES: permission denied, mkdir '/var/lib/onlyoffice/documentserver'
at Error (native)

Any Idea?

edit: now document server wont start "somthing went wrong ..." <- i removed the docker and redownloaded it and start it - but no success
solved by this thread: https://github.com/ONLYOFFICE/Docker-Do ... /issues/54
Taste
 
Posts: 29
Joined: Fri Apr 28, 2017 11:34 am

Previous

Return to Docker Version

Who is online

Users browsing this forum: No registered users and 2 guests