How can I integrate LibreOffice with NextCloud for free - is there a free solution?

I want to integrate with NextCloud, but it looks like Collabora Online isn’t free, not sure if LibreOffice Online or Collabora CODE works with Next Cloud, and I’m looking for a free integration solution to acheive this.

What can I choose for this?

You can use Nextcloud’s WebDAV service.

How to save LibreOffice documents to your Nextcloud server - TechRepublic

Yes I do this already, and it is really handy and useful, but it doesn’t provide the integration with collaborative editing, although you can later share a saved document with edit privileges via a link, to a guest usage, or another defined group amongst the NextCloud user accounts.

Thank you for this suggestion @LibreTraining, however, because it really does provide much of the functionality that most people will be interested in utilizing.

I tried setting this up. After adding the service, it doesnt ask for a login. When I do ‘edit service’, I see that my host is ‘https’. After re-entering my host, it just adds this line to the root path on saving. Any solution here?

The official CODE page gives links to detailed instructions on integrating with various solutions, NextCloud among them. And those instructions, though targeted to Collabora Online, are fully applicable to CODE and LibreOffice Online.

Thank you @mikekaganski, That led me to the correct path I was looking for.

CODE is indeed the method by which I’m going to use shortly to integrate this functionality.

There are a few bugs I’ve been alerted to though, which I will elaborate on in the answer I’ll post following this hat you for pointing me in the right direction, although you also indicated that this is also applicable to LibreOffice Online, which I’m going to assume is the more bleeding edge of the two solutions.

It’s incorrect to assume that LibreOffice Online is more bleeding edge of the two solutions. The online code is mostly developed by Collabora, and its CODE is updated as new features and fixes are added.

1 Like

Collabora Online Developer Edition (CODE) is a recommended method for integrating LibreOffice with NextCloud, as per the good folks over at NextCloud:

Here’s a direct link to a video tutorial with step by step cookbook style instructions:

And here’s a link to the page with the instructions, also referenced in the description for the video, which says that the page is updated regularly (the video is also embedded on this page):

And the discussion thread covering the installation and troubleshooting of integrating CODE with NextCloud is here:

A couple of caveats (gotcha’s) that I fixed upon in the video tutorial are:

  • In the Docker container, make sure that you are referencing the correct hostname for NextCloud, you might be inclined to think that you have the hostname for the CODE instance, and that could be a time intensive troubleshooting experience.
  • Make sure that you disable the standard document editor app in NextCloud because it conflicts with CODE, preventing it from launching. They’ve said that they’re going to work on this bug so you can hopefully still enjoy using both at your leisure.
  • There’s a little firewall SNAFU, requiring one to start the Docker container AFTER the firewall is initialized. You may need to muck around with your init scripts to make sure this doesn’t interfere with the Docker container during system boot. If you run into this problem, simply restart CODE’s Docker container and it should immediately begin working again.

I hope that helps!

Hi tallship :slight_smile: As you know the cloud version of LibreOffice is called “LibreOffice Online”

LibreOffice Online can be install on any server. Assuming it meets the minimum requirements.

The official wiki documentation about LibreOffice Online is at

On that page above find the links under “Current Status” section

For LibreOffice Online support requests, bug reports, new feature requests find that official Bugzilla tool at

To join the efforts and contribute go to
Then find the instructions under the “Development” section.