Sharing a directory from my DIY Truenas NAS with Nextcloud
Hello to the whole team of the Nextcloud forum
This is my first request for help!
I created a DIY Nas with Truenas Core 12 and installed the Nextcloud 23.01 plugin.
Everything works fine
I looked for the solution on the forum and the doc, but I found nothing on the subject!
I would like to have access to certain Nas directories in Nextcloud to share them with my nextcloud users via the internet with a secure domain name and Letâs Encrypt. but I donât know how to share the Nas directories? I read the doc and I must say that it is not clear to me who is a beginner. If someone has configured their Nas and Nextcloud I would like some advice.
Have a great day and thank you for your help
you can integrate external file systems using âexternal storage supportâ app (I think itâs core). Take care - in the past I found this app caused significant slowdown of the systemâŠ
Thank you for your response wwe,
But I donât know how to share my Nas âPhotosâ directory in Nextcloud. Should I use Webdav or local?
thank you for your reply
I donât know exactly how the TrueNAS Nextcloud plugin usually works, but Iâve found a tutorial that you can check against the way youâve set it up.
Assuming your Nextcloud instance is in a âjailâ as described, youâll need to be sure the folders you want to share are accessible to it (see âCreating the mount points for the jailâ in the tutorial).
Assuming thatâs done, youâll want to use the âLocalâ option Nextcloud, and give it the file paths to those mount points.
SMB, SFTP and WebDAV are alternative options, but Local is nearly always fastest and most robust. Do be careful of files that are changed or added without going through Nextcloud though - you might want to run âocc files:scanâ on a schedule to check for those.
Thank you mactent
Excellent subject it is complete and it answers my problem exactly. I followed the example to the letter and it works. I had tested it before your message, but I had configured the sharing incorrectly and it did not work! A big thank you to you mactent and to the whole community. I wish you a great weekend see you soon Richard