Installing NextCloud On My TrueNas System

Hello everyone I have been looking at installing Nextcloud on my Nas system but I have a question, do I need to create datasets for this application and if so can I do it after installing the NextCloud app

I already have the NextCloud app installed but not sure if I need datasets for this app to run

Thank you

If you don’t use datasets but ixVolume your config and data are not persistent and will get wiped if you e.g. decide to reinstall the app or sometimes even an update can reset your config to default

1 Like

OK but can I add the necessary dataset after the installation and if so how would I know what datasets are needed for this app to run correctly

Thank you

how are you installing nextcloud? ix app, custom app wizard or custom app and your own compose file?

I don’t use ANY datasets specific to Nextcloud, but I am using my own yaml. I just create subdirectories as needed from cli to avoid having a hundred datasets (for 26 apps) which to me becomes unwieldy.

1 Like

I just installed the NextCloud from the app section, just clicked it and installed it

if you edit the app there’s a storage section which should say you’re using iXVolume for:

  • Nextcloud app data
  • Nextcloud user data
  • Nextcloud postgress

These three should be switched to hostpaths to either datasets or one dataset with subdirectories inside one parent dataset.
I’d propably do the same approach as @sfatula. One Datset, i’d propably call it nextcloud and subdirectiries called config userdata and postgress.

1 Like

Yes I was watching a video about these three datasets for NextCloud I will try to figure it out. I’m just concerned I already have NextCloud installed already so I need to figure out how to assign those three datasets to NextCloud…

Thank you

Did you already upload data or create users? If yes, then you most likely will have to manually migrate the data and create a backup of the database and restore it after you’ve made the switch.
If you’ve only just started then there’s nothing to loose.

1 Like

No I have not created and users or uploaded data. I just installed NextCloud and trying to figure things out

Then you should be good to switch it over to hostpaths.

1 Like

Thank you so much for your input I will keep this in mind

Thank you sir I will give it a shot

For the postgress hostpath you should tick the “enable acl” checkbox because otherwise it may get stuck in deploying because the postress database needs specific permissions.

1 Like

What do I switch over to hostpaths?

is it NextCloud?

Everything

Edit all three storage options that now use ixVolume should be switched over to hostpaths

Actually, I use 0 datasets but same idea. I don’t want a dataset per app. I organize them by backup strategy, so, I only have 4 datasets total for 26 apps. Some apps are in one of those 4 (in a subdir) while other might be in 3 of them. Make replication/backup (3-2-1) trivial is my main reason. I use file level security also and not ACLs as I also feel that makes things simpler. Not suggesting anyone else use my method, just saying it’s best for me.

Got it thank you LarsR

As long as it’s working for you it’s probably a good idea to do it like that, I will add a dataset called applications, them places those datasets those datasets within that folder

1 Like

You’re referring to Appdata, Postgresdata, Userdata?