Try the fastest and simplest way to install ONLYOFFICE

Cant connect Owncloud with DocumentServer Docker Version

Questions/problems on Docker

Cant connect Owncloud with DocumentServer Docker Version

Postby jimbo7384 » Mon May 01, 2017 6:45 pm

Hi,

I'm looking for some information because I failed to make my configuration between DocumentServer Docker Version and my Owncloud App.

I run DocumentServer with https running this command :
sudo docker run -i -t -d -p 4444:443 \
-v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data onlyoffice/documentserver


I already have generated my own ssl certificate for documentserver on the docker but my ssl certificate are different and generated by letsencrypt for my owncloud app.

I run the docker on another port because my 443 port is already in use.
I have access to my DocumentServer if I put this in a browser :
https://192.168.0.250:4444

But If I put the Ip Adress in OnlyOffice App on my owncloud I have a message :
Failed to connect error


So what do I do wrong ?

Thanks for your help !!
jimbo7384
 
Posts: 3
Joined: Mon May 01, 2017 6:32 pm

Re: Cant connect Owncloud with DocumentServer Docker Version

Postby Maxim » Tue May 02, 2017 12:00 pm

Hello jimbo7384!
Do you try to run Document Server and ownCloud server on one machine?
Remember that SSL certificate is assigned to a domain name.
If you use ip address you are able to use http only.
Maxim
 
Posts: 1162
Joined: Tue Oct 11, 2016 2:34 pm

Re: Cant connect Owncloud with DocumentServer Docker Version

Postby jimbo7384 » Tue May 02, 2017 5:32 pm

My conf run on a synology DS916+ with apache mariadb and owncloud.
I have a synology domain : name.synology.me and a certificate delivered by lets encrypt.
only office run as docker on the same NAS.

So you think I need to export my lets encrypt certificate in my onlyoffice document server folder to work well with my owncloud ?
I'm a novice in this things ;)
jimbo7384
 
Posts: 3
Joined: Mon May 01, 2017 6:32 pm

Re: Cant connect Owncloud with DocumentServer Docker Version

Postby Maxim » Wed May 03, 2017 7:24 am

Maxim
 
Posts: 1162
Joined: Tue Oct 11, 2016 2:34 pm

Re: Cant connect Owncloud with DocumentServer Docker Version

Postby jimbo7384 » Thu May 04, 2017 7:55 pm

hell maxim

thanks for your help
I finally solved the problem;

I belevied that I can use 2 different certificate : 1 for my owncloud trusted by lets encrypt and another one auto certificate for onlyoffice...
So owncloud call my onlyoffice documentserver with the other certificate but this is not working.

I have exported my letsencrypt certificate? Rename my file.pem into onlyoffice.crt and onlyoffice.key and put it on the Docker.
Now it works I can modify my files....

BUT

I have another issue.
Modification was not saved....
And if I try to create a document I have a blank page and nothing happen.
If I go to my folder I can see the new file but I cant do nothing with the file...
Any idea ?

I think its because my onlyoffice document server have no right to write into my NAS Folder ??
jimbo7384
 
Posts: 3
Joined: Mon May 01, 2017 6:32 pm

Re: Cant connect Owncloud with DocumentServer Docker Version

Postby Maxim » Fri May 05, 2017 6:30 am

Hello jimbo7384!
What is your configuration?
Describe your servers, ip addresses of servers, domain name.
Maxim
 
Posts: 1162
Joined: Tue Oct 11, 2016 2:34 pm


Return to Docker Version

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron