Most Powerful Open Source ERP

How To Install Nextcloud On Rapid.Space Webrunner

How To Install Nextcloud On Rapid.Space Webrunner
  • Last Update:2021-02-18
  • Version:001
  • Language:en

How To Install Nextcloud On Rapid.Space

Agenda

  1. Requirements
  2. Access Webrunner
  3. Open Software: nextcloud
  4. Wait For the Deployment
  5. Save Software Profile
  6. Compilation - have a coffee
  7. Compilation - Debugging
  8. Requesting a Frontend Url
  9. Update Hosting Subscription Parameters
  10. Locate Frontend URL
  11. Access Nextcloud
  12. Configure trusted domains
  13. Access Nextcloud With Trusted Domain

Requirements

Before start this tutorial, please ensure you have a webrunner accessible. 

Access Webrunner

Login into your Webrunner via url with int-user ("admin") and int-password.

Open Software: nextcloud

Locate the Software folder (slapos/software/), which contains all software releases you can currently install on this Webrunner. Locate nextcloud and select the folder (don't open it). Then click the Open Software button on the bottom left to open the software release.

Save Software Profile

You can see which buildout profile and which revisions will be used to build your Nextcloud instance from scratch. Just confirm the values by clicking Save at the bottom left. Then hit the green play button to start the software build.

Compilation - have a coffee

Compilation from scratch and installation will take a few hours. Once everything is done, both indicators should be showing a green state. Note: Should the indicators not show a green light, it may be, that installation did not complete successfully due to some errors like missing templates. Please hit the green button again - it will only take a few minutes to re-instantiate and see if installation finishes successful.

Compilation - Debugging

Should you still have errors, please check the log on the left for ERROR entries to start investigating why your build and install did not succeed. A more detailed version of the logs can be found in the logs tab.

Requesting a Frontend Url

Head to the Services tab and locate parameters on the slappart0 partition or in case of a resilient runner, just click the "Connection Parameters" tab. Copy the backend-url parameter. We will use this to require a custom-front-end url for the nextcloud instance. Head back to the Rapid.Space Panel.

Note: You are already able to access nextcloud via backend-url or url (IPv6 required). 

Update Hosting Subscription Parameters

🔗 Rapid.Space Panel

Copy the value, head to your SlapOS Service page and add it as value for the Custom Frontend Backend URL to request an IPv4 frontend url for your instance (DO NOT put "/" at the end). Click Save in the header. Requesting the Frontend should not take longer than 15 minutes. When refreshing the page it should be visible in the Connection Parameters table as custom-frontend-url.

Locate Frontend URL

Locate the Connection Parameters table. The custom-frontend-url parameter contains the domain name under which the nextcloud instance can be reached.

Click on this URL, you should reach your nextcloud instance.

Access Nextcloud

You will access your nextcloud with a warning: Access through untrusted domain.

Configure trusted domains

According the information of the sign, you can go to the config file to add the domain on the tap Terminal of your webrunner: 

cd instance/slappart2/srv/www/config/
vim config.php

Then add your domain in 'trusted_domains' . 

Access Nextcloud With Trusted Domain

Refresh the nextcloud page to access your nextcloud without a warning.
Note: the default login and password are: admin/admin