Collabora Online / CODE (LibreOffice Online) with ownCloud

howto_tutorial

#1

The Collabora Project is targeting to bring LibreOffice into your browser. There are currently two integration possibilities with ownCloud:

  1. The "CODE" VM shipping a complete ownCloud and Collabora Online Setup

    This VM is available for download at the following page:

    https://www.collaboraoffice.com/code/

    Further setup instructions are available here: https://www.collaboraoffice.com/code-vm-setup-instructions/

  2. Integration into an existing ownCloud installation via the "Collabora Online connector" app

    Unfortunately there are install instructions missing for Collabora Online / LibreOffice Online ( https://github.com/owncloud/richdocuments/issues/6 ). However for easy setup a docker image is provided which can be used to integrate Collabora Online into ownCloud:

    https://www.collaboraoffice.com/code/

    To setup this docker image the following tutorials are available:

    https://nextcloud.com/collaboraonline/ For Apache
    https://icewind.nl/entry/collabora-online For nginx

    Afterwards the "Collabora Online connector" app from https://apps.owncloud.com/content/show.php/Collabora+Online+connector?content=174727 can be installed.

Where to report bugs / issues


Running Owncloud 9.1 with external Collabora server possible?
Collabora Online not Work
Plugin RichDocuments libreoffice online
Running Owncloud 9.1 with external Collabora server possible?
Collabora Online not Work
Collabora Online not Work
Collabora cURL error 60: SSL certificate problem: self signed certificate in certificate chain
OwnCloud + Collabora
Office installieren wieso so kompliziert?
Collabra online
Working with (xls, xlsx) in owncloud
#2

Some issues i was facing when trying to get this to run on my Debian Jessie (Got a "We are sorry, this is an unexpected connection error. Please try again" error).

  • You need the Linux Image from Debian Jessie Backports (currently 4.6+74~bpo8+1), probably for the same reason why the docker container is not supported on Ubuntu 14.04
  • It might be needed that you start your docker container with the --dns parameters like:
    docker run -t -d -p 127.0.0.1:9980:9980 -e "domain=cloud\.example.\.com" --dns 8.8.8.8 --dns 8.8.4.4 --restart always --cap-add MKNOD collabora/code
  • If you're running an iptables script / firewall make sure that you're starting docker afterwards as it will add some additional NAT rules to your iptables

When using the documents app you also need to disable that app before you're able to set the server name in your admin backend. Afterwards you can enable the documents app again:


Changing URL Collabora Online apps not worked
#3

Seems some one has now write down the needed steps how to install that app and build LibreOffice Online from source here:


#4

There is also an issue with the app itself if you're restricting it to a specific group:

It currently also won't work if encryption is in use:

and also not if you have shared a folder on an external storage to other users: https://github.com/owncloud/richdocuments/issues/83#issuecomment-241705535


Collabora Online not Work
#5

#6

With a recent update of the CODE docker image you can now specify the username/password combination in the docker startup like:

-e 'username=admin' -e 'password=123456'

Afterwards you can access the admin backend accessible at:

https://office.example.com/loleaflet/dist/admin/admin.html (example)