Configuring Collabora Online

This guide helps install and configure CODE (Collabora Online Development Edition) with OpenKM.

CODE is WOPI compliant. Read the specification at https://wopi.readthedocs.io/projects/wopirest/en/latest/index.html. 

Once you have installed Collabora Online, you must enable the online editor extension in the user profile. More information is available at Enable extensions.

This guide is deprecated. Please contact support for more information.

CODE installation

OpenKM has only been certified with Collabora Professional.

OpenKM configuration

Edit the following configuration parameters in OpenKM administration:

The Collabora source IP is in a Docker network range, usually 172.17.x.x, so this IP should be configured in the collabora.ip configuration parameter. The authentication token used between Collabora and OpenKM is restricted by IP, which means only Collabora's IP will be able to use it.

If you are unsure about the Collabora IP, look in the log file for an error message like "Error validating token IP where {} != {}", or enter the Docker container (docker exec -it name_container bash) and see the IP:  cat /etc/hosts

# value samples
online.office.action.url = http://192.168.1.38:8080/openkm/wopi/files online.office.url = http://192.168.1.38:9980/hosting/discovery online.office.ip = 172.17.0.2

Parameters

  • online.office.action.url: URL used by the Collabora Docker container to connect to the OpenKM WOPI REST endpoint.
  • online.office.url: URL used by OpenKM to connect to the Collabora Docker container.
  • online.office.ip: Source IP used by Collabora to authenticate to OpenKM.