Truenas Nextcloud

Installing Nextcloud on TrueNAS Scale

This is a set of quick notes on how to install Nextcloud (30.0.5) on TrueNAS Scale (Version 23.10.2).

Some quick links provided almost enough info to do it:

  • A tutorial video by lawrencesystems shows an install of an older versions. This alone didn’t quite do it.
    • The video shows a general process with some info on how to set permissions on datasets.
    • The video doesn’t however make enough datasets.
  • A post and thread on the TrueNAS forums.
    • This post shows the permissions you need to have on the datasets, and how many datasets you need (three).
  • Some documentation that this process in a little further detail, with special attention to storage configuration.

Specifics

Steps are as follows:

  1. Install Collabora. Unclear how necessary this is. Default installation options (see first link), and use the 'truenas_default'Certificate in the Network Configuration.
  2. Create three datasets, one for each of the following: app data, user data, and postgres data. (see second link).
  3. Set user and group ownership of both the app data and user data datasets to www-data.
  4. Set user and group ownership of the postgres data dataset to be netdata (for user) and docker (for group).
  5. Configure Nextcloud installation… generally follow the tutorial video (first link), but
  6. There are three datasets that you’ll need to identify in the installation configuration.
  7. Enable ACL for both the app data and user data datasets.
  8. Select the 'truenas_default'Certificate in the Network Configuration.
  9. Install.

Spin up may take some time and YMMV.

Last modified 2025.02.07