Skip to content

Instantly share code, notes, and snippets.

@kstevenson722
Last active August 28, 2023 13:53
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kstevenson722/9e48219775f4237c26e727f687d608b7 to your computer and use it in GitHub Desktop.
Save kstevenson722/9e48219775f4237c26e727f687d608b7 to your computer and use it in GitHub Desktop.
How to Setup NextCloud on TrueNAS

How to Setup NextCloud on TrueNAS

  • Install Plugin

  • Create DataSet

    • Stop plugin
      1. The plugin needs to be stopped before you attach a dataset
      2. Go to storage and add dataset
      3. Set permissions on new dataset
        • User as www
        • Uncheck other permissions
        • Check owner and group to rwx
        • Apply recusively
  • Mount Point

    • Go to Jail and add mount point
    • Set Source to the path of the dataset that was created
    • Set Destination inside jail
      • This will start off at the root of the jail. NextCloud will want the data location to be (Jail Path)/usr/local/www/nextcloud/data. It is going to give an error that the data folder is not empty. Change the last part of the path from data to any other name. Nextcloud will create the folder to store the data.
  • Configure NextCloud

    • Start Plugin
    • Click on Management once the Plugin has started
    • The data folder will be /usr/local/www/nextcloud/NameOfYourFolder
    • Get database username and password for nextcloud
      1. open shell for jail
      2. cat PLUGIN_INFO This will display the Database information to enter into the form.
      3. finish filling out form and submit it.

The NextCloud is setup.

This does not setup a secure instance. I recomend putting a proxy with ssl infront of this.

@srijonisme
Copy link

I have tried this but getting an error. I have tried many ways but can not pass this screen. Can anyone please help me??
Screenshot (65)

@Masterwolf2050
Copy link

I am having this issue too

@Linx-ESP
Copy link

I have it too

@Linx-ESP
Copy link

@hmjahid
Copy link

hmjahid commented Aug 28, 2023

Can't open page using the IP address. Page can't connect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment