Escaping the sprawl (rearchitecting homeprod)

Touched on this in another thread, but have been playing with TrueNAS Scale a bit this weekend. Hit the issue outlined here on like the third step of setting up the environment (install, set up first pool encrypted at parent, then set up apps…). Short version: Don’t set up your apps on an encrypted dataset right now, or you get into a bad state and will probably have to tear it out and start over.

Other landmines:

  • Plex setup took 5 hrs as I fell on top of seemingly every single landmine that exists. On one hand, it’s well documented at this point (once you know what to search for / have error text or behavior in hand), and I ended up learning a bunch about permissions management and the user account translation between charts and the host. On the other hand, when the issue is that well documented, the user account and ID in the container/chart are known, and the permission needed are known… automate the pain away?
  • Still don’t understand why plex needs to be the owner of the entire dataset to even be able to read the media files for a library. Docker/Portainer could just pass :ro on a volume mount in a compose file…
  • Can’t have a dataset be both a SMB share and used by an app at the same time. Currently have to shut one or the other service off to move files in and out, or use them. There’s a box you can uncheck to avoid this, but it comes with a ‘Here Be Dragon’s’ / ‘this is unsupported’ clause on it. Given the apps folder kerfuffle, don’t really want to stray out of this line 'til I know what the consequences are.
  • (Not entirely unexpected, but documenting anyway): Can’t assign a Ryzen’s iGPU to multiple charts (e.g. can’t give igpu to plex and tdarr at the same time). One or the other, not both; only one at a time. Not the end of the world, since I can have the other machines with better GPUs churn the GoPro videos and just let the server host the control node.

So, at least so far… I put ~5hrs into it, tripped over all of these issues, and given the back and forth with the devs on the apps folder issue the wind is kind of out of the proverbial sails with wanting to commit to virtualizing or containerizing anything on this platform (even post-rebuild).

I’ll probably play around with the truecharts repo before I flatten it and start over, but… kinda gravitating back towards separate virtualization host and separate truenas core host, and just let core do the storage stuff it’s great at. We’ll see, maybe TrueCharts is the path to the proverbial promised land, before wandering either entirely off-script or into the two box config.

1 Like