• 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 Library Realtime Monitoring not working

     
    • 0 Vote(s) - 0 Average

    Library Realtime Monitoring not working

    Dockey
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Nov
    Reputation: 0
    #1
    2025-11-28, 06:03 PM
    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:

    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-stopped

    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?..:

    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/movies

    Listing 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-shows

    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?
    Cap_ca
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2025 Nov
    Reputation: 0
    #2
    Yesterday, 04:37 PM
    I am haveing the exact same problem with the same version of jellyfin. Although I am running the official jellyfin/jellyfin Docker image, not the linuxserver one.

    Are you also on a Ugreen NAS by any chance?
    Dockey
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Nov
    Reputation: 0
    #3
    Yesterday, 07:40 PM
    (Yesterday, 04:37 PM)Cap_ca Wrote: I am haveing the exact same problem with the same version of jellyfin. Although I am running the official jellyfin/jellyfin Docker image, not the linuxserver one.

    Are you also on a Ugreen NAS by any chance?

    Yes, this is running on a Ugreen NASync DXP4800 Plus.

    I have lots of other docker containers running on the same system (Radarr, Sonarr, qBittorrent, Prowlarr, Bazarr, Jellyseerr, Homarr), but none of the other solutions have any issues.

    Please let me know if you figure anything out Smiling-face
    Cap_ca
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2025 Nov
    Reputation: 0
    #4
    Today, 12:34 AM
    (Yesterday, 07:40 PM)Dockey Wrote: Yes, this is running on a Ugreen NASync DXP4800 Plus.

    We are running the exact same machine then. 

    I wasn’t able to solve the issue unfortunately, but I know from experience with other docker containers in UGOS that you sometimes have to explicitly grant read/write permissions to your user for shared folders that are mounted as docker volumes. Even if the user under which the container is running is an administrator and already has the required permissions as part of that group membership. 

    I tried that here too but it did not help. I also made sure in an ssh session that the library folder that is causing the error and all its subfolders are owned by the user that runs the container.
    LiveTrash
    Offline

    Junior Member

    Posts: 5
    Threads: 3
    Joined: 2025 Sep
    Reputation: 0
    Country:Canada
    #5
    Today, 02:41 AM
    I had the same problem and decided to take matters in to my own hands.

    With the assistance of ChatGPT I now have a script that will trigger a library refresh when media is imported.

    I'm not at my PC, but when I am tomorrow after work, I'll check back in here and provide the rest of the info I have and how to set it up.
    « 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