{"id":385,"date":"2023-08-27T07:08:28","date_gmt":"2023-08-27T07:08:28","guid":{"rendered":"https:\/\/hostup.se\/en\/blog\/?p=385"},"modified":"2023-08-27T07:08:29","modified_gmt":"2023-08-27T07:08:29","slug":"how-to-install-collabora-server-on-nextcloud","status":"publish","type":"post","link":"https:\/\/hostup.se\/en\/blog\/how-to-install-collabora-server-on-nextcloud\/","title":{"rendered":"How to install collabora server on Nextcloud"},"content":{"rendered":"\n<p>In this tutorial I will show you how you can setup collabora server, a software required if you want to have your own office in Nextcloud, on our shared hosting.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Install Nextcloud<\/h2>\n\n\n\n<p>First login to your Web Hosting account. You can do so via SSO on the billing area or by visiting <a href=\"https:\/\/webbhotell.hostup.se\/apps\/login\">https:\/\/webbhotell.hostup.se\/apps\/login<\/a> and logging in using the details sent to your e-mail.<\/p>\n\n\n\n<p>I want to install my Nextcloud installation on a subdomain called cloud. To create such a subdomain navigate to Web > Subdomains on the left side and create a subdomain called cloud.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/subdomain-1024x336.png\" alt=\"\" class=\"wp-image-387\" width=\"840\" height=\"275\" srcset=\"https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/subdomain-1024x336.png 1024w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/subdomain-300x98.png 300w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/subdomain-768x252.png 768w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/subdomain-1536x504.png 1536w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/subdomain-2048x672.png 2048w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<p>Once the subdomain is created we want to install Nextcloud via the one-click installer. Navigate to Web Apps and select the newly created domain.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"799\" src=\"https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/Skarmavbild-2023-08-27-kl.-08.52.05-1024x799.png\" alt=\"\" class=\"wp-image-389\" srcset=\"https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/Skarmavbild-2023-08-27-kl.-08.52.05-1024x799.png 1024w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/Skarmavbild-2023-08-27-kl.-08.52.05-300x234.png 300w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/Skarmavbild-2023-08-27-kl.-08.52.05-768x599.png 768w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/Skarmavbild-2023-08-27-kl.-08.52.05.png 1408w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>On the next page, select Nextcloud and then just hit install without changing any of the default settings.<\/p>\n\n\n\n<p>Once Nextcloud is installed you will get an e-mail with login details to the dashboard.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Install collabora server<\/h2>\n\n\n\n<p>Once logged into Nextcloud we need to install two apps. &#8220;Collabora Online &#8211; Built-in CODE Server&#8221; and &#8220;Nextcloud Office&#8221;. You can do that by clicking on the very top left then <strong>Apps > <br>App bundles<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"325\" src=\"https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/nextcloudapps-1024x325.png\" alt=\"\" class=\"wp-image-390\" srcset=\"https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/nextcloudapps-1024x325.png 1024w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/nextcloudapps-300x95.png 300w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/nextcloudapps-768x244.png 768w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/nextcloudapps-1536x488.png 1536w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/nextcloudapps-2048x651.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">2.1 Start collabora server<\/h3>\n\n\n\n<p>Great now we&#8217;ve installed all that&#8217;s needed but we still need to start the server. To do that open your local SSH terminal and login using the login details sent to your e-mail when you bought the shared hosting. You can use any SSH terminal for this. For Windows I recommend <a href=\"https:\/\/termius.com\/\" target=\"_blank\" rel=\"noopener\">Termius<\/a> and for Mac I recommend the default preinstalled terminal.<\/p>\n\n\n\n<p>Once you&#8217;ve logged into the terminal we need to navigate to the correct path.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/var\/www\/cloud.*\/apps\/richdocumentscode\/collabor<\/code><\/pre>\n\n\n\n<p>Once there we need to extract the app image.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/Collabora_Online.AppImage --appimage-extract<\/code><\/pre>\n\n\n\n<p>Okay great. While we could start the server with the following command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/var\/www\/cloud.*\/apps\/richdocumentscode\/collabora\/squashfs-root\/AppRun<\/code><\/pre>\n\n\n\n<p>It&#8217;s better if we setup a cronjob that will run this when the server starts. To do this open the control panel again and navigate to <strong>Dev > Task Scheduler<\/strong><\/p>\n\n\n\n<p>Once there create a job that looks like this:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"245\" src=\"https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/07.20-1024x245.png\" alt=\"\" class=\"wp-image-391\" srcset=\"https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/07.20-1024x245.png 1024w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/07.20-300x72.png 300w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/07.20-768x184.png 768w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/07.20-1536x368.png 1536w, https:\/\/hostup.se\/en\/blog\/wp-content\/uploads\/2023\/08\/07.20-2048x491.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>After the task has been added, click on &#8220;Run Now&#8221; button to start the collabora server<\/p>\n\n\n\n<p>Congratulations! This was the final step. You now have Nextcloud office with collabora server running on your shared hosting.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial I will show you how you can setup collabora server, a software required if you want to have your own office in Nextcloud, on our shared hosting. 1. Install Nextcloud First login to your Web Hosting account. You can do so via SSO on the billing area or by visiting https:\/\/webbhotell.hostup.se\/apps\/login and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-385","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/posts\/385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/comments?post=385"}],"version-history":[{"count":1,"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/posts\/385\/revisions"}],"predecessor-version":[{"id":392,"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/posts\/385\/revisions\/392"}],"wp:attachment":[{"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/media?parent=385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/categories?post=385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostup.se\/en\/blog\/wp-json\/wp\/v2\/tags?post=385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}