• 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 Media Scanning & Identification Directory watching stopped working

     
    • 0 Vote(s) - 0 Average

    Directory watching stopped working

    unmesh59
    Offline

    Junior Member

    Posts: 17
    Threads: 5
    Joined: 2024 Feb
    Reputation: 0
    #1
    2024-07-21, 03:49 PM (This post was last modified: 2024-07-21, 03:51 PM by unmesh59. Edited 2 times in total.)
    Directory watching used to work but adding media files to my four media libraries seems to have stopped working. Relevant log entries seem to be:

    [2024-07-19 10:05:17.144 -07:00] [INF] Stopping directory watching for path "/mnt/Syno-Lenovo-1/TV_Shows"
    [2024-07-19 10:05:17.145 -07:00] [INF] Stopping directory watching for path "/mnt/Syno-Lenovo-1/Videos/_English"
    [2024-07-19 10:05:17.150 -07:00] [INF] Stopping directory watching for path "/mnt/Syno-Lenovo-1/Videos/_English for kids"
    [2024-07-19 10:05:17.151 -07:00] [INF] Stopping directory watching for path "/mnt/Syno-Lenovo-1/Videos/_Hindi"

    Manually initiated library scans work fine.

    I'm running 10.9.7 directly on Ubuntu 24.04
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-07-21, 05:18 PM
    Can you share the full jellyfin log via pastebin?

    And can you describe what kind of storage /mnt/Syno-Lenovo-1 is? File system type?
    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]
    unmesh59
    Offline

    Junior Member

    Posts: 17
    Threads: 5
    Joined: 2024 Feb
    Reputation: 0
    #3
    2024-07-21, 05:36 PM
    https://pastebin.com/QbnueLiu via the Jellyfin dashboard

    The file system on the Synology NAS is BTRFS and the network share is via CIFS. FWIW, it used to work and still works manually.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-07-21, 07:26 PM
    It looks like some sort of permissions issue. It can see the files but can't read them?
    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]
    unmesh59
    Offline

    Junior Member

    Posts: 17
    Threads: 5
    Joined: 2024 Feb
    Reputation: 0
    #5
    2024-07-21, 08:33 PM (This post was last modified: 2024-07-21, 08:41 PM by unmesh59. Edited 1 time in total.)
    The Jellyfin clients can play all titles including the ones showing in the log.

    On the server, they are all showing as -rwxr-xr-x 1 root root
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-07-21, 09:30 PM (This post was last modified: 2024-07-21, 09:31 PM by TheDreadPirate. Edited 1 time in total.)
    Are you talking about real time monitoring not working? If so, that should not be enabled for CIFS shares.
    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]
    unmesh59
    Offline

    Junior Member

    Posts: 17
    Threads: 5
    Joined: 2024 Feb
    Reputation: 0
    #7
    2024-07-21, 10:05 PM
    Yes! I had left it at defaults since initial installation and it was working. Is there an alternative?

    Also, I am able to cat the files that are erroring out from a terminal opened to the server but when I run the ffprobe command shown in the log from that terminal, it shows an error

    unmesh59@ubuntuserver24:~$ /usr/lib/jellyfin-ffmpeg/ffprobe -analyzeduration 200M -probesize 1G -i file:\"/mnt/Syno-Lenovo-1/Videos/_English/The Kids Are All Right (2010)/The.Kids.Are.All.Right.2010.720p.BluRay.x264.YIFY.srt\" -threads 0 -v warning -print_format json -show_streams -show_format
    -bash: syntax error near unexpected token `('

    Is this because of the parentheses in the path?

    Where would I find the ffprobe logs?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-07-22, 01:09 AM
    You need to remove the backslashes on the quotes.  Parenthesis are fine as long as they are escaped or in quotes.  Since the quotes are escaped they are not treated as actual quotes, therefore not putting the parenthesis in quotes.  Also, why are you ffprobe-ing a subtitle file?

    ffprobe will just dump a bunch of text.  You can either scroll and copy and paste or output it into a text file.

    Code:
    /usr/lib/jellyfin-ffmpeg/ffprobe -analyzeduration 200M -probesize 1G -i file:"/mnt/Syno-Lenovo-1/Videos/_English/The Kids Are All Right (2010)/The.Kids.Are.All.Right.2010.720p.BluRay.x264.YIFY.srt" -threads 0 -v warning -print_format json -show_streams -show_format > output.txt 2>&1

    Can you run this command and share the output?

    Code:
    ls -ld /mnt/Syno-Lenovo-1 /mnt/Syno-Lenovo-1/Videos /mnt/Syno-Lenovo-1/Videos/_English /mnt/Syno-Lenovo-1/Videos/_English/"The Kids Are All Right (2010)"
    ls -l /mnt/Syno-Lenovo-1/Videos/_English/"The Kids Are All Right (2010)"/*
    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]
    unmesh59
    Offline

    Junior Member

    Posts: 17
    Threads: 5
    Joined: 2024 Feb
    Reputation: 0
    #9
    2024-07-22, 06:02 AM (This post was last modified: 2024-07-22, 06:08 AM by unmesh59. Edited 1 time in total. Edit Reason: Better formatting )
    I pulled the ffprobe invocation out of the log file where it was erroring out. Turns out it might have been related to the encoding format of the .srt file being of type Unicode with BOM. 

    /usr/lib/jellyfin-ffmpeg/ffprobe -analyzeduration 200M -probesize 1G -i file:"/mnt/Syno-Lenovo-1/Videos/_English/The Kids Are All Right (2010)/The.Kids.Are.All.Right.2010.720p.BluRay.x264.YIFY.srt" -threads 0 -v warning -print_format json -show_streams -show_format > output.txt 2>&1


    Code:
    unmesh59@ubuntuserver24:~$ cat output.txt
    {
        "streams": [
            {
                "index": 0,
                "codec_name": "subrip",
                "codec_long_name": "SubRip subtitle",
                "codec_type": "subtitle",
                "codec_tag_string": "[0][0][0][0]",
                "codec_tag": "0x0000",
                "r_frame_rate": "0/0",
                "avg_frame_rate": "0/0",
                "time_base": "1/1000",
                "disposition": {
                    "default": 0,
                    "dub": 0,
                    "original": 0,
                    "comment": 0,
                    "lyrics": 0,
                    "karaoke": 0,
                    "forced": 0,
                    "hearing_impaired": 0,
                    "visual_impaired": 0,
                    "clean_effects": 0,
                    "attached_pic": 0,
                    "timed_thumbnails": 0,
                    "captions": 0,
                    "descriptions": 0,
                    "metadata": 0,
                    "dependent": 0,
                    "still_image": 0
                }
            }
        ],
        "format": {
            "filename": "file:/mnt/Syno-Lenovo-1/Videos/_English/The Kids Are All Right (2010)/The.Kids.Are.All.Right.2010.720p.BluRay.x264.YIFY.srt",
            "nb_streams": 1,
            "nb_programs": 0,
            "format_name": "srt",
            "format_long_name": "SubRip subtitle",
            "size": "117932",
            "probe_score": 100
        }
    }

    As for the file/directory protections:

    Code:
    unmesh59@ubuntuserver24:~$ ls -ld /mnt/Syno-Lenovo-1 /mnt/Syno-Lenovo-1/Videos /mnt/Syno-Lenovo-1/Videos/_English /mnt/Syno-Lenovo-1/Videos/_English/"The Kids Are All Right (2010)"
    drwxr-xr-x 2 root root 0 Jan 28 11:08  /mnt/Syno-Lenovo-1
    drwxr-xr-x 2 root root 0 Jun 27 17:53  /mnt/Syno-Lenovo-1/Videos
    drwxr-xr-x 2 root root 0 Jul 21 17:00  /mnt/Syno-Lenovo-1/Videos/_English
    drwxr-xr-x 2 root root 0 Jul 21 15:11 '/mnt/Syno-Lenovo-1/Videos/_English/The Kids Are All Right (2010)'


    Code:
    unmesh59@ubuntuserver24:~$ ls -l /mnt/Syno-Lenovo-1/Videos/_English/"The Kids Are All Right (2010)"/*
    -rwxr-xr-x 1 root root    130147 Sep  1  2022 '/mnt/Syno-Lenovo-1/Videos/_English/The Kids Are All Right (2010)/fanart.jpg'
    -rwxr-xr-x 1 root root    271053 Sep  1  2022 '/mnt/Syno-Lenovo-1/Videos/_English/The Kids Are All Right (2010)/folder.jpg'
    -rwxr-xr-x 1 root root      8499 Sep  1  2022 '/mnt/Syno-Lenovo-1/Videos/_English/The Kids Are All Right (2010)/movie.nfo'
    -rwxr-xr-x 1 root root 849682722 Sep  1  2022 '/mnt/Syno-Lenovo-1/Videos/_English/The Kids Are All Right (2010)/The.Kids.Are.All.Right.2010.720p.BluRay.x264.YIFY.mp4'
    -rwxr-xr-x 1 root root    117932 Jul 21 15:11 '/mnt/Syno-Lenovo-1/Videos/_English/The Kids Are All Right (2010)/The.Kids.Are.All.Right.2010.720p.BluRay.x264.YIFY.srt'
    unmesh59
    Offline

    Junior Member

    Posts: 17
    Threads: 5
    Joined: 2024 Feb
    Reputation: 0
    #10
    2024-07-23, 06:31 PM
    Directory watching started working again. I swear I didn't make any changes.
    « 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