Files
nextcloud-docs/admin_manual/office/example-ubuntu.rst
Damien 9adf177e40 Patch of add repository command in example-ubuntu.rst
Added -e option at echo to enable special character to be interpreted like \n or it will raise this error due to a bad interpretation of apt in the collaboraonline.sources file:

E: Type 'deb\nURIs:' is not known on stanza 1 in source list /etc/apt/sources.list.d/collaboraonline.sources
E: The list of sources could not be read.

Signed-off-by: Damien <100437527+u-damien@users.noreply.github.com>
2025-06-12 16:47:00 +02:00

51 lines
1.6 KiB
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
====================================
Installation example on Ubuntu 24.04
====================================
Import signing keys:
********************
.. code-block:: bash
cd /usr/share/keyrings && sudo wget https://collaboraoffice.com/downloads/gpg/collaboraonline-release-keyring.gpg
Add repository:
***************
.. code-block:: bash
sudo echo -e "Types: deb\nURIs: https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-deb\nSuites: ./\nSigned-By: /usr/share/keyrings/collaboraonline-release-keyring.gpg" > /etc/apt/sources.list.d/collaboraonline.sources
Install packages
****************
.. code-block:: bash
sudo apt update && sudo apt install coolwsd code-brand
Configuration
*************
Edit /etc/coolwsd/coolwsd.xml. Collabora Online (coolwsd) service runs via systemd. After editing the configuration file, you have to restart the service:
.. code-block:: bash
sudo systemctl restart coolwsd
The default configuration is looking for an SSL certificate and key, which are not present, so probably its the best to disable SSL, and optionally enable SSL termination, then set up the reverse proxy.
.. seealso::
Full configuration examples for reverse proxy setup can be found in the Collabora Online documentation:
https://sdk.collaboraonline.com/docs/installation/Proxy_settings.html
.. code-block:: bash
sudo coolconfig set ssl.enable false
sudo coolconfig set ssl.termination true
sudo coolconfig set storage.wopi.host nextcloud.example.com
sudo coolconfig set-admin-password
sudo systemctl restart coolwsd
systemctl status coolwsd