• 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 Error in Directory watcher

     
    • 0 Vote(s) - 0 Average

    Error in Directory watcher

    Error in Directory watcher
    jamestk
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    Country:United Kingdom
    #1
    2024-11-11, 06:23 PM
    Hello All

    I am hoping that one of you can assist with a minor issue i have with an error appearing in the JellyFin logs:

    [2024-11-11 18:06:15.927 +00:00] [INF] [8] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "W:\"
    [2024-11-11 18:06:15.927 +00:00] [INF] [12] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "T:\"
    [2024-11-11 18:06:15.927 +00:00] [ERR] [9] Emby.Server.Implementations.IO.LibraryMonitor: Error in Directory watcher for: "W:\" System.ComponentModel.Win32Exception (5): Access is denied.
    [2024-11-11 18:06:15.928 +00:00] [ERR] [14] Emby.Server.Implementations.IO.LibraryMonitor: Error in Directory watcher for: "T:\" System.ComponentModel.Win32Exception (5): Access is denied.
    [2024-11-11 18:06:15.928 +00:00] [INF] [6] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "X:\"
    [2024-11-11 18:06:15.928 +00:00] [INF] [15] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "Y:\"
    [2024-11-11 18:06:15.928 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
    [2024-11-11 18:06:15.929 +00:00] [ERR] [16] Emby.Server.Implementations.IO.LibraryMonitor: Error in Directory watcher for: "X:\" System.ComponentModel.Win32Exception (5): Access is denied.
    [2024-11-11 18:06:15.929 +00:00] [ERR] [17] Emby.Server.Implementations.IO.LibraryMonitor: Error in Directory watcher for: "Y:\" System.ComponentModel.Win32Exception (5): Access is denied.
    [2024-11-11 18:06:15.929 +00:00] [INF] [18] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "Z:\"
    [2024-11-11 18:06:15.937 +00:00] [INF] [9] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "W:\"
    [2024-11-11 18:06:15.941 +00:00] [INF] [14] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "T:\"
    [2024-11-11 18:06:15.950 +00:00] [INF] [16] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "X:\"
    [2024-11-11 18:06:15.952 +00:00] [INF] [17] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "Y:\"

    Operating system: "Microsoft Windows 10.0.19045" (windows 10)
    Architecture: X64
    Jellyfin version: "10.10.0"
    Windows user logged in is member of local admin
    JellyFin is running as an app not as a service
    Media is on a NAS connected to the same local network as the JellyFin PC
    Nas connected to windows via a mapped drive
    The account used to map the drives is a local admin on the NAS

    Looking at the error as it appears in the logs, it would suggest that there is an access issue but if i access the JellyFin portal from any other PC on my netwok and click the "refresh metadata" in one of the librarys, it will pick up the new media and everything works fine.

    Would greatly appreciate any suggestions.

    Kind Regards

    James
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-11-11, 07:14 PM
    Is the user running Jellyfin different than the use that mapped the drive?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    jamestk
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    Country:United Kingdom
    #3
    2024-11-11, 07:51 PM
    Hello

    Yes, the mapped drive is mapped with a different username but that user has full read/write access to the shares.

    Regards
    James
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-11-11, 08:23 PM (This post was last modified: 2024-11-11, 08:23 PM by TheDreadPirate.)
    But jellyfin is not running as the user that mapped the drive. Access is being denied locally instead of remotely. I am pretty sure that the user that Jellyfin is running as needs to map the drive.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    jamestk
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    Country:United Kingdom
    #5
    2024-11-11, 08:25 PM
    Hi

    Okay, I'll try changing the user and drive mapping so that they are all the same user, thank you for your assitance.

    Regards

    James
    jamestk
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    Country:United Kingdom
    #6
    2024-11-11, 08:36 PM
    Thank you TheDreadPirate, that does appear to have resolved the issue.
    « 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