Get a Quote     (408) 943-4100               TrueNAS Discord      VendOp_Icon_15x15px   Commercial Support Toggle between Light and Dark mode

Installing Nextcloud on SCALE

  4 minute read.

Last Modified 2022-09-27 07:54 -0400

Nextcloud provides a suite of client-server software for creating and using file hosting services. TrueNAS SCALE includes Nextcloud in the catalog of available applications you can install on your system.

Before You Begin

Before using SCALE to install the Nextcloud application you need to configure TrueNAS SCALE storage for Nextcloud application to use.

Set up an account with Nextcloud if you don’t already have one.

Installing Nextcloud

This procedure includes setting up the pool storage for Nextcloud and the basic installation and configuration of the application.

Adding Nextcloud Storage

Nextcloud needs a primary dataset for the application. You can add as many child datasets as your use case requires such as a primary data volume, a postgres data volume (db) and a postgres backup volume (dbbackup), or for extra mount path volume (opt).

You can either create these datasets under an existing dataset you use for applications (apps), or if you have enough disks on your TrueNAS system and want to create a new pool to use just for media files, create a new pool and then add the Nextcloud datasets as child datasets to the root dataset.

To create a new pool, go to Storage and click Create Pool to add a new pool.

To add under an existing dataset, click the   for the dataset where you want to add the Nextcloud datasets, and then select Add Dataset. In our Nextcloud example we use pool tank, parent dataset apps* and then created the *nextcloud* dataset.

Next, select the nextcloud dataset, click   and select Add Dataset to add the child dataset data and click Save.

Installing Nextcloud

Official Applications

Official applications listed on Available Applications are pre-configured to only require a name during deployment.

Installing Nextcloud in SCALE

This procedure installs Nextcloud with basic settings and only one dataset.

Go to Apps to open the Applications screen and then click on the Available Applications tab.

  1. Set the pool SCALE applications use.

    If you have not installed an application yet, SCALE opens the Choose a pool for Apps dialog. Select the pool where you created the Nextcloud dataset from the Pools dropdown list and then click Choose to set the pool for all applications.

    AppsChooseAPoolForApps

    After SCALE finishes configuring the system to use this pool, a confirmation dialog displays. Click Close

  2. Locate the nextcloud widget and then click Install to open the Nextcloud configuration wizard.

    AvailableApplications

  3. Enter a name for the app in Application Name and then click Next. This example uses nextcloud.

    AddNextcloudEnterApplicationName

  4. Enter a user name and password to use as a Nextcloud login on the Nextcloud Configuration settings screen, and then click Next. For a basic installation you can leave the default values in all settings except Username and Password. This example uses admin as the user. TrueNAS populates Nextcloud host with the IP address for your server, Nextcloud data directory with the correct path, and Node Port to use for Nextcloud with the correct port number.

    AddNextcloudUsernameAndPassword

  5. Enter the storage settings for the Nextcloud dataset.

    Enter or browse to the location where you created the nextcloud/data dataset in Host Path for Nextcloud Data Volume. This example uses the /mnt/tank/apps**/nextcloud/data*** path.

    AddNextcloudDataHostPath

    To collapse the directory tree, click the arrow to the left of /mnt. Do not click on /mnt as this changes the path and you have to reselect your dataset This completes the basic storage setup for Nextcloud. Click Next.

  6. (Optional) Select Enable cronjobs for nextcloud on the CronJob configuration screen, and then click Next.

    AddNextcloudEnableCronJobs

  7. Accept the remaining setting defaults and click Next on the Scaling/Upgrade Policy and Advanced DNS Settings screens.

  8. Review the configuration settings and then click Back to fix any errors or Save to complete the installation.

  9. Click on the Installed Applications tab to see the nextcloud widget.

    NextcloudWidgetActive

    When the nextcloud widget displays ACTIVE, click Web Portal to open the Nextcloud sign in screen in a new browser window.

    NextCloudSignIn

Refer to the Nextcloud documentation for details about using the Nextcloud platform:

Related Nextcloud Articles