Тёмный

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

Lawrence Systems
Подписаться 332 тыс.
Просмотров 68 тыс.
50% 1

lawrence.video/truenas
TrueNAS Replication
• TrueNAS 12 ZFS Replica...
Connecting With Us
---------------------------------------------------
+ Hire Us For A Project: lawrencesystems.com/hire-us/
+ Tom Twitter 🐦 / tomlawrencetech
+ Our Web Site www.lawrencesystems.com/
+ Our Forums forums.lawrencesystems.com/
+ Instagram / lawrencesystems
+ Facebook / lawrencesystems
+ GitHub github.com/lawrencesystems/
+ Discord / discord
Lawrence Systems Shirts and Swag
---------------------------------------------------
►👕 lawrence.video/swag
AFFILIATES & REFERRAL LINKS
---------------------------------------------------
Amazon Affiliate Store
🛒 www.amazon.com/shop/lawrences...
UniFi Affiliate Link
🛒 store.ui.com?a_aid=LTS
All Of Our Affiliates that help us out and can get you discounts!
🛒 lawrencesystems.com/partners-...
Gear we use on Kit
🛒 kit.co/lawrencesystems
Use OfferCode LTSERVICES to get 10% off your order at
🛒 lawrence.video/techsupplydirect
Digital Ocean Offer Code
🛒 m.do.co/c/85de8d181725
HostiFi UniFi Cloud Hosting Service
🛒 hostifi.net/?via=lawrencesystems
Protect you privacy with a VPN from Private Internet Access
🛒 www.privateinternetaccess.com...
Patreon
💰 / lawrencesystems
⏱️ 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

Наука

Опубликовано:

 

8 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 108   
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Год назад
lawrence.video/truenas TrueNAS Replication ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-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
@vi_EviL_iv
@vi_EviL_iv Месяц назад
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
@tippocta
@tippocta Год назад
Just moved from Core to Scale so this was perfect timing!. Thanks for putting this together.
@moocrumpus1062
@moocrumpus1062 6 месяцев назад
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!
@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.
@simonsonjh
@simonsonjh Год назад
I've struggled with this app setup for a long time. Now I think I can do it. Thanks.
@dastiffmeister1
@dastiffmeister1 Год назад
Good explanation for the TrueNAS Scale apps setup. My mind boggles at how convoluted the whole process is...
@samlord75
@samlord75 Год назад
Man. had a headache trying resolving this issue and now all good. Many thanx for great videos m8..
@roymorrison1075
@roymorrison1075 Год назад
Thanks Lawrence, really appreciate you taking the time. Very helpful.
@guryushika
@guryushika Год назад
When I see the competition on RU-vid, you are one of the best. Thank you.
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Год назад
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!
@user-dz3qj3zr4m
@user-dz3qj3zr4m Год назад
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.
@MrMichaeldwatson
@MrMichaeldwatson Год назад
This is exactly the video I needed! Thanks for putting this out
@teetertech
@teetertech 9 месяцев назад
Thanks Tom saving the day. Almost gave up on scale because of the updated that broke all my truecharts apps.
@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
@TradersTradingEdge
@TradersTradingEdge Год назад
Exactly what I needed. Tnx very much Tom.
@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.
@user-xc7pf3tn1d
@user-xc7pf3tn1d Год назад
Your example helped me figure it out! Thank you!
@xycor.xycor2112
@xycor.xycor2112 Год назад
Thanks for this Tom. Great informative vid. Very very helpful.
@DarrolKHarris
@DarrolKHarris Год назад
always great educational videos.
@johnhawkins9442
@johnhawkins9442 Год назад
This helped me so much! Thank you.
@xonemasters
@xonemasters 10 месяцев назад
Tom, Just what I was looking for. Thanks This is really useful. Let me rephrase that. ESSENTIAL
@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.
@YokomoHoyo
@YokomoHoyo 5 месяцев назад
Great tutorial. Thanks for this valuable info.
@adamsmith4258
@adamsmith4258 10 месяцев назад
Great video! Thank you
@jfkastner
@jfkastner Год назад
Well done, thanks!
@xJackHunter
@xJackHunter 9 месяцев назад
Man, I wish I found this video 3 days ago. Woulda saved myself many hours of fumbling around
@RiffyDevine
@RiffyDevine Год назад
Thank you for this, I Was getting so pissed off trying to get it to all work till I found this.
@jeresalem
@jeresalem Год назад
Awesome. Thanks.
@BrianAnnis
@BrianAnnis Год назад
Thanks!
@BladeWDR
@BladeWDR Год назад
Great video Tom, but the misspelling on the Syncthing dataset is driving my OCD nuts. XD
@jacobnoori
@jacobnoori Год назад
I was getting frustrated with this new feature. Thank you for this tutorial, Tom.
@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
@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?
@MotownBatman
@MotownBatman Год назад
Im about to try my damnedest to do this again tomorrow!
@salvamipc
@salvamipc Год назад
Hi Tom, great video, can you do a video about nextcloud, foe me using host path, just get stuck on deploy.
@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.
@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.
@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?
@fred7flinstone
@fred7flinstone 13 дней назад
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
@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
@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
@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.
@visghost
@visghost Год назад
and you can somehow install the superdockor 5 application on Scale?
@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.
@Haxity
@Haxity 7 месяцев назад
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 7 месяцев назад
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.
@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?
@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.
@thomaskremer9219
@thomaskremer9219 9 месяцев назад
Hi do you have a video on how to install Photoprism? I can not do it
@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.
@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
@user-rx5kw5gc6o
@user-rx5kw5gc6o Год назад
6:03 how to verify the if it is installed by where and what program?
@themikozee
@themikozee 7 месяцев назад
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.
@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.
@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
@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.
@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.
@dnvr12
@dnvr12 11 месяцев назад
How is your application area so full?. i have nothing in mine
@CampRusso
@CampRusso 11 месяцев назад
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 11 месяцев назад
Not sure what user permissions the TrueCharts app uses.
@CampRusso
@CampRusso 11 месяцев назад
@@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...
@nordischbynature1080
@nordischbynature1080 4 месяца назад
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?
@JustinAlexanderBell
@JustinAlexanderBell Год назад
Would I use this same process for Plex, is this the best practice?
@philosoaper
@philosoaper 7 месяцев назад
so.. how that Cobia has gotten rid of the host path check option.. now what is best?.. just.. PVC?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 7 месяцев назад
PVC is not very manageable so I still prefer host path.
@michaelchatfield9700
@michaelchatfield9700 7 месяцев назад
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 7 месяцев назад
They changed this a bit in the new version 23 of Scale
@Oogobuk
@Oogobuk Год назад
I cant get to a # prompt.... admin only, and sudo doesn't know what the "cd" command is...
@manstateandmemetics284
@manstateandmemetics284 Год назад
Can you do Jellyfin on Truecharts?
@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?
@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.
@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?
@-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 ¯\_(ツ)_/¯
@SR-pr2xz
@SR-pr2xz Год назад
Bluefin was a huge mistake for me. No apps, kernel crashes. Everyone was fine on the version before.
@teddyruxpin3811
@teddyruxpin3811 7 месяцев назад
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 7 месяцев назад
Just that one piece of info relating to the host path. Everything else is relevant. Update since this video was made have removed access.
@oso2k
@oso2k Год назад
You glance over the Kubernetes Host Path Volume terminology but this is otherwise very helpful.
@tylerbenrich
@tylerbenrich Год назад
I had to watch this at 50% speed cause bro SLOW down.
@sevenupyourz
@sevenupyourz 4 месяца назад
synchting LOL
@helpmeget100subs
@helpmeget100subs Год назад
im not getting bluefin tho. what a shame
@2gnospam
@2gnospam Год назад
Thanks!!!
Далее
How To Lock Down And Secure TrueNAS
13:44
Просмотров 57 тыс.
skibidi toilet 76 (part 1)
03:10
Просмотров 15 млн
Fixing my worst TrueNAS Scale mistake!
10:40
Просмотров 127 тыс.
TrueNAS: How To Expand A ZFS Pool
18:42
Просмотров 100 тыс.
6 Crucial Settings to Enable on TrueNAS SCALE
11:16
Просмотров 67 тыс.
Подключил AirPods к Xbox
0:45
Просмотров 24 тыс.