Configuring Collabora Online
This guide helps to 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 at Enable extensions .
This guide is deprecated. Please, contact support for more information.
Code installation
OpenKM has only been certificated with Collabora Professional.
OpenKM configuration
Edit the following configuration parameters from OpenKM administration:
Collabora source IP is in a Docker network range, usually like 172.17.x.x, so this IP should be configured at collabora.ip configuration parameter The authentication token used between collabora and OpenKM is restricted by IP, which means only the IP of Collabora will be able to use it.
If unsure about Collabora IP, look into the log file for an error message like "Error validating token IP where {} != {}", or enter within 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 Collabora Docker container to connect to OpenKM WOPI REST endpoint.
- online.office.url: URL used by OpenKM to connect to Collabora Docker container.
- online.office.ip: Source IP used by Collabora to authenticate to OpenKM