How To Setup TrueNAS Scale Apps With Shares For Host Path Volumes

  Рет қаралды 81,677

Lawrence Systems

Lawrence Systems

Күн бұрын

Пікірлер: 114
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
lawrence.video/truenas TrueNAS Replication kzbin.info/www/bejne/joDQapSCpsdjrpY ⏱ Time Stamps ⏱ 00:00 ▶ TrueNAS Scale Apps 02:24 ▶ Kubernetes Settings & Host Path Safety Check 04:03 ▶ Create Dataset For Config Data 04:56 ▶ Installing Apps 06:03 ▶ Verify App Config Data 06:24 ▶ Reinstalling Apps 07:44 ▶ Creating Shares With App Permissions 08:42 ▶ ACL Permissions Settings 09:56 ▶ Create SMB Share 10:40 ▶ Configure App Host Path Volume #TrueNAS #NAS #storage
@vi_EviL_iv
@vi_EviL_iv 7 ай бұрын
Please make a video for beginners. There are no video tutorials that show and explain the reason why you set it up that way. A video that shows how to install the OS, make pools and explain the differences the pros and cons such as getting 10nic of data transfers (from research, mirror is the best way for speed data transfers and having redundancy), create shares, install plex, add metadata for plex in a NVME drive, add cache drives, and create users if you need it to connect to the network (similar to UNRAID). The goal is to add your videos to share in plex and connect via your computer and outside of network, expand your pool, replace a bad drive, and rebuild data. Basically, it is a friendly beginners tutorial from start to finish and possible to get your videos, add plex, have metadata protected, use an NVME cache drive(s) if needed.
@nikgreenuk
@nikgreenuk Жыл бұрын
Currently evalutating TrueNas on a VM before committing to building my own physical Nas. This was the one area that nearly had me throwing in the towel. I could create SMB shares, I could deploy the apps, but it seemed impossible to get them to see the same dataset. This is definitely one of the best examples of what I would consider to be one of a beginners/novices most wanted features covered in a crystal clear manner. Many thanks. TureNas is now back in contention
@Newtonius_Richthoten
@Newtonius_Richthoten Жыл бұрын
Geeze man, your videos have literally answered the exact questions I've had as I've gone about setting up my homelab, and now you release this video at exactly the same time I was trying to solve this particular issue. That's worthy of a sub right there.
@tippocta
@tippocta Жыл бұрын
Just moved from Core to Scale so this was perfect timing!. Thanks for putting this together.
@guryushika
@guryushika Жыл бұрын
When I see the competition on KZbin, you are one of the best. Thank you.
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
Thank you
@Clarence-Homelab
@Clarence-Homelab Жыл бұрын
Good explanation for the TrueNAS Scale apps setup. My mind boggles at how convoluted the whole process is...
@dustojnikhummer
@dustojnikhummer Жыл бұрын
The host path safety check is the reason why I haven't moved to Bluefin yet. Glad to see it can be installed, even if it feels like IX is throwing sticks under our legs. Thank you!
@James-ln6li
@James-ln6li Жыл бұрын
I made the switch today and it has been interesting. Just a heads up, all of my apps disappeared after install, but once I went and unchecked the "Host path safety check" all my apps magically showed up again (maybe I did a reboot too) and about 80% of them worked right away. I am still trying to figure out why Graphana and Static won't work.
@richardahlquist5839
@richardahlquist5839 Жыл бұрын
Yeah, unfortunately I had not read about this yet. So when I built my nas I started with Bluefin, and have just spent several hours fighting this horrible bit of implementation. About to change to something else tbh this is maddening.
@moocrumpus1062
@moocrumpus1062 Жыл бұрын
The SMB trick creating the user share made my day. I was trying for weeks to make syncthing behave nice in a mulituser setup and this was the key. Thanks!
@AmbientTonez-fr4pw
@AmbientTonez-fr4pw 5 ай бұрын
I love you ! you're OCD and teach correctly. You are the best, I am new to all of this and it has taken me year to build my home nas, I am an IRS EA I have no experience in this type of work and you have truly educated me I appreciate all you do ! Thank you
@tetsujinXLIV
@tetsujinXLIV Жыл бұрын
Thank you for this! Upgrading from Angel Fish to Blue Fin I had an app that wouldn't read anymore due to a permissions thing. Turned out all I had to do was add that apps user you showed. Fixed it!
@RobertWelch-i8h
@RobertWelch-i8h Жыл бұрын
This video was very helpful and got me up an running with plex and jellyfin. Much appreciation on your explanation style as migrating from Core to Scale has had me a bit befuddled.
@johngrabner
@johngrabner Жыл бұрын
Hostpath not recommended for kubernetes because kubernetes run on multiple node and application may not relaunch on same node. Truenas using kubernetes as a docker image manager for a single node makes hostpath not a bad thing. So warning appears out of place for truenas usecase.
@edwinkm2016
@edwinkm2016 Жыл бұрын
In the future they may want to scale out over multiple nodes. That said I am not sure any company want to use a NAS platform to do advanced container deployment. Let’s face it: apps is mainly a consumer thing. iX could make their job much simpler without kubernetis and invest the time in LXC jails and a simple single node container setup.
@teetertech
@teetertech Жыл бұрын
Thanks Tom saving the day. Almost gave up on scale because of the updated that broke all my truecharts apps.
@simonsonjh
@simonsonjh Жыл бұрын
I've struggled with this app setup for a long time. Now I think I can do it. Thanks.
@samlord75
@samlord75 Жыл бұрын
Man. had a headache trying resolving this issue and now all good. Many thanx for great videos m8..
@mikescott4008
@mikescott4008 Жыл бұрын
Thank you as ever. Will be re looking at apps again. Currently running a hypervisor with a lun provided by truenas. Plex etc
@BrianAnnis
@BrianAnnis Жыл бұрын
Thanks!
@roymorrison1075
@roymorrison1075 Жыл бұрын
Thanks Lawrence, really appreciate you taking the time. Very helpful.
@waXsurf
@waXsurf Жыл бұрын
@lawrencesystems You have forgotten one parameter in syncthing. You have to activate "Ignore Permissions" under advanced in the folder settings. Without this it is not possible to sync with another linux machine. You get permission errors when syncing
@nordischbynature1080
@nordischbynature1080 10 ай бұрын
Thanks for your great TrueNAS videos. I tried Syncthing on my TrueNAS Scale 23.10.2 but I can't get it to sync. All sync files and folders get the user apps and I can't access the folder and files. Synchronization is not working and Folders are marked red "Not synchronized" In the Log shows this: 2024-03-08 23:02:50 Puller (folder "Foldername" (Foldername), item "Folder 1/file.sqlite"): syncing: finishing: setting perms on temp file: chmod /Syncthing_Data/Foldername/Folder 1/.syncthing.file.sqlite.tmp: operation not permitted What am I doing wrong?
@fred7flinstone
@fred7flinstone 6 ай бұрын
Thanks for the vid. Very useful and informative. I don't see an option for "Kubernetes Settings & Host Path Safety Check". Instead I have "Enable Integrated Metrics Server". Has that Host Path Safety Check been removed? I am on Dragonfish-24.04.1.1
@edwinkm2016
@edwinkm2016 Жыл бұрын
At 5:18 you mentioned without shared path the data will get lost. Is this really true for iX images? That sound as a really stupid decision because TrueCharts using PVC to avoid this. However when you delete the app it will also delete this hidden PVC “drive”. Not sure if this is user friendly. In most cases where users have lots of app data (aka downloads) you would expect them to also want to use samba/nfs to access the data. So a host path mount is required. Thus In practice when deleting a app you would only delete your config also.
@xJackHunter
@xJackHunter Жыл бұрын
Man, I wish I found this video 3 days ago. Woulda saved myself many hours of fumbling around
@solverz4078
@solverz4078 Жыл бұрын
You forget, for apps that require multiple containers like nextcloud with a db container, redis container etc. You are not given the option to store the extra extra containers storage so they will be stored in a child dataset of ix applications dataset, thus meaning backing up the host path of the main app is not enough to move the application to a new system or even to restore a backup.
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
I did not forget, that is why I tell people to test their setups. Some apps work some don't because they need bugs fixes.
@solverz4078
@solverz4078 Жыл бұрын
@@LAWRENCESYSTEMS agreed; I wish the backup process for apps was more polished in Truenas for situations like the above, so they can be implemented in replication tasks easily and restored on a per app basis.
@dfgdfg_
@dfgdfg_ Жыл бұрын
So you only backup the data from container in a pod? That warning should be right at the start
@solverz4078
@solverz4078 Жыл бұрын
@@dfgdfg_ I do not understand what you are trying to say?, backup data from a container in a pod? You should backup the persistent data which is mapped using persistent volumes etc, or hostpaths in this case. But the point I was making is that some of these apps in Truenas are not all just individual containers, some are stacks of containers, for example nextcloud will also have a db and redis containers created. The option to choose the storage method with these is obfuscated in the GUI which means, choosing hostpath in the GUI will only apply this to the main app container and not the dependency containers and thus backing up the host path is not enough to backup ALL of the apps persistent data.
@nicholash8021
@nicholash8021 Жыл бұрын
@@solverz4078 Presumably Redis is used only for caching, so reinstalling NextCloud should restore that, but the db is a different story. Ideally your DBs are on a separate server and separately backed up and failed-over, but I suppose there is a good performance or low-cost use case to keep it on the same server as the application.
@2dfx
@2dfx Жыл бұрын
Is there an advantage to making the owner of the dataset 'apps' as opposed to adding the user into the ACL or vice-versa as you've shown here?
@15sowens
@15sowens Жыл бұрын
Thank you! 11:15 is the part I've been struggling with since I've installed TrueNAS. What is the difference between the mount path and host path? Following your method worked, I'm just curious to know why there is a /mnt/puddle/Shared_Data and a /Shared_Data.
@basecasefalse
@basecasefalse Жыл бұрын
This is how you map a location on the host machine (truenas), to a location within the container which is running your App. In this case the /mnt/puddle/shared_data on the truenas will be available within the App container at /shared_data. This is a another common notation that will do the same thing in Docker, kubernetes, etc `/mnt/puddle/shared_data:/shared_data`
@15sowens
@15sowens Жыл бұрын
@@basecasefalse So this causes the container to see /shared_data while truenas sees /mnt/puddle/shared_data, but really they are the same location?
@BladeWDR
@BladeWDR Жыл бұрын
Great video Tom, but the misspelling on the Syncthing dataset is driving my OCD nuts. XD
@xonemasters
@xonemasters Жыл бұрын
Tom, Just what I was looking for. Thanks This is really useful. Let me rephrase that. ESSENTIAL
@MrMichaeldwatson
@MrMichaeldwatson Жыл бұрын
This is exactly the video I needed! Thanks for putting this out
@善哥-p6r
@善哥-p6r Жыл бұрын
6:03 how to verify the if it is installed by where and what program?
@АртёмМовланов
@АртёмМовланов Жыл бұрын
Your example helped me figure it out! Thank you!
@johnhawkins9442
@johnhawkins9442 Жыл бұрын
This helped me so much! Thank you.
@TradersTradingEdge
@TradersTradingEdge Жыл бұрын
Exactly what I needed. Tnx very much Tom.
@xycor.xycor2112
@xycor.xycor2112 Жыл бұрын
Thanks for this Tom. Great informative vid. Very very helpful.
@themikozee
@themikozee Жыл бұрын
Quick question. I made a mistake in mapping "additional storage" for an app and even after deleting there is still an app folder wiith a nested log folder inside I can't delete. How do I delete this? There are no log files in this folder or any files for this matter and the app is currently uninstalled.
@RiffyDevine
@RiffyDevine Жыл бұрын
Thank you for this, I Was getting so pissed off trying to get it to all work till I found this.
@sewerchrist7619
@sewerchrist7619 5 ай бұрын
you the man lawrence
@penguinjoe1961
@penguinjoe1961 Ай бұрын
OK, right ofdf the bat on the lastest TruneNAS scale (24.10) , there are no kubernetes settings or advanced settings. just simple settings tyhat don't map to anyhthing you said. How does this help me?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Ай бұрын
Start at the 4 minute mark since the product has changed
@bmv777
@bmv777 Жыл бұрын
When I add "extrahost path volume" , when I push save, I receive the message : "Error: [EINVAL] chart_release_create.extraAppVolumeMounts.0.hostPath: Invalid mount '/mnt/VOL1/Shared_Data' path. Following service(s) use this path: SMB Share" . Please tell me what could be wrong? I use TrueNAS-SCALE-22.12.2 .
@carloschaparro07
@carloschaparro07 Жыл бұрын
I have questions. Is syncing from android to TrueNAS just one way? Just send and not receive? The changes I make are not reflected on the phone.
@DarrolKHarris
@DarrolKHarris Жыл бұрын
always great educational videos.
@dirtybrokkoli
@dirtybrokkoli Жыл бұрын
What exactly is the reason truenas scale uses kubernetes instead of a more simple podman or docker solution? That's the reason i went with pure debian for my nas, since for now i also need to host services on the nas and truenas scale apps seemed kinda complicated
@Jimmy_Jones
@Jimmy_Jones Жыл бұрын
They want get to a clustered server setup in the future. So they are just developing a single node first. The ability to add other nodes will come later.
@sagarsriva
@sagarsriva Жыл бұрын
Thank you. What happens when the share is supposed to be an NFS and SMB both?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
More permissions needed.
@sagarsriva
@sagarsriva Жыл бұрын
@@LAWRENCESYSTEMS ok thanks
@Haxity
@Haxity Жыл бұрын
Do I need to do the same thing if I'm migrating an old pool that contains my apps to an identical pool on Trunas Core? I'm sure the execution would be slightly different but my current setup is a single 12tb drive and I want to copy everything to a Z2 3x14tb pool - I'm afraid to lose anything in the move.
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
There is not any clear way to transfer the apps, but as long as you had the data stored in host paths you can setup your new apps to point to the same place they should work.
@salvamipc
@salvamipc Жыл бұрын
Hi Tom, great video, can you do a video about nextcloud, foe me using host path, just get stuck on deploy.
@ACiDC0re
@ACiDC0re Жыл бұрын
I use TrueNAS Core. If scale would support multipath:/ I have a Broadcom 16 Port SAS HBA. Without multipath each drive is detected as two devices (sda and sdf for example). Even in the BIOS they are listed twice. With multipath in Core I see only one multipath device per drive in the web interface.
@edwinkm2016
@edwinkm2016 Жыл бұрын
Is this a SCALE (implementation) issue or a Linux (driver) problem?
@ACiDC0re
@ACiDC0re Жыл бұрын
@@edwinkm2016 On a post in the TrueNAS forums a user says that multipath is not supported.
@djkazaz
@djkazaz Жыл бұрын
Very useful. Is it better to use a child dataset for each app, or just use a subfolder of a common dataset for all apps? I usually do the 2nd, not sure if it makes a difference?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
I prefer dataset per app because it offers the most flexibility for things like replication & snapshots
@jacobnoori
@jacobnoori Жыл бұрын
I was getting frustrated with this new feature. Thank you for this tutorial, Tom.
@JulesArchinova
@JulesArchinova Жыл бұрын
It is common for docker to add it's rules in first line, ignoring all your filtering rules. What is the behavior on Scale?
@thomaskremer9219
@thomaskremer9219 Жыл бұрын
Hi do you have a video on how to install Photoprism? I can not do it
@dnvr12
@dnvr12 Жыл бұрын
How is your application area so full?. i have nothing in mine
@kealzzzkealzzz6901
@kealzzzkealzzz6901 Жыл бұрын
I know it's likely not requested much bit is there any way you could do a set up video for minecraft Java using the truenas scale truecharts app? I have been seeing and having issues getting plugins to install on the server.
@haithamharbi2239
@haithamharbi2239 4 ай бұрын
Hello Sir, your videos are amazing, can you please make a video about how to create a sync between Google Photos and True Nas scale Share folder?
@Oogobuk
@Oogobuk Жыл бұрын
I cant get to a # prompt.... admin only, and sudo doesn't know what the "cd" command is...
@namerandom2000
@namerandom2000 Жыл бұрын
Can you show how to do this with Jellyfin on Trunas scale? trying to find out how to backup the config/metatdata is so difficult as a noob to linux
@visghost
@visghost Жыл бұрын
and you can somehow install the superdockor 5 application on Scale?
@CampRusso
@CampRusso Жыл бұрын
Is there a version of this out there but using truecharts apps? I was trying a jellyfin truecharts app but its saying access denied for the config path. So maybe I have to change/add apps user and groups?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
Not sure what user permissions the TrueCharts app uses.
@CampRusso
@CampRusso Жыл бұрын
@@LAWRENCESYSTEMS true. No pun intended 😆 I wonder if the app config dataset needs to be something other then generic 🤔 like your video where apps user/group is the owner of a dataset added as additional storage. More googling time...
@michaelchatfield9700
@michaelchatfield9700 Жыл бұрын
I'm lost on where the web portal for the app(s) are. There seems to be scant info in this. Any help appreciated
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
They changed this a bit in the new version 23 of Scale
@philosoaper
@philosoaper Жыл бұрын
so.. how that Cobia has gotten rid of the host path check option.. now what is best?.. just.. PVC?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
PVC is not very manageable so I still prefer host path.
@adamsmith4258
@adamsmith4258 Жыл бұрын
Great video! Thank you
@CProton69
@CProton69 Жыл бұрын
Adding more than one pool into plex say, is a total nightmare. If it's easy why is it so confusing to get to see different pools inside /mnt or /media tho /config works but only one pool is in there. What to do?
@ouadi3e_afarji
@ouadi3e_afarji 4 ай бұрын
Can you explain how to install WordPress and make it available online, I can't find any KZbin video that helps with this matter😒, Thank you
@berndeckenfels
@berndeckenfels Жыл бұрын
So it is shared as smb but the app mount it locally.. (initial explanation sounded like mounting SMB volumes)
@edwinkm2016
@edwinkm2016 Жыл бұрын
Yeah I agree this part was not clear. But no it is not using Samba to mount it. You can optionally add the Samba share for other (windows) systems in your network to see the data. However if you map it to a container AND add a share truenas will refuse the container app to start. Therefor you should disable the checkbox. This error is currently silent and confusing but will be improved next release afaik.
@kennorman3586
@kennorman3586 Жыл бұрын
Home Assistant would not work till Host Path was pointed to /config. Found another YT video where he would add sub-folders /config and /data to the app data set folder.
@charleshopper4638
@charleshopper4638 Жыл бұрын
PLEASE, I beg you, do a video dedicated to the PLEX container install. The app installs just fine but no matter what you do, it errors when trying to create a host storage share of any kind. I just want to create a simple smb share so that my PC can upload the video files. Then I would like the plex container to see those uploads. Should be simple. I get a plex error no matter what I try.
@AizenJoestar42
@AizenJoestar42 Күн бұрын
Hey, have you managed to fix this ? I am currently loosing my mind about this too.
@edditeyib
@edditeyib Жыл бұрын
Hello, have anybody used this method with Plex. in my case plex was not able to access folders in the /Media mounted as external host storage
@JustinAlexanderBell
@JustinAlexanderBell Жыл бұрын
Would I use this same process for Plex, is this the best practice?
@manstateandmemetics284
@manstateandmemetics284 Жыл бұрын
Can you do Jellyfin on Truecharts?
@dustojnikhummer
@dustojnikhummer Жыл бұрын
Wait, IX finished NFSv4 permissions? When I set up my Scale box about a year ago I was told to not touch NFSv4 under any circumstances, just use regular Unix permissions.
@jfkastner
@jfkastner Жыл бұрын
Well done, thanks!
@teddyruxpin3811
@teddyruxpin3811 Жыл бұрын
Is this video outdated? I'm not seeing anything even remotely similar to "Enable custom host path" in my TrueNAS scale app settings.
@KZ-1155
@KZ-1155 Жыл бұрын
Just that one piece of info relating to the host path. Everything else is relevant. Update since this video was made have removed access.
@SR-pr2xz
@SR-pr2xz Жыл бұрын
Bluefin was a huge mistake for me. No apps, kernel crashes. Everyone was fine on the version before.
@MotownBatman
@MotownBatman Жыл бұрын
Im about to try my damnedest to do this again tomorrow!
@JimFeig
@JimFeig Жыл бұрын
Have you made any videos on data recovery from a zfs system? Also how would it be handled if the system used encryption?
@jeresalem
@jeresalem Жыл бұрын
Awesome. Thanks.
@user-xv1vm5xc1f
@user-xv1vm5xc1f Жыл бұрын
im not getting bluefin tho. what a shame
@tylerbenrich
@tylerbenrich Жыл бұрын
I had to watch this at 50% speed cause bro SLOW down.
@-argih
@-argih Жыл бұрын
I would have loved to know about this configuration before dropping 6 TB of data in a dataset made with the default configs, now I will need to move the data between datasets but at least the only thing I will lose is time and some disk durability ¯\_(ツ)_/¯
@2gnospam
@2gnospam Жыл бұрын
Thanks!!!
@oso2k
@oso2k Жыл бұрын
You glance over the Kubernetes Host Path Volume terminology but this is otherwise very helpful.
@sevenupyourz
@sevenupyourz 10 ай бұрын
synchting LOL
How To Lock Down And Secure TrueNAS
13:44
Lawrence Systems
Рет қаралды 61 М.
Truenas Scale install and beginner setup
20:59
LoRes DIY
Рет қаралды 125 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
TrueNAS Scale: A Step-by-Step Guide to Dataset, Shares, and App Permissions
17:03
How To Setup TrueNAS SCALE Applications and Permissions
12:44
Lawrence Systems
Рет қаралды 13 М.
TrueNAS Scale Apps - Official, Unofficial, Docker, and Kubernetes
16:38
Setup Your OWN Cloud with Nextcloud on TrueNAS Scale
10:19
The Hardwarek3r
Рет қаралды 4,2 М.
Fixing my worst TrueNAS Scale mistake!
10:40
Christian Lempa
Рет қаралды 153 М.
Getting the Most Performance out of TrueNAS and ZFS
18:31
Techno Tim
Рет қаралды 125 М.
HomeLab Services Tour 2024 - What Am I Self Hosting?
40:00
Techno Tim
Рет қаралды 522 М.
TrueNAS Core: Configuring Shares, Permissions, Snapshots & Shadow Copies
18:21
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН