Try the fastest and simplest way to install ONLYOFFICE

NextCloud / OnlyOffice installation on the same server

IIS, Apache

NextCloud / OnlyOffice installation on the same server

Postby Saguu » Thu Apr 13, 2017 6:51 am

Hello,

I'd like to install OnlyOffice to work with NextCloud. I have only one server. I would like to install it on the same server as NextCloud.
I installed NextCloud with PostgreSQL for integration of OnlyOffice.
I have many qustions :
- Is it possible to install both solutions on the same server?
- I want the traffic to be secure (NextCloud is already running with https).
- How to make both solutions work in https (Reverse Proxy Nginx?)
- I can not achieve this with Docker and I prefer without Docker.

Thank you for your help !

Saguu
Saguu
 
Posts: 3
Joined: Thu Apr 13, 2017 6:41 am

Re: NextCloud / OnlyOffice installation on the same server

Postby Maxim » Thu Apr 13, 2017 7:58 am

Hello Saguu!
Is it possible to install both solutions on the same server?

Yes it's possible but it needs to configure proxying, forwarding ports. But we advice to use separate servers.
We are working on "one solution on one server' but it's supposed of using Docker technology.
I want the traffic to be secure (NextCloud is already running with https)

How to switch your Document Server to HTTPS protocol?
How to make both solutions work in https (Reverse Proxy Nginx?)

I cannot say, we didn't test.
Maxim
 
Posts: 1072
Joined: Tue Oct 11, 2016 2:34 pm

Re: NextCloud / OnlyOffice installation on the same server

Postby Saguu » Thu Apr 13, 2017 10:30 am

Hello Maxim !

To begin, thank you for your answer! :)

If I choose the one solution solution on one server, what are the specifications of the server hosting OnlyOffice (CPU/RAM/HDD)?
The created / edited documents are stored on the OnlyOffice server or the NextCloud server?

I will retry the Docker option, but I have not managed to run it in https yet ..

Thank you !
Saguu
 
Posts: 3
Joined: Thu Apr 13, 2017 6:41 am

Re: NextCloud / OnlyOffice installation on the same server

Postby Maxim » Thu Apr 13, 2017 11:02 am

what are the specifications of the server hosting OnlyOffice (CPU/RAM/HDD)?

CPU dual-core 2 GHz or better
RAM 6 GB or more
HDD at least 40 GB of free space
Additional Requirements at least 6 GB of swap
The created / edited documents are stored on the OnlyOffice server or the NextCloud server?

NextCloud server
Running ONLYOFFICE Document Server using HTTPS
Maxim
 
Posts: 1072
Joined: Tue Oct 11, 2016 2:34 pm

Re: NextCloud / OnlyOffice installation on the same server

Postby Saguu » Thu Apr 13, 2017 2:50 pm

Hello Maxim,

I created a new server with the specified specifications (CPU / RAM / HDD / Swap)
I followed this guide :
http://helpcenter.onlyoffice.com/server/linux/document/linux-installation-centos.aspx


Then I set up the server with SSL (Generation of Self Signed Certificates)
I followed this guide :
https://github.com/ONLYOFFICE/Docker-DocumentServer#running-onlyoffice-document-server-using-https

I have enabled and specified the address of the OnlyOffice server : https://office.dom.domain.local
The Document Server is running, but when I create a document I have the following error :error when trying to connect (bad request or timeout error)

All firewalls and SELinux are disabled.

I do not understand what is problematic.

Saguu
Saguu
 
Posts: 3
Joined: Thu Apr 13, 2017 6:41 am

Re: NextCloud / OnlyOffice installation on the same server

Postby Maxim » Fri Apr 14, 2017 6:13 am

Hello Saguu!
The Document Server is not accessible. That's why we advice to use separate servers. To solve this problem it needs to have expert knowledge base of nginx and apache proxying to edit configs correctly. It's quite difficult!
Maxim
 
Posts: 1072
Joined: Tue Oct 11, 2016 2:34 pm

Re: NextCloud / OnlyOffice installation on the same server

Postby todachuy2406 » Wed Apr 26, 2017 10:15 am

Hi Maxim,

That is not right. Because I can access secure https to Onlyoffice server and getting message result "Document Server is running"
But I save it then the results as following attachment
Attachments
2017-04-25 11_36_07-Content blocked.png
2017-04-25 11_36_07-Content blocked.png (19.42 KiB) Viewed 1300 times
todachuy2406
 
Posts: 1
Joined: Tue Jan 03, 2017 9:53 am

Re: NextCloud / OnlyOffice installation on the same server

Postby Maxim » Wed Apr 26, 2017 1:41 pm

Hello todachuy2406!
NextCloud Server cannot communicate with Document Server. Document Server is not accessible for NC server.
We are going to release One Server solution, but it needs some time.
Maxim
 
Posts: 1072
Joined: Tue Oct 11, 2016 2:34 pm

NextCloud / OnlyOffice installation on the same server

Postby acucoulky » Thu Jul 06, 2017 9:05 pm

I just got a reply from the hosting. They are using lighttpd server. Any idea how to do this? We are under a shared hosting
acucoulky
 
Posts: 2
Joined: Thu Jun 22, 2017 8:05 pm
Location: USA

Re: NextCloud / OnlyOffice installation on the same server

Postby Maxim » Fri Jul 07, 2017 6:10 am

Hello acucoulky!
Any idea how to do this?

What exactly?
Maxim
 
Posts: 1072
Joined: Tue Oct 11, 2016 2:34 pm


Return to Web server configuration

Who is online

Users browsing this forum: No registered users and 1 guest