• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Media Scanning & Identification Can't Read files on NFS share!

     
    • 0 Vote(s) - 0 Average

    Can't Read files on NFS share!

    need help with NFS sharesin proxmox LXC
    waxygen
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Bahrain
    #1
    2024-08-17, 03:22 PM
    I have setup share on my a LXC on proxmox. The LXC itself can access all the files on the share. I have setup jellyfin using docker compose but jellyfin can't access the files of the NFS shares.

    Code:
    docker-compose.yml
    Content:
    Code:
    services:
      jellyfin:
        image: jellyfin/jellyfin
        container_name: jellyfin
        group_add:
          - '107'
        environment:
          - TZ=Europe/London
        volumes:
          - ./jellyfin/config:/config
          - ./jellyfin/cache:/cache
          - /mnt/Anime-NFS
          - /mnt/Movies-NFS
          - /mnt/Shows-NFS
        ports: # You will need to uncomment if you aren't running through a proxy
          - 8096:8096
          - 8920:8920 #optional
          - 7359:7359/udp #optional
          - 1900:1900/udp #optional
        devices: # uncomment these and amend if you require GPU accelerated transcoding
          - /dev/dri/renderD128:/dev/dri/renderD128
        restart: always

    LXC
    Code:
    ls -l /mnt
    Output:
    Code:
    total 42
    drwxrwx---+  6 nobody nogroup  6 Aug 17 01:35 Anime-NFS
    drwxrwx---+ 31 nobody nogroup 31 Aug 17 02:47 Movies-NFS
    drwxrwx---+  4 nobody nogroup  4 Aug 16 22:37 Shows-NFS

    Proxmox host
    Code:
    etc/fstab
    Content:
    Code:
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    192.168.100.40:/mnt/vdev-1/Media-Server/Anime /mnt/lxc_shares/Anime-NFS nfs defaults>
    192.168.100.40:/mnt/vdev-1/Media-Server/Movies /mnt/lxc_shares/Movies-NFS nfs defaul>
    192.168.100.40:/mnt/vdev-1/Media-Server/Shows /mnt/lxc_shares/Shows-NFS nfs defaults>


    Attached Files Thumbnail(s)
       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-08-17, 08:03 PM
    Your docker compose isn't using the same paths as /etc/fstab. Nor are you specifying a host side:container side for that volume.

    Code:
    - /mnt/lxc_shares/Anime-NFS:/mnt/Anime-NFS
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    waxygen
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Bahrain
    #3
    2024-08-17, 09:51 PM
    Thank you for your help. What you suggested was true. The docker path was not in the right format. I needed to mount it to the container using what you suggested by specifying a host and a container side host:container.

    I ran into another problem though, hardware acceleration is not working when I enable it in the GUI. I couldn't get it to work using the containerized jellyfin so I tried installing it directly on my LXC and still no luck no matter what setting I change in the GUI.

    I used this tutorial to passthrough the GPU to my LXC: https://www.youtube.com/watch?v=0ZDr5h52OOE, codes available at https://github.com/JamesTurland/JimsGara.../readme.md . I'm pretty sure that I have done everything correctly.
    Output for:
    Code:
    ls /dev/dri
    is:
    Code:
    renderD128

    NOTE: I have not changed any configuration files after installing jellyfin only GUI settings
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-08-17, 10:06 PM
    What are your hardware specs?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    waxygen
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Bahrain
    #5
    2024-08-18, 09:01 AM
    Sorry time zones got on our way.
    Here are my specs:
    Ubuntu 24.04 LTS (LXC)
    i3-8100
    asus tuf z390-plus gaming
    32GB DDR4
    GTX1650
    Storage
    2x Crucial BX500
    2x HGST Ultrastar He8 HUH728080ALE601 8TB
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-08-18, 03:24 PM
    Can you provide screenshots of Dashboard > Playback. And also share an ffmpeg log via pastebin.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    waxygen
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Bahrain
    #7
    2024-08-18, 04:57 PM (This post was last modified: 2024-08-18, 05:12 PM by waxygen. Edited 2 times in total.)
    Playback Settings: https://imgur.com/a/x4OdN4Y
    ffmpeg log: https://pastebin.com/PUNRAvkC

    I have also tried using both NVENC and Intel QuickSync in transcoding settings as I'm not sure which GPU I have shared to the LXC and it's probably my Intel iGPU.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-08-18, 07:41 PM
    Switch to Intel Quick Sync. UNCHECK AV1, check MPEG2, VP8, and VP9.

    Change your device passthrough to just pass in /dev/dri in its entirety. The Intel driver will auto select the first available Intel GPU.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    waxygen
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Bahrain
    #9
    2024-08-18, 08:30 PM
    I changed what you told me about. Everything is working fine now. Thank you very much for your help!
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode