How to Install or Upgrade to Collabora Online Office 2.0
Collabora Online 2.0 was released by Collabora Productivity on December 7, 2016, bringing the long-awaited collaborative editing to users.
Collabora online is a self-hostable and LibreOffice-based open source online office suite, which supports DOC, DOCX, PPT, PPTX, XLS, XLSX, ODF document format. With version 2.0, teams can edit documents, spreadsheets, presentation files collaboratively.

Collabora Online 2.0 Collaborative Editing image credit: Collabora
Enterprise customers are recommended to install the stable Collabora Online 2.0 through a Long Term Support contract, while developers and home users can install or upgrade to CODE 2.0 (Collabora Office Development Edition).
How to Install CODE 2.0
To see how to install CODE 2.0 on Ubuntu 16.04, please check out the following tutorial.
How to Upgrade to CODE 2.0
To upgrade to CODE 2.0 from a previous version, all you need to do is to pull the latest image from Docker hub and restart the container. Here’s how.
First, log into your server and pull down the latest collabora/code
image by running the following command.
sudo docker pull collabora/code:latest
The command will download the intermediate image layer between the existing image on your host and the latest image on Docker hub. Once the download is complete, there will be two collabora/code images with different tags identifying the version.
sudo docker images
Output:
REPOSITORY TAG IMAGE ID CREATED SIZE collabora/code latest 499f29f2703e 2 weeks ago 1.75 GB collabora/code <none> 05a1b4c2d8db 5 weeks ago 1.129 GB
Next, list running containers
sudo docker ps
Then stop and remove the running collabora/code
container. The container-id
can be obtained from sudo docker ps
command.
sudo docker stop container-id sudo docker rm container-id
Now run a new container from the latest collabora/code
image. Replace nextcloud\\.your-domain\\.com
with the domain name of your Nextcloud server.
sudo docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=nextcloud\\.your-domain\\.com' --restart always --cap-add MKNOD collabora/code
That’s it!
I hope this article helped you. As always, if you found this post useful, then subscribe to our free newsletter. You can also follow us on Google+, Twitter or like our Facebook page.
Thanks!