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).
Links
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:
- Install Collabora. Unclear how necessary this is. Default installation options (see first link), and use the
'truenas_default'Certificate
in the Network Configuration. - Create three datasets, one for each of the following: app data, user data, and postgres data. (see second link).
- Set user and group ownership of both the app data and user data datasets to
www-data
. - Set user and group ownership of the postgres data dataset to be netdata (for user) and docker (for group).
- Configure Nextcloud installation… generally follow the tutorial video (first link), but
- There are three datasets that you’ll need to identify in the installation configuration.
- Enable ACL for both the app data and user data datasets.
- Select the
'truenas_default'Certificate
in the Network Configuration. - Install.
Spin up may take some time and YMMV.