Jump to content

Recommended Posts

Posted
On 12/22/2024 at 10:16 PM, TheBoredDude said:

Hey, I had the same problem where I was able to get Jellfyfin to find the folders but none of the media in the folders. My best guess after doing a bit of poking around is that its a permissions issue. For some reason I was able to fix it by installing Plex. I set Jellyfin up with the same folders that Plex created and it magically worked.

yep, you need to go in the folder's permissions(in truenas ui) and give read/modify access to the "apps" user(thats  the user the truenas applications like plex/jellyfin/etc use) . the folders it creates for plex probably already have those permissions set up

Posted

also, a quick tutorial how i set up Jellyfin:

  1. Create a public folder in HexOS
  2. Go to apps in HexOS, go to Jellyfin, and click Install. It will open TrueNAS UI. user is truenas_admin and password is the HexOS password. (If it sends you to TrueNAS dashboard, go back to HexOS, Jellyfin, and click on Install again)
  3. Under Network Configuration check Host Network
    image.png.38ae8fa6ebbbebb41cbc87f8e476f923.png
  4. Under Additional Storage, click Add, choose Host Path, in Mount Path is how the folder will look in jellyfin, in Host Path find the folder you created in HexOS.
     image.thumb.png.1d03f49fd23ec2996a5e8bc01f0ddf30.png
  5. Thats it for the settings, click Install at the bottom
  6. Now in TrueNAS UI go to Datasets, click on the folder created in HexOS, scroll down to Permissions, and click Edit
    image.thumb.png.75191c1b1e3a0fc40e4c4bf141bd63d4.png
  7. Click Add Item, Who: Group, Group: apps. (you need to scroll at the end once or twice to be able to see full list, then find apps, should be near the end, its not in alphabetical order). Set permissions like in the picture, then click Save Access Control List. Thats it for folder permissions.
    image.thumb.png.d89dba4de1fdc17142f567ec5bf2e019.png
  8. Go to Apps, jellyfin, and click on Web UI. Then from there set up Jellyfin as normal, when u click on +Folders you should be able to see the folder you added in Host Path, /shows in my case. 
    image.thumb.png.3242dfdf80998624084beb40b831f97b.png
  9. Thats it, jellyfin should work as normal now, just as if you set it up on your windows machine.
  • Like 2
  • 3 weeks later...
Posted

I have been messing with getting jellyfin working on the truenas side as well and your post saved me after 3 days of messing around and learning about datasets and permissions. I just want to add one thing, if you have your media in their own folders like me you will need to hit the Apply permissions recursively, hit confirm in the pop up, then hit Apply permissions to child datasets. I am still just learning and messing around with this so if there is a better way feel free to add your input.

Jellyfin Permisions 1.PNG

Jellyfin Permisions 2.PNG

Jellyfin Permisions 3.PNG

  • 3 weeks later...
Posted
On 1/12/2025 at 9:12 PM, JDC2012 said:

I have been messing with getting jellyfin working on the truenas side as well and your post saved me after 3 days of messing around and learning about datasets and permissions. I just want to add one thing, if you have your media in their own folders like me you will need to hit the Apply permissions recursively, hit confirm in the pop up, then hit Apply permissions to child datasets. I am still just learning and messing around with this so if there is a better way feel free to add your input.

Jellyfin Permisions 1.PNG

Jellyfin Permisions 2.PNG

Jellyfin Permisions 3.PNG

Thanks, this and the post above was the last bit I needed to get Jellyfin working

Posted
On 12/13/2024 at 8:04 PM, Maxiboy44 said:

If GPU support is needed, try
 

version: '3.8'
services:
  jellyfin:
    image: jellyfin/jellyfin:latest
    container_name: jellyfin
    runtime: nvidia                 # Enables NVIDIA runtime for hardware acceleration
    deploy:
      resources:
        reservations:
          devices:
            - capabilities: [gpu]  # Access to the GPU for transcoding
    volumes:
      - /mnt/HDDs/media/config:/config  # Configuration and metadata storage
      - /mnt/HDDs/media/movies:/media  # Media directory
    ports:
      - 8096:8096                   # HTTP
      - 8920:8920                   # HTTPS (optional)
    environment:
      - TZ=Europe/Berlin            # Set timezone
      - NVIDIA_VISIBLE_DEVICES=all  # Expose all GPUs to the container
      - NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
    restart: unless-stopped
    networks:
      - jellyfin_network            # Custom network

networks:
  jellyfin_network:
    driver: bridge

 

Thank you for this instruction. I installed jellyfin within 15 minutes. Tnx!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...