1 hour ago
Hi,
I am having issues with real time monitoring of my libraries.
Jellyfin does not automatically update when files are added in a library folder, but triggering a manual library scan works well.
My set up:
Jellyfin (10.11.3) is hosted in a docker container.
Compose:
At startup I can see in the logs that the Directory Watcher is having permission issues. But after that it still claims to be watching?..:
Listing the permissions/owners of all folders in folder structure in question it looks like this:
I have looked through loads of guides and forum posts, but I haven't seen anything that explains this.
Any ideas? Any more information I can provide?
I am having issues with real time monitoring of my libraries.
Jellyfin does not automatically update when files are added in a library folder, but triggering a manual library scan works well.
My set up:
Jellyfin (10.11.3) is hosted in a docker container.
Compose:
Code:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=1000
- PGID=10
- TZ=${TZ}
volumes:
- /volume1/docker/jellyfin-stack/config/jellyfin:/config
- /volume1/docker/jellyfin-stack/data/cache/jellyfin:/cache
- /volume1/video/tv-shows:/data/media/tv
- /volume1/video/movies:/data/media/movies
ports:
- 8096:8096
- 7359:7359/udp
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
restart: unless-stoppedAt startup I can see in the logs that the Directory Watcher is having permission issues. But after that it still claims to be watching?..:
Code:
[18:23:51] [ERR] [9] Emby.Server.Implementations.IO.LibraryMonitor: Permission error for Directory watcher: /data/media/movies
System.UnauthorizedAccessException: Access to the path '/data/media/movies' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
[18:23:51] [ERR] [15] Emby.Server.Implementations.IO.LibraryMonitor: Permission error for Directory watcher: /data/media/tv
System.UnauthorizedAccessException: Access to the path '/data/media/tv' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
[18:23:51] [INF] [15] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /data/media/tv
[18:23:51] [INF] [9] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /data/media/moviesListing the permissions/owners of all folders in folder structure in question it looks like this:
Code:
ls -ld /volume1 /volume1/video /volume1/video/movies /volume1/video/tv-shows
drwxrwxrwx 1 Adm1n admin 224 Nov 26 18:59 /volume1
drwxrwxrwx 1 Adm1n admin 104 Nov 28 18:19 /volume1/video
drwxrwxrwx 1 Adm1n admin 190 Nov 28 18:19 /volume1/video/movies
drwxrwxrwx 1 Adm1n admin 348 Nov 28 16:44 /volume1/video/tv-showsI have looked through loads of guides and forum posts, but I haven't seen anything that explains this.
Any ideas? Any more information I can provide?
