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.
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
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.
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!
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.
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.
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!
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
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!
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.
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.
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.
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 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_ 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.
@@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.
@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
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
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?
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.
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`
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
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.
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.
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.
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.
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.
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.
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.
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 .
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?
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.
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?
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.
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 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...
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.
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?
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 ¯\_(ツ)_/¯
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.
lawrence.video/truenas
TrueNAS Replication
ruclips.net/video/XOm9aLqb0x4/видео.html
⏱ 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
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.
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
Just moved from Core to Scale so this was perfect timing!. Thanks for putting this together.
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.
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!
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.
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.
When I see the competition on RUclips, you are one of the best. Thank you.
Thank you
Good explanation for the TrueNAS Scale apps setup.
My mind boggles at how convoluted the whole process is...
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!
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
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!
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.
I've struggled with this app setup for a long time. Now I think I can do it. Thanks.
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.
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.
Man. had a headache trying resolving this issue and now all good. Many thanx for great videos m8..
Thanks Tom saving the day. Almost gave up on scale because of the updated that broke all my truecharts apps.
Man, I wish I found this video 3 days ago. Woulda saved myself many hours of fumbling around
Thanks Lawrence, really appreciate you taking the time. Very helpful.
Thank you as ever. Will be re looking at apps again. Currently running a hypervisor with a lun provided by truenas. Plex etc
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.
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.
@@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.
So you only backup the data from container in a pod? That warning should be right at the start
@@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.
@@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.
@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
Great video Tom, but the misspelling on the Syncthing dataset is driving my OCD nuts. XD
This is exactly the video I needed! Thanks for putting this out
I was getting frustrated with this new feature. Thank you for this tutorial, Tom.
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?
Tom, Just what I was looking for. Thanks This is really useful. Let me rephrase that. ESSENTIAL
Your example helped me figure it out! Thank you!
Thank you for this, I Was getting so pissed off trying to get it to all work till I found this.
This helped me so much! Thank you.
you the man lawrence
Thanks for this Tom. Great informative vid. Very very helpful.
Exactly what I needed.
Tnx very much Tom.
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
always great educational videos.
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?
I prefer dataset per app because it offers the most flexibility for things like replication & snapshots
Thank you. What happens when the share is supposed to be an NFS and SMB both?
More permissions needed.
@@LAWRENCESYSTEMS ok thanks
Hi Tom, great video, can you do a video about nextcloud, foe me using host path, just get stuck on deploy.
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.
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`
@@basecasefalse So this causes the container to see /shared_data while truenas sees /mnt/puddle/shared_data, but really they are the same location?
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
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.
It is common for docker to add it's rules in first line, ignoring all your filtering rules. What is the behavior on Scale?
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.
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.
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.
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.
Is this a SCALE (implementation) issue or a Linux (driver) problem?
@@edwinkm2016 On a post in the TrueNAS forums a user says that multipath is not supported.
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.
Great video! Thank you
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.
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 .
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.
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?
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
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?
How is your application area so full?. i have nothing in mine
Thanks!
Well done, thanks!
Hi do you have a video on how to install Photoprism? I can not do it
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.
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?
Start at the 4 minute mark since the product has changed
I cant get to a # prompt.... admin only, and sudo doesn't know what the "cd" command is...
Would I use this same process for Plex, is this the best practice?
and you can somehow install the superdockor 5 application on Scale?
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.
so.. how that Cobia has gotten rid of the host path check option.. now what is best?.. just.. PVC?
PVC is not very manageable so I still prefer host path.
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?
Not sure what user permissions the TrueCharts app uses.
@@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...
I'm lost on where the web portal for the app(s) are. There seems to be scant info in this. Any help appreciated
They changed this a bit in the new version 23 of Scale
Awesome. Thanks.
So it is shared as smb but the app mount it locally.. (initial explanation sounded like mounting SMB volumes)
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.
6:03 how to verify the if it is installed by where and what program?
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?
Thanks!!!
Can you explain how to install WordPress and make it available online, I can't find any RUclips video that helps with this matter😒,
Thank you
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
Im about to try my damnedest to do this again tomorrow!
Is this video outdated? I'm not seeing anything even remotely similar to "Enable custom host path" in my TrueNAS scale app settings.
Just that one piece of info relating to the host path. Everything else is relevant.
Update since this video was made have removed access.
I had to watch this at 50% speed cause bro SLOW down.
Can you do Jellyfin on Truecharts?
Bluefin was a huge mistake for me. No apps, kernel crashes. Everyone was fine on the version before.
Have you made any videos on data recovery from a zfs system? Also how would it be handled if the system used encryption?
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 ¯\_(ツ)_/¯
im not getting bluefin tho. what a shame
You glance over the Kubernetes Host Path Volume terminology but this is otherwise very helpful.
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.
synchting LOL