This is my first post and access of this forum so I apologize in advance for anything inappropriate.
Please correct me and point me in the right direction.
I’ve watched many of Tom’s Youtubes on truenas, syncthing, and nextcloud and note how he creates a dataset and maps it to a jail be it nextcloud or syncthing.
I installed both as a plugin/jail in TrueNAS-12.0-U5.1 after which neither has any mount point defined. (OK. Fair enough.)
But I note that with nextcloud (12.2-RELEASE-p10), each nextcloud defined user gets some files/directories WITHIN the nextcloud jail and these installation defined files are duplicates of one another.
They reside in /mnt/pool/iocage/jails/nextcloud/root/usr/local/www/nextcloud/data/user/files.
-
Any comment or thoughts? ie., is it ‘correct’ or ‘normal’ or appropriate to keep files, any files, within the jail rather than mount point mapping them outside?
-
If they ought to be moved out, what is the technique? I’m not fluent with linux terminal commands.
-
What is ‘best practice’ here? should these common files be mapped to a common dataset outside of the jail that all the users can access? or just moved out to datasets unique to each defined user? (or just not moved at all)
-
Nextcloud specific question: Can one sftp or terminal copy/move files or directories into the defined (mount point) mapped location for a given nextcloud defined user? That is, will Nextcloud treat it as if it were sync’ed nextcloud to nextcloud? I have an old nextcloud dataset in a pool in truenas and want to get it into the newest nextcloud version and pool just created.
-
Syncthing specific question. Same a #4 above but for syncthing.
Thank you in advance,
Steve