<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kangtain.com/wiki/index.php?action=history&amp;feed=atom&amp;title=NextCloud%3A_Install_Collabora</id>
	<title>NextCloud: Install Collabora - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kangtain.com/wiki/index.php?action=history&amp;feed=atom&amp;title=NextCloud%3A_Install_Collabora"/>
	<link rel="alternate" type="text/html" href="https://kangtain.com/wiki/index.php?title=NextCloud:_Install_Collabora&amp;action=history"/>
	<updated>2026-05-07T04:03:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://kangtain.com/wiki/index.php?title=NextCloud:_Install_Collabora&amp;diff=8618&amp;oldid=prev</id>
		<title>Kangtain: /* Source */</title>
		<link rel="alternate" type="text/html" href="https://kangtain.com/wiki/index.php?title=NextCloud:_Install_Collabora&amp;diff=8618&amp;oldid=prev"/>
		<updated>2025-04-08T14:18:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Source&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:18, 8 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l255&quot;&gt;Line 255:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 255:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The coolwsd admin console is available at &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://collabora.example.com/browser/dist/admin/admin.html&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. You need to enter the username and password, which were created in step 2.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The coolwsd admin console is available at &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://collabora.example.com/browser/dist/admin/admin.html&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. You need to enter the username and password, which were created in step 2.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/del&gt;== Source &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Source ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[https://github.com/CollaboraOnline/online &lt;/ins&gt;github.com&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* github.com&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[https://www.linuxbabe.com/ubuntu/integrate-collabora-onlinenextcloud-without-docker &lt;/ins&gt;linuxbabe.com&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* linuxbabe.com&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[https://www.&lt;/ins&gt;collaboraonline.com&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/code/#learnmorecode collaboraonline.com]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* collaboraonline.com&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Linux]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:NextCloud]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Collabora]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Office]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Tutorial]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Ubuntu]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kangtain</name></author>
	</entry>
	<entry>
		<id>https://kangtain.com/wiki/index.php?title=NextCloud:_Install_Collabora&amp;diff=8617&amp;oldid=prev</id>
		<title>Kangtain at 14:16, 8 April 2025</title>
		<link rel="alternate" type="text/html" href="https://kangtain.com/wiki/index.php?title=NextCloud:_Install_Collabora&amp;diff=8617&amp;oldid=prev"/>
		<updated>2025-04-08T14:16:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://kangtain.com/wiki/index.php?title=NextCloud:_Install_Collabora&amp;amp;diff=8617&amp;amp;oldid=8616&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Kangtain</name></author>
	</entry>
	<entry>
		<id>https://kangtain.com/wiki/index.php?title=NextCloud:_Install_Collabora&amp;diff=8616&amp;oldid=prev</id>
		<title>Kangtain: Created page with &quot;This tutorial is going to show you how to install Collabora Online on Ubuntu and then integrate it with an existing Nextcloud server without using Docker.  &#039;&#039;&#039;Collabora Online&#039;&#039;&#039; is a self-hostable and LibreOffice-based open-source online office suite. Its features include:  * Basic editing * High fidelity, WYSIWYG rendering * Supports DOC, DOCX, PPT, PPTX, XLS, XLSX, ODF document format * Import and view Visio, Publisher and 100+ more * Shared Editing  Collabora is a bi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://kangtain.com/wiki/index.php?title=NextCloud:_Install_Collabora&amp;diff=8616&amp;oldid=prev"/>
		<updated>2025-04-08T14:09:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This tutorial is going to show you how to install Collabora Online on Ubuntu and then integrate it with an existing Nextcloud server without using Docker.  &amp;#039;&amp;#039;&amp;#039;Collabora Online&amp;#039;&amp;#039;&amp;#039; is a self-hostable and LibreOffice-based open-source online office suite. Its features include:  * Basic editing * High fidelity, WYSIWYG rendering * Supports DOC, DOCX, PPT, PPTX, XLS, XLSX, ODF document format * Import and view Visio, Publisher and 100+ more * Shared Editing  Collabora is a bi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This tutorial is going to show you how to install Collabora Online on Ubuntu and then integrate it with an existing Nextcloud server without using Docker.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Collabora Online&amp;#039;&amp;#039;&amp;#039; is a self-hostable and LibreOffice-based open-source online office suite. Its features include:&lt;br /&gt;
&lt;br /&gt;
* Basic editing&lt;br /&gt;
* High fidelity, WYSIWYG rendering&lt;br /&gt;
* Supports DOC, DOCX, PPT, PPTX, XLS, XLSX, ODF document format&lt;br /&gt;
* Import and view Visio, Publisher and 100+ more&lt;br /&gt;
* Shared Editing&lt;br /&gt;
&lt;br /&gt;
Collabora is a big contributor to the LibreOffice project. All of the Collabora Online codes will be eventually included in LibreOffice.&lt;br /&gt;
&lt;br /&gt;
== Step 1: Install Collabora Online on Ubuntu From the Official Repository ==&lt;br /&gt;
Collabora has an official package repository for Ubuntu 22.04, 20.04 and 18.04. Run the following command to add it to your Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Ubuntu 22.04&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;echo &amp;#039;deb &amp;lt;nowiki&amp;gt;https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-ubuntu2204&amp;lt;/nowiki&amp;gt; ./&amp;#039; | sudo tee /etc/apt/sources.list.d/collabora.list&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Ubuntu 20.04&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 &amp;lt;code&amp;gt;echo &amp;#039;deb &amp;lt;nowiki&amp;gt;https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-ubuntu2004&amp;lt;/nowiki&amp;gt; ./&amp;#039; | sudo tee /etc/apt/sources.list.d/collabora.list&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Ubuntu 18.04&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 &amp;lt;code&amp;gt;echo &amp;#039;deb &amp;lt;nowiki&amp;gt;https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-ubuntu1804&amp;lt;/nowiki&amp;gt; ./&amp;#039; | sudo tee /etc/apt/sources.list.d/collabora.list&amp;lt;/code&amp;gt;&lt;br /&gt;
Then run the following command to download and import Collabora public key, which allows APT package manager to verify the integrity of packages downloaded from this repository.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C54D189F4BA284D&amp;lt;/code&amp;gt;&lt;br /&gt;
If you can’t import the public key with the above command, you can use the following command to download and import the key.&lt;br /&gt;
 &amp;lt;code&amp;gt;wget &amp;lt;nowiki&amp;gt;https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos7/repodata/repomd.xml.key&amp;lt;/nowiki&amp;gt; &amp;amp;&amp;amp; sudo apt-key add repomd.xml.key&amp;lt;/code&amp;gt;&lt;br /&gt;
Since this repository uses HTTPS connection, we need to install the &amp;lt;code&amp;gt;apt-transport-https&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ca-certificates&amp;lt;/code&amp;gt; package, so the APT package manager can establish secure connection to the repository.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo apt install apt-transport-https ca-certificates&amp;lt;/code&amp;gt;&lt;br /&gt;
Now update local package index and install Collabora Online. &amp;#039;&amp;#039;&amp;#039;coolwsd&amp;#039;&amp;#039;&amp;#039; is the Collabora Online WebSocket Daemon.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo apt update&lt;br /&gt;
 sudo apt install coolwsd code-brand&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure Collabora Online WebSocket Daemon ==&lt;br /&gt;
After they are installed, you can check the status of coolwsd.&lt;br /&gt;
 &amp;lt;code&amp;gt;systemctl status coolwsd&amp;lt;/code&amp;gt;&lt;br /&gt;
As you can see, it failed to start. We can check the journal to see why this happened.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo journalctl -eu coolwsd&amp;lt;/code&amp;gt;&lt;br /&gt;
Sample output:&lt;br /&gt;
 &amp;lt;code&amp;gt;Apr 21 16:13:06 ubuntu coolwsd[13842]: **File not found: /etc/coolwsd/ca-chain.cert.pem**&lt;br /&gt;
 Apr 21 16:13:06 ubuntu systemd[1]: coolwsd.service: Main process exited, code=exited, status&lt;br /&gt;
 Apr 21 16:13:06 ubuntu systemd[1]: coolwsd.service: Failed with result &amp;#039;exit-code&amp;#039;.&lt;br /&gt;
 Apr 21 16:13:07 ubuntu systemd[1]: coolwsd.service: Service hold-off time over, scheduling r&lt;br /&gt;
 Apr 21 16:13:07 ubuntu systemd[1]: coolwsd.service: Scheduled restart job, restart counter i&lt;br /&gt;
 Apr 21 16:13:07 ubuntu systemd[1]: Stopped LibreOffice Online WebSocket Daemon.&lt;br /&gt;
 Apr 21 16:13:07 ubuntu systemd[1]: coolwsd.service: Start request repeated too quickly.&lt;br /&gt;
 Apr 21 16:13:07 ubuntu systemd[1]: coolwsd.service: Failed with result &amp;#039;exit-code&amp;#039;.&lt;br /&gt;
 Apr 21 16:13:07 ubuntu systemd[1]: Failed to start LibreOffice Online WebSocket Daemon.&amp;lt;/code&amp;gt;&lt;br /&gt;
By default, coolwsd enables TLS connection. However, it didn’t find a TLS certificate file, hence the start failure. It’s better to disable TLS in coolwsd and terminate TLS at a reverse proxy. The coolwsd configuration file is located at &amp;lt;code&amp;gt;/etc/coolwsd/coolwsd.xml&amp;lt;/code&amp;gt;. However, it’s an XML file, which is not easy to read and edit. We can use the &amp;lt;code&amp;gt;coolconfig&amp;lt;/code&amp;gt; tool to change configurations.&lt;br /&gt;
&lt;br /&gt;
Run the following command to disable TLS in coolwsd.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo coolconfig set ssl.enable false&amp;lt;/code&amp;gt;&lt;br /&gt;
And enable TLS termination at the reverse proxy.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo coolconfig set ssl.termination true&amp;lt;/code&amp;gt;&lt;br /&gt;
By default, coolwsd only allows known hosts to access its service. To allow Nextcloud to access the service, run the following command to add your Nextcloud hostname to the whitelist.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo coolconfig set storage.wopi.host nextcloud.example.com&amp;lt;/code&amp;gt;&lt;br /&gt;
You can also enable the admin account for coolwsd with the following command. You will need to set a username and password for the admin account.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo coolconfig set-admin-password&amp;lt;/code&amp;gt;&lt;br /&gt;
Restart coolwsd for the changes to take effect.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo systemctl restart coolwsd&amp;lt;/code&amp;gt;&lt;br /&gt;
Now it should be running without errors.&lt;br /&gt;
 &amp;lt;code&amp;gt;systemctl status coolwsd&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Step 3: Set up Reverse Proxy ==&lt;br /&gt;
Nextcloud server requires a TLS certificate on the Collabora Online, so we will need to create a virtual host, give the virtual host a domain name, set up a reverse proxy and install TLS certificate. We can use either &amp;#039;&amp;#039;&amp;#039;Apache&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;Nginx&amp;#039;&amp;#039;&amp;#039; to achieve this.&lt;br /&gt;
&lt;br /&gt;
=== Apache ===&lt;br /&gt;
Install Apache web server with the following command:&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo apt install apache2&amp;lt;/code&amp;gt;&lt;br /&gt;
Run the following command to create an Apache virtual host file for Collabora Online.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo nano /etc/apache2/sites-available/collabora.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
Put the following text into the file. Replace the domain name with your actual domain name for Collabora Online. Don’t forget to create an A record for this sub-domain.&lt;br /&gt;
 &amp;lt;code&amp;gt;&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
   ServerName collabora.example.com&lt;br /&gt;
   Options -Indexes&lt;br /&gt;
 &lt;br /&gt;
   ErrorLog &amp;quot;/var/log/apache2/collabora_error&amp;quot;&lt;br /&gt;
   # Encoded slashes need to be allowed&lt;br /&gt;
   AllowEncodedSlashes NoDecode&lt;br /&gt;
 &lt;br /&gt;
   # keep the host&lt;br /&gt;
   ProxyPreserveHost On&lt;br /&gt;
 &lt;br /&gt;
   # static html, js, images, etc. served from coolwsd&lt;br /&gt;
   # loleaflet/browser is the client part of Collabora Online&lt;br /&gt;
   ProxyPass           /loleaflet &amp;lt;nowiki&amp;gt;http://127.0.0.1:9980/loleaflet&amp;lt;/nowiki&amp;gt; retry=0&lt;br /&gt;
   ProxyPassReverse    /loleaflet &amp;lt;nowiki&amp;gt;http://127.0.0.1:9980/loleaflet&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
   ProxyPass           /browser &amp;lt;nowiki&amp;gt;http://127.0.0.1:9980/browser&amp;lt;/nowiki&amp;gt; retry=0&lt;br /&gt;
   ProxyPassReverse    /browser &amp;lt;nowiki&amp;gt;http://127.0.0.1:9980/browser&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
   # WOPI discovery URL&lt;br /&gt;
   ProxyPass           /hosting/discovery &amp;lt;nowiki&amp;gt;http://127.0.0.1:9980/hosting/discovery&amp;lt;/nowiki&amp;gt; retry=0&lt;br /&gt;
   ProxyPassReverse    /hosting/discovery &amp;lt;nowiki&amp;gt;http://127.0.0.1:9980/hosting/discovery&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
   # Capabilities&lt;br /&gt;
   ProxyPass           /hosting/capabilities &amp;lt;nowiki&amp;gt;http://127.0.0.1:9980/hosting/capabilities&amp;lt;/nowiki&amp;gt; retry=0&lt;br /&gt;
   ProxyPassReverse    /hosting/capabilities &amp;lt;nowiki&amp;gt;http://127.0.0.1:9980/hosting/capabilities&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
   # Main websocket&lt;br /&gt;
   ProxyPassMatch &amp;quot;/cool/(.*)/ws$&amp;quot; ws://127.0.0.1:9980/cool/$1/ws nocanon&lt;br /&gt;
 &lt;br /&gt;
   # Admin Console websocket&lt;br /&gt;
   ProxyPass   /cool/adminws ws://127.0.0.1:9980/cool/adminws&lt;br /&gt;
 &lt;br /&gt;
   # Download as, Fullscreen presentation and Image upload operations&lt;br /&gt;
   ProxyPass           /cool &amp;lt;nowiki&amp;gt;http://127.0.0.1:9980/cool&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
   ProxyPassReverse    /cool &amp;lt;nowiki&amp;gt;http://127.0.0.1:9980/cool&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
Save and close the file. To be able to proxy traffic using Apache, we need to enable some Apache modules.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo a2enmod proxy proxy_wstunnel proxy_http&amp;lt;/code&amp;gt;&lt;br /&gt;
Enable this virtual host with the following command:&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo a2ensite collabora.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
Then restart Apache.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo systemctl restart apache2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Nginx ===&lt;br /&gt;
Install Nginx on Ubuntu with the following command:&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo apt install nginx&amp;lt;/code&amp;gt;&lt;br /&gt;
Create a virtual host file for Collabora Online.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo nano /etc/nginx/conf.d/collabora.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
Put the following text into the file. Replace the domain name with your actual domain name for Collabora Online. Don’t forget to create an A record for this domain name.&lt;br /&gt;
 &amp;lt;code&amp;gt;server {&lt;br /&gt;
     listen 80;&lt;br /&gt;
     listen [::]:80;&lt;br /&gt;
     server_name  collabora.example.com;&lt;br /&gt;
 &lt;br /&gt;
     error_log /var/log/nginx/collabora.error;&lt;br /&gt;
 &lt;br /&gt;
    # static files&lt;br /&gt;
     location ^~ /browser {&lt;br /&gt;
         proxy_pass &amp;lt;nowiki&amp;gt;http://localhost:9980&amp;lt;/nowiki&amp;gt;;&lt;br /&gt;
         proxy_set_header Host $http_host;&lt;br /&gt;
     }&lt;br /&gt;
     location ^~ /loleaflet {&lt;br /&gt;
         proxy_pass &amp;lt;nowiki&amp;gt;http://localhost:9980&amp;lt;/nowiki&amp;gt;;&lt;br /&gt;
         proxy_set_header Host $http_host;&lt;br /&gt;
     }&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
     # WOPI discovery URL&lt;br /&gt;
     location ^~ /hosting/discovery {&lt;br /&gt;
         proxy_pass &amp;lt;nowiki&amp;gt;http://localhost:9980&amp;lt;/nowiki&amp;gt;;&lt;br /&gt;
         proxy_set_header Host $http_host;&lt;br /&gt;
     }&lt;br /&gt;
 &lt;br /&gt;
     # Capabilities&lt;br /&gt;
     location ^~ /hosting/capabilities {&lt;br /&gt;
         proxy_pass &amp;lt;nowiki&amp;gt;http://localhost:9980&amp;lt;/nowiki&amp;gt;;&lt;br /&gt;
         proxy_set_header Host $http_host;&lt;br /&gt;
     }&lt;br /&gt;
 &lt;br /&gt;
     # main websocket&lt;br /&gt;
     location ~ ^/cool/(.*)/ws$ {&lt;br /&gt;
         proxy_pass &amp;lt;nowiki&amp;gt;http://localhost:9980&amp;lt;/nowiki&amp;gt;;&lt;br /&gt;
         proxy_set_header Upgrade $http_upgrade;&lt;br /&gt;
         proxy_set_header Connection &amp;quot;Upgrade&amp;quot;;&lt;br /&gt;
         proxy_set_header Host $http_host;&lt;br /&gt;
         proxy_read_timeout 36000s;&lt;br /&gt;
     }&lt;br /&gt;
 &lt;br /&gt;
     # download, presentation and image upload&lt;br /&gt;
     location ~ ^/(c|l)ool {&lt;br /&gt;
         proxy_pass &amp;lt;nowiki&amp;gt;http://localhost:9980&amp;lt;/nowiki&amp;gt;;&lt;br /&gt;
         proxy_set_header Host $http_host;&lt;br /&gt;
     }&lt;br /&gt;
 &lt;br /&gt;
     # Admin Console websocket&lt;br /&gt;
     location ^~ /cool/adminws {&lt;br /&gt;
         proxy_pass &amp;lt;nowiki&amp;gt;http://localhost:9980&amp;lt;/nowiki&amp;gt;;&lt;br /&gt;
         proxy_set_header Upgrade $http_upgrade;&lt;br /&gt;
         proxy_set_header Connection &amp;quot;Upgrade&amp;quot;;&lt;br /&gt;
         proxy_set_header Host $http_host;&lt;br /&gt;
         proxy_read_timeout 36000s;&lt;br /&gt;
     }&lt;br /&gt;
 }&amp;lt;/code&amp;gt;&lt;br /&gt;
Save and close the file. Then test Nginx configurations.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo nginx -t&amp;lt;/code&amp;gt;&lt;br /&gt;
If the test is successful, reload Nginx server.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo systemctl reload nginx&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Step 4: Obtain and Install TLS Certificate ==&lt;br /&gt;
Now let’s obtain a free TLS certificate from Let’s encrypt. Run the following commands to install Let’s Encrypt client (certbot) from the default software repository.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo apt install certbot&amp;lt;/code&amp;gt;&lt;br /&gt;
If you use &amp;#039;&amp;#039;&amp;#039;Apache&amp;#039;&amp;#039;&amp;#039; web server, then you also need to install the Certbot Apache plugin.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo apt install python3-certbot-apache&amp;lt;/code&amp;gt;&lt;br /&gt;
Then issue the following command to obtain a free TLS/SSL certificate.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo certbot --apache --agree-tos --redirect --hsts --staple-ocsp --email you@example.com -d collabora.example.com&amp;lt;/code&amp;gt;&lt;br /&gt;
If you use &amp;#039;&amp;#039;&amp;#039;Nginx&amp;#039;&amp;#039;&amp;#039; web server, then you need to install the Certbot Nginx plugin.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo apt install python3-certbot-nginx&amp;lt;/code&amp;gt;&lt;br /&gt;
Then use the Nginx plugin to obtain and install the certificate by running the following command.&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo certbot --nginx --agree-tos --redirect --hsts --staple-ocsp --email you@example.com -d collabora.example.com&amp;lt;/code&amp;gt;&lt;br /&gt;
You will see the following text indicating that you have successfully obtained a TLS certificate.&lt;br /&gt;
&lt;br /&gt;
== Final Step: Connect Nextcloud to Collabora Online ==&lt;br /&gt;
In your Nextcloud dashboard, go to the &amp;lt;code&amp;gt;Apps&amp;lt;/code&amp;gt; page (&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://nextcloud.example.com/settings/apps&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
Next, go to &amp;lt;code&amp;gt;Office &amp;amp; Text&amp;lt;/code&amp;gt; section, find the &amp;lt;code&amp;gt;Nextcloud Office&amp;lt;/code&amp;gt; app, and click &amp;lt;code&amp;gt;Download and Enable&amp;lt;/code&amp;gt; button. (&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039;: The &amp;lt;code&amp;gt;Collabora Online&amp;lt;/code&amp;gt; app has been renamed to &amp;lt;code&amp;gt;Nextcloud Office&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The coolwsd admin console is available at &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://collabora.example.com/browser/dist/admin/admin.html&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. You need to enter the username and password, which were created in step 2.&lt;br /&gt;
&lt;br /&gt;
=== Source ===&lt;br /&gt;
&lt;br /&gt;
* github.com&lt;br /&gt;
* linuxbabe.com&lt;br /&gt;
* collaboraonline.com&lt;/div&gt;</summary>
		<author><name>Kangtain</name></author>
	</entry>
</feed>