Jellyfin Forum
Jellyfin on TrueNAS Scale (22.12.3) with Docker - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Guides, Walkthroughs & Tutorials (https://forum.jellyfin.org/f-guides-walkthroughs-tutorials)
+--- Thread: Jellyfin on TrueNAS Scale (22.12.3) with Docker (/t-jellyfin-on-truenas-scale-22-12-3-with-docker)



Jellyfin on TrueNAS Scale (22.12.3) with Docker - Sleepercell - 2023-10-07

Hello guys

Finally, I have my own Jellyfin server finished and thought I create a how-to guide, as there are some things to keep in mind. On the website avalon.christianrybovic.ch you will find the documentation and some tips on how to install Jellyfin with Docker on TrueNAS Scale from scratch.

Hardware:
- Supermicro X12SCA-5F
- Intel Xeon W-1370P
- Kingston Server Premier KSM32ED8/32HC 4x32GB
- WD Ultrastar DC HC550 6x18 TB

Software:
- Jellyfin (Docker)
- TrueNAS Scale 22.12.3

Maybe the guide will also help someone solve a problem. Feedback is highly appreciated!


RE: Jellyfin on TrueNAS Scale (22.12.3) with Docker - ZmgwsYzhM2nV - 2023-10-09

OK, here's some feedback: it's the best guide I came across until now and it helped me a lot as a beginning user of TrueNAS, so thanks very much!

Over at the TrueNAS forum I mentioned your guide, I hope you don't mind (maybe you're a forum member there as well?) It seems that there's a lot of confusion about installing an app like Jellyfin on TrueNAS, with conflicting information about the standard Truechart install, how to implement groups and users etc. so I like this very simple approach. I didn't read about your groups/user approach anywhere else. I also have a question about the dataset you use for application data: you use "generic" for the share type (which results in the normal unix permissions editor when editing permissions for this dataset I believe), not "apps" (which would use the acl editor)... any particular reason for that?

You also said that you will use the same approach for audio files, are you going to use/using LMS (Logitech Media Server) for that by any chance? If so, the folks over at the LMS forum would love a guide like this! (Sorry to mention this on the Jellyfin forum Winking-face )

Maybe I have more questions in the future, thanks again!


RE: Jellyfin on TrueNAS Scale (22.12.3) with Docker - Sleepercell - 2023-10-09

Thanks for your feedback and I am glad it helped you.

To your question about the dataset: setting the share type to "Apps" will pre-configure permissions so that the apps user has automatically write access to it, and it also sets some settings like case sensitivity, atime off,... There was no particular reason for me to go with "Generic" instead of "Apps". I just decided to go with the default, but I think both options are fine and should just work as expected.

Right now, I am still unsure with what software to go for music. I didn't hear about Logitech Media Server until now, currently I know only Navidrome. Both look pretty interesting, and even Jellyfin can handle music (but I haven't had any experience with it yet). Need to take a closer look to all possibilities, and yes, maybe create another guide then Winking-face


RE: Jellyfin on TrueNAS Scale (22.12.3) with Docker - elephantLYFE - 2023-10-10

Great Job!
Love to see other write & share documentation for their setups.


RE: Jellyfin on TrueNAS Scale (22.12.3) with Docker - ZmgwsYzhM2nV - 2023-10-10

OK as a former audio pro, let me tell you, as much as I love Jellyfin for video, LMS is the right server for audio, start here: https://forums.slimdevices.com/

(2023-10-09, 03:04 PM)Sleepercell Wrote: Right now, I am still unsure with what software to go for music. I didn't hear about Logitech Media Server until now, currently I know only Navidrome. Both look pretty interesting, and even Jellyfin can handle music (but I haven't had any experience with it yet). Need to take a closer look to all possibilities, and yes, maybe create another guide then Winking-face



RE: Jellyfin on TrueNAS Scale (22.12.3) with Docker - ZmgwsYzhM2nV - 2023-10-19

I have some more questions about your guide, I hope you don't mind:

1. When you create your "video-movies" dataset, why is the ACL Mode set to "restricted" (as per your screen shot)?

2. Why make a new user "jellyfin" and not not use the built-in "apps" user for the Docker container?

3. Why do you create the config and cache directories at the command line instead of making datasets?

4. For transcodes, why not use a memory backed volume (when you configure the docker settings)?

(By the way, I've got LMS working via a container...)


RE: Jellyfin on TrueNAS Scale (22.12.3) with Docker - Sleepercell - 2023-10-19

(2023-10-19, 01:53 AM)ZmgwsYzhM2nV Wrote: 1. When you create your "video-movies" dataset, why is the ACL Mode set to "restricted" (as per your screen shot)?
As far as I know, it is automatically set to restricted because of the selected share type (SMB).
(2023-10-19, 01:53 AM)ZmgwsYzhM2nV Wrote: 2. Why make a new user "jellyfin" and not not use the built-in "apps" user for the Docker container?
Just a personal preference. Every container runs under a dedicated user on my setup. It would also be fine for you to go with the "apps" user.
(2023-10-19, 01:53 AM)ZmgwsYzhM2nV Wrote: 3. Why do you create the config and cache directories at the command line instead of making datasets?
I don't see a reason to split this into multiple datasets. It's just Jellyfin using different folders, therefore, using one dataset for the whole app is OK for me. And I think it may also be simpler to maintain only one dataset instead of multiple.
(2023-10-19, 01:53 AM)ZmgwsYzhM2nV Wrote: 4. For transcodes, why not use a memory backed volume (when you configure the docker settings)?
Great input, thanks for that. Right now, I don't know if there are any downsides, but I will test this setting on my setup and update the guide accordingly.  Thumbs-up
(2023-10-19, 01:53 AM)ZmgwsYzhM2nV Wrote: (By the way, I've got LMS working via a container...)
Then will you create a guide and share it with us? Winking-face


RE: Jellyfin on TrueNAS Scale (22.12.3) with Docker - ZmgwsYzhM2nV - 2024-01-11

(Sorry for the delay...)

So I had it working, but then I tried it with the newest version of SCALE (version 23.10.1 with its kind of dramatically changed UI for things like apps etc.) and initially I could run it only as root, but after trying a few things I can now run it as a normal user. But: if I would follow a similar procedure as described in your guide, it wouldn't work, so now I'm not sure whether I'm doing things the "right" way... So I would like to check my approach with you but since this is the Jellyfin forum and not LMS's, we might use other channels, so can I send you a PM?