Jellyfin Forum
SOLVED: Library scan fail using proxmox lxc and NFS mount - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Library scan fail using proxmox lxc and NFS mount (/t-solved-library-scan-fail-using-proxmox-lxc-and-nfs-mount)



Library scan fail using proxmox lxc and NFS mount - shoooot - 2024-09-13

I installed jellyfin in privileged mode on proxmox using the command below.
bash -c “$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/jellyfin.sh)”
source) https://tteck.github.io/Proxmox/

The file server is using synology 7.2.2, NFS v4.1.

I have 2 issues.

1. the manual library scan doesn't work when there are no files in the directory.
for example)
if I have 3 files in my movies directory and 3 thumbnails are created in the library, and I delete all 3 files in the directory, then when I manually scan again, the 3 thumbnails in the library don't disappear.
But if I do a manual scan with only 1 file left, then there is only 1 thumbnail left and it clears normally.

2. Real-time library monitoring is not working.
fs.inotify.max_user_watches = 4194304
inotifywait -m /data
and so on, but it didn't work.

Can you help me?


RE: Library scan fail using proxmox lxc and NFS mount - TheDreadPirate - 2024-09-13

2. Real time monitoring doesn't work over network shares. NFS, on paper, is supposed to. But in practice it doesn't.

It's possible that the issues with #2 are causing #1.

Turn off real time monitoring with network shares. NFS or CIFS/SMB.


RE: Library scan fail using proxmox lxc and NFS mount - shoooot - 2024-09-13

(2024-09-13, 01:01 PM)TheDreadPirate Wrote: 2.  Real time monitoring doesn't work over network shares.  NFS, on paper, is supposed to.  But in practice it doesn't.

It's possible that the issues with #2 are causing #1.

Turn off real time monitoring with network shares.  NFS or CIFS/SMB.

oh my god

If so, are there any other alternatives?
Like setting up a periodic scan or installing another program.

If the jellyfin server is configured separately from the data server, what is the ideal connection method?


RE: Library scan fail using proxmox lxc and NFS mount - TheDreadPirate - 2024-09-13

Jellyfin has a scheduled task to scan for new media that runs every 12 hours. You can change the frequency.

Dashboard > Scheduled Tasks > Scan Media Library. Open the task, remove the current timer and add a new one (you can't edit existing timers/triggers).

"Ideally" you would direct connect your storage via SATA or NVMe. But that is often not possible for a lot of users.