Jellyfind stopped recognizing my library after Linux update - 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: Jellyfind stopped recognizing my library after Linux update (/t-jellyfind-stopped-recognizing-my-library-after-linux-update) |
Jellyfind stopped recognizing my library after Linux update - Daniel_King - 2025-01-24 Hello, I'm running Jellyfin on Linux with Portainer. My media is stored on Google Drive and I use Rclone to mount it. This setup worked for quite some time, but after updating my Linux, my library won't be recognized any longer. Some Portainer settings: PGID: 1000 PUID: 1000 Host/volume >> Path in container /media/jellyfin/movies >> /data/Movies /media/jellyfin/shows >> /data/Shows I mounted my corresponding Google Drive folders like this via Rclone: nohup rclone mount gdrive:/ /media/jellyfin/movies --allow-other --buffer-size 64M --dir-cache-time 72h --drive-chunk-size 32M --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off --vfs-cache-mode writes > rclone.log 2>&1 & nohup rclone mount gdrive2:/ /media/jellyfin/shows --allow-other --buffer-size 64M --dir-cache-time 72h --drive-chunk-size 32M --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off --vfs-cache-mode writes > rclone.log 2>&1 & When performing a ls with movies and shows, I see my Google Drive content. So the mounting itself works. Opening up Jellyfin, and trying to add a new library also shows me the /data/Movies and /data/Shows. Just when I perform a library scan or when I want to refresh the metadata, nothing is happening. I have the feeling some permission must be off. Not sure if this is the reason, but when I check the permission with ls -l for my two mounted folders under /media/jellyfin I see this: drwxr-xr-x 1 root root 0 Jan 24 10:59 movies drwxr-xr-x 1 root root 0 Jan 24 10:59 shows As my PGID & PUID are set to 1000 within Docker, could this mismatch be the reason? Thanks in advance. RE: Jellyfind stopped recognizing my library after Linux update - TheDreadPirate - 2025-01-24 Can you share your full Jellyfin logs via privatebin.net? Since you running the container as UID 1000, that would correspond to your user. If your user can see the contents, the container should also have permissions to see the contents. RE: Jellyfind stopped recognizing my library after Linux update - Daniel_King - 2025-01-24 Logs: https://privatebin.net/?51ba6de4cf2e847e#7k57EJdBa8EypUY62JQFcXXh2pqDAeZ47oC87ZKjC2zp PW: TheDreadPirate RE: Jellyfind stopped recognizing my library after Linux update - TheDreadPirate - 2025-01-24 Your cloud storage is inaccessible MOST of the time. I see logs where it appears it can access it and then later it can't. Does rclone generate its own logs that you could look at? RE: Jellyfind stopped recognizing my library after Linux update - Daniel_King - 2025-01-24 I do, but it is more or less empty: nohup: ignoring input I need to check how to activate logs. But how can I have troubles accessing the Drive if the mount works and I can see the files? RE: Jellyfind stopped recognizing my library after Linux update - TheDreadPirate - 2025-01-24 I spoke with a jellyfin dev who uses rclone. You need to add --default-permissions to your rclone command. Otherwise rclone won't enforce linux permissions. They also recommended you create a service instead of relying on nohup. They provided an example service file. Code: # /etc/systemd/system/rclone.service RE: Jellyfind stopped recognizing my library after Linux update - Daniel_King - 2025-01-24 Thanks for the hint. Well, as my setup used to work, I'm not sure if it is just because of the missing Rclone flag. Nevertheless, I added it, it didn't change anything. So I copied one test file directly to the server, and set up another library, just to see if Jellyfin can access the local one. When I was afterwards scanning for the 3 library, out of the blue, my other two libraries started to sync something too. But just one movie and one show got loaded, the test library also loaded the local file. During the scanning process, my VPS got unresponsive and stopped to react. This also happened with second and third try. Now I have the feeling that maybe the hardware (2 cores, 2 GB) of my VPS is not sufficient, and it just worked in the beginning because my library was not that big. Does the service file solution also bring some performance enhancements? RE: Jellyfind stopped recognizing my library after Linux update - TheDreadPirate - 2025-01-24 Yes and no. Yes, it would improve responsiveness on the remote side of the rclone setup as it optimizes caching. But this wouldn't overcome the limitations of your VPS. |