Go to Admin - Integration - Office to enable LibreOffice and Check "Collabora Online", for Collabora Path, just fill in with exact address and port number for your Collabora Online. Sudo docker exec -it -u root admiring_sinoussichown lool:lool /etc/loolwsd/loolwsd.xmlĪnd then visit, you will get a "OK" page if you succeed. Try with the following commands to fix the problem by chown beacause of "Permission denied" rw-r- 1 root root 18191 Dec 7 01:42 /etc/loolwsd/loolwsd.xml modified -> restarting You might meet the problem that the container could not restart successfully and logs is as the following,Ĭan't open /etc/loolwsd/loolwsd.xml: Permission denied.Ĭouldn't watch /etc/loolwsd/loolwsd.xml: Permission denied Wait a few seconds for the automatic restart. $sudo docker cp loolwsd.xml admiring_sinoussi:/etc/loolwsd/loolwsd.xml Edit the config file with your favourite editor, then save and copy it back to the container:.$sudo docker cp admiring_sinoussi:/etc/loolwsd/loolwsd.xml loolwsd.xmlįor disable SSL, make sure you have editted value for SSL settings as "false" Find out the name or hash of your container:ĬONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESĮ4212ca0e6d6 collabora/code "/bin/sh -c 'bash st…" 25 minutes ago Up 25 minutes 0.0.0.0:9985->9980/tcp admiring_sinoussi.The container will notice that the configuration file has changed, and the service will be restarted (don’t forget the –restart always option when you start the container with docker run). Step 3: Use the configuration file directly to set Collabora OnlineĪfter starting the container, you can copy the configuration file out of the container, edit it, and copy it back to the container.
Otherwise Collabora Online will not be enabled successfully in ZenTao ) ( If ZenTao is running with SSL, then Collabora has to run with SSL as well, it's the same if ZenTao disables SSL. Since my ZenTao is not running with SSL, so I need to configure loolwsd.xml to disable SSL. Go to browser and visit domian:9985 (Since SSL is enabled by default, so you have to visit by HTTPS if you haven't edited configuration file of Collabora Online ), you will get a "OK" page.
(If your Ubuntu system doesn’t have the netstat command, you can install it with sudo apt install net-tools.) The Collabora Online server will be listening on port 9980 of localhost (127.0.0.1) as can be shown by issuing the following command. p: Publish a container’s port to the host. d: Detached mode makes the container run in the background. This is because Collabora only allows known hosts to access its service and we need to add the server/ZenTao hostname to the whitelist with the domain= parameter. Replace example\.com with your server/ZenTao hostname, preseving the double slashes. Sudo docker run -t -d -p 0.0.0.0:9980:9980 -e "domain=example\\.com" -e "username=admin" -e "password=123456" -restart always -cap-add MKNOD collabora/code Step 2: Install and Run Collabora Online Server with DockerĮxecute the following command to pull the latest Collabora Online Development Edition image from Docker hub. If it’s not running, then start the daemon with this command: Hint: If the above command doesn’t quit immediately, you can press the Q key to make it quit. Once installed, the Docker daemon should be automatically started.
For simplicity, this tutorial installs Docker from the default Ubuntu software repository.