Have next cloud running on server.
A sub domain or second domain for collabora to run on.
in his case it is office.something.com – He has nextcloud on cloud.something.com
both redirect to the same server. He is using a home server. That has nexcloud running and
add the docor conaoter with collabora online
Copy paste from manual on website
Github – just google Acme
A host that can run docker. He already installed it on his server.
apache – server is already running nextcloud
A cirtificate from lets encrypt
Start With Docker
docker pull collabora/code
Run the docker container
docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=cloud\\.nextcloud\\.com' --restart always --cap-add MKNOD collabora/code
Set the url “cloud\.nextcloud\.com” to where you have nextcloud installed. NOT the subdomain for Collabora.
If you do not get this set up right, you will get a connection error. USE NEXTCLOUD DOMAIN
Setting Apache Reverse Proxy
Enable modules by running these scripts at above path
Make Virtual Host To Proxy Traffic
Update server name to your servername office.example.com:443
Nextcloud also runs on 443.
SSL Certificate File
From Acme. From Lets Encrypt
Getting Acme Up
acme has documentation on this. So do what they say and you will be fine. Divert all traffic on 443 unless it is specifically trying to verify a SSL certificate
$ cat /etc/apache2/vhosts.d/acme.conf
$ vi nectcloud.conf
He shows the settings of his nextcloud.conf
Servername and other items are updated. See video.
$ rcapache2 restart
Configure In Nextcloud
Go to nextcloud. Download app Productivity > Collabora > Download & Enable
Be sure to disable Documents app. It will break Collabora.
Admin settings to configure online server.
Collabora Online server should be full URL with port.
Iptables and Firewalls. If you start or restart a firewall the result is a connection error in collabora online.
This does not happen if you start a firewall first and the docker after.
Add Your Heading Text Here
How to start / stop / restart the docker
$ rcSuSEfirewall2 restart
$ docker stop --- Image code??---
$ docker restart
$ docker start --- Image code??---