Jellyfin Forum
Can't Read files on NFS share! - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification)
+---- Thread: Can't Read files on NFS share! (/t-can-t-read-files-on-nfs-share)



Can't Read files on NFS share! - waxygen - 2024-08-17

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>



RE: Can't Read files on NFS share! - TheDreadPirate - 2024-08-17

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



RE: Can't Read files on NFS share! - waxygen - 2024-08-17

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/JimsGarage/blob/main/LXC/Jellyfin/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


RE: Can't Read files on NFS share! - TheDreadPirate - 2024-08-17

What are your hardware specs?


RE: Can't Read files on NFS share! - waxygen - 2024-08-18

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


RE: Can't Read files on NFS share! - TheDreadPirate - 2024-08-18

Can you provide screenshots of Dashboard > Playback. And also share an ffmpeg log via pastebin.


RE: Can't Read files on NFS share! - waxygen - 2024-08-18

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.


RE: Can't Read files on NFS share! - TheDreadPirate - 2024-08-18

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.


RE: Can't Read files on NFS share! - waxygen - 2024-08-18

I changed what you told me about. Everything is working fine now. Thank you very much for your help!