• 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 SOLVED: Unable to scan media for new files

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Unable to scan media for new files

    Scan issues
    Fallen
    Offline

    Junior Member

    Posts: 13
    Threads: 2
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #1
    2024-10-25, 12:24 PM
    I've been using Jellyfin for some weeks now and everything was running great. Until yesterday, I've noticed that new media added is not automatically scanned, nor does doing a manual scan work. Checking the logs, I am seeing this error. 

    2024-10-25 12:06:04.457 +00:00] [ERR] [15] MediaBrowser.Providers.Manager.ProviderManager: Provider "TheMovieDb" failed to retrieve search results
    System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
    ---> System.TimeoutException: A task was canceled.
    ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
      at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken)
      at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
      at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
      at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
      at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
      --- End of inner exception stack trace ---
      --- End of inner exception stack trace ---
      at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
      at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
      at TMDbLib.Rest.RestRequest.SendInternal(HttpMethod method, CancellationToken cancellationToken)
      at TMDbLib.Rest.RestRequest.Get[T](CancellationToken cancellationToken)
      at TMDbLib.Rest.RestRequestExtensions.GetOfT[T](RestRequest request, CancellationToken cancellationToken)
      at TMDbLib.Client.TMDbClient.GetConfigAsync()
      at MediaBrowser.Providers.Plugins.Tmdb.TmdbClientManager.EnsureClientConfigAsync()
      at MediaBrowser.Providers.Plugins.Tmdb.TmdbClientManager.SearchSeriesAsync(String name, String language, Int32 year, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Plugins.Tmdb.TV.TmdbSeriesProvider.GetSearchResults(SeriesInfo searchInfo, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Manager.ProviderManager.GetRemoteSearchResults[TItemType,TLookupType](RemoteSearchQuery
    1 searchInfo, BaseItem referenceItem, CancellationToken cancellationToken)

    This appears true for whatever DB that jellyfin attempts to talk to. Not entirely sure what has changed on my end but i'll note a few things that may help.
    • Recently installed watchtower, which by checking that jellyfin looks to have been updated to version 10.9.11
    • No VPNs are installed, except for tailscale for private remote access (which has been working fine for months).
    • Ubuntu docker server, which is where jellyfin as a docker compose file  is installed, uses standard 'host' network for pretty much all my containers.
    • I am using pihole as a DNS resolver, but that has also been working fine since I installed it months ago.

    I've also checked to see if IPV6 was running, but it is not as noted here in the network configuration for jellyfin. I've also checked and it isn't running on my pfsense router.

      <BaseUrl />
      <EnableHttps>false</EnableHttps>
      <RequireHttps>false</RequireHttps>
      <InternalHttpPort>8096</InternalHttpPort>
      <InternalHttpsPort>8920</InternalHttpsPort>
      <PublicHttpPort>8096</PublicHttpPort>
      <PublicHttpsPort>8920</PublicHttpsPort>
      <AutoDiscovery>true</AutoDiscovery>
      <EnableUPnP>false</EnableUPnP>
      <EnableIPv4>true</EnableIPv4>
      <EnableIPv6>false</EnableIPv6>
      <EnableRemoteAccess>true</EnableRemoteAccess>
      <LocalNetworkSubnets />
      <LocalNetworkAddresses />
      <KnownProxies />
      <IgnoreVirtualInterfaces>true</IgnoreVirtualInterfaces>
      <VirtualInterfaceNames>
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-10-25, 12:49 PM
    Open a bash shell for the container and run this command then share the output.

    Code:
    curl -vvv https://api.tmdb.org

    Also run the same command directly on the host.
    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]
    Fallen
    Offline

    Junior Member

    Posts: 13
    Threads: 2
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #3
    2024-10-25, 01:10 PM
    Jellyfin Container

    * Trying [2600:9000:2119:1800:10:fb02:4000:93a1]:443...
    * Trying 65.8.178.16:443...
    * Connected to api.tmdb.org (65.8.178.16) port 443 (#0)
    * ALPN: offers h2,http/1.1
    * TLSv1.3 (OUT), TLS handshake, Client hello (1):
    * CAfile: /etc/ssl/certs/ca-certificates.crt
    * CApath: /etc/ssl/certs
    * TLSv1.3 (IN), TLS handshake, Server hello (2):
    * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (Nerd-face:
    * TLSv1.3 (IN), TLS handshake, Certificate (11):
    * TLSv1.3 (IN), TLS handshake, CERT verify (15):
    * TLSv1.3 (IN), TLS handshake, Finished (20):
    * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
    * TLSv1.3 (OUT), TLS handshake, Finished (20):
    * SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
    * ALPN: server accepted h2
    * Server certificate:
    * subject: CN=*.tmdb.org
    * start date: Sep 22 00:00:00 2024 GMT
    * expire date: Oct 20 23:59:59 2025 GMT
    * subjectAltName: host "api.tmdb.org" matched cert's "*.tmdb.org"
    * issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M03
    * SSL certificate verify ok.
    * using HTTP/2
    * h2h3 [:method: GET]
    * h2h3 [:path: /]
    * h2h3 [:scheme: https]
    * h2h3 [:authority: api.tmdb.org]
    * h2h3 [user-agent: curl/7.88.1]
    * h2h3 [accept: */*]
    * Using Stream ID: 1 (easy handle 0x5599185e0ce0)
    > GET / HTTP/2
    > Host: api.tmdb.org
    > user-agent: curl/7.88.1
    > accept: */*
    >
    * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
    < HTTP/2 301
    < content-type: text/html
    < content-length: 166
    < location: https://www.themoviedb.org/documentation/api
    < date: Fri, 25 Oct 2024 13:10:18 GMT
    < server: openresty
    < x-cache: Miss from cloudfront
    < via: 1.1 2d1483219a2d9cbbd8a595180a2cbaa8.cloudfront.net (CloudFront)
    < x-amz-cf-pop: MIA3-C4
    < alt-svc: h3=":443"; ma=86400
    < x-amz-cf-id: WwiSFtcWO42eatArR7tjP_8yGKydpfQJx71Px8XzFhuACnAGl0CgIA==
    < vary: Origin
    <
    <html>
    <head><title>301 Moved Permanently</title></head>
    <body>
    <center><h1>301 Moved Permanently</h1></center>
    <hr><center>openresty</center>
    </body>
    </html>
    * Connection #0 to host api.tmdb.org left intact


    Host:
    * Trying [2600:9000:2505:400:10:fb02:4000:93a1]:443...
    * Trying 18.165.53.108:443...
    * Connected to api.tmdb.org (18.165.53.10Nerd-face port 443 (#0)
    * ALPN: offers h2,http/1.1
    * TLSv1.3 (OUT), TLS handshake, Client hello (1):
    * CAfile: /etc/ssl/certs/ca-certificates.crt
    * CApath: /etc/ssl/certs
    * TLSv1.3 (IN), TLS handshake, Server hello (2):
    * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (Nerd-face:
    * TLSv1.3 (IN), TLS handshake, Certificate (11):
    * TLSv1.3 (IN), TLS handshake, CERT verify (15):
    * TLSv1.3 (IN), TLS handshake, Finished (20):
    * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
    * TLSv1.3 (OUT), TLS handshake, Finished (20):
    * SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
    * ALPN: server accepted h2
    * Server certificate:
    * subject: CN=*.tmdb.org
    * start date: Sep 22 00:00:00 2024 GMT
    * expire date: Oct 20 23:59:59 2025 GMT
    * subjectAltName: host "api.tmdb.org" matched cert's "*.tmdb.org"
    * issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M03
    * SSL certificate verify ok.
    * using HTTP/2
    * h2h3 [:method: GET]
    * h2h3 [:path: /]
    * h2h3 [:scheme: https]
    * h2h3 [:authority: api.tmdb.org]
    * h2h3 [user-agent: curl/7.88.1]
    * h2h3 [accept: */*]
    * Using Stream ID: 1 (easy handle 0x64ac885c8ce0)
    > GET / HTTP/2
    > Host: api.tmdb.org
    > user-agent: curl/7.88.1
    > accept: */*
    >
    * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
    < HTTP/2 301
    < content-type: text/html
    < content-length: 166
    < location: https://www.themoviedb.org/documentation/api
    < date: Fri, 25 Oct 2024 13:05:40 GMT
    < server: openresty
    < x-cache: Miss from cloudfront
    < via: 1.1 31033c5cbd748c2dd30a2768ed9c760e.cloudfront.net (CloudFront)
    < x-amz-cf-pop: TPA52-P2
    < alt-svc: h3=":443"; ma=86400
    < x-amz-cf-id: UM-6j0eO-mnPMfORFlRQWTvScLnTK9B0krKsorEWXwXV1Vpx7vYIfQ==
    < vary: Origin
    <
    <html>
    <head><title>301 Moved Permanently</title></head>
    <body>
    <center><h1>301 Moved Permanently</h1></center>
    <hr><center>openresty</center>
    </body>
    </html>
    * Connection #0 to host api.tmdb.org left intact
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-10-25, 01:14 PM
    Ok. So it looks like the host is using IPv6 properly. So you SHOULD enable IPv6 in Jellyfin, which requires restarting Jellyfin.
    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]
    Fallen
    Offline

    Junior Member

    Posts: 13
    Threads: 2
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #5
    2024-10-25, 01:36 PM (This post was last modified: 2024-10-25, 01:44 PM by Fallen. Edited 4 times in total.)
    Alright, I've enabled IPV6 in Jellyfin and restarted but it looks like I'm getting the same error as above:

    [2024-10-25 13:34:59.456 +00:00] [ERR] [15] MediaBrowser.Providers.Manager.ProviderManager: Provider "TheMovieDb" failed to retrieve search results
    System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
    ---> System.TimeoutException: A task was canceled.
    ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
    at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken)
    at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
    at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
    at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
    at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
    --- End of inner exception stack trace ---
    --- End of inner exception stack trace ---
    at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
    at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
    at TMDbLib.Rest.RestRequest.SendInternal(HttpMethod method, CancellationToken cancellationToken)
    at TMDbLib.Rest.RestRequest.Get[T](CancellationToken cancellationToken)
    at TMDbLib.Rest.RestRequestExtensions.GetOfT[T](RestRequest request, CancellationToken cancellationToken)
    at TMDbLib.Client.TMDbClient.GetConfigAsync()
    at MediaBrowser.Providers.Plugins.Tmdb.TmdbClientManager.EnsureClientConfigAsync()
    at MediaBrowser.Providers.Plugins.Tmdb.TmdbClientManager.SearchSeriesAsync(String name, String language, Int32 year, CancellationToken cancellationToken)
    at MediaBrowser.Providers.Plugins.Tmdb.TV.TmdbSeriesProvider.GetSearchResults(SeriesInfo searchInfo, CancellationToken cancellationToken)
    at MediaBrowser.Providers.Manager.ProviderManager.GetRemoteSearchResults[TItemType,TLookupType](RemoteSearchQuery
    1 searchInfo, BaseItem referenceItem, CancellationToken cancellationToken)


    <BaseUrl />
    <EnableHttps>false</EnableHttps>
    <RequireHttps>false</RequireHttps>
    <InternalHttpPort>8096</InternalHttpPort>
    <InternalHttpsPort>8920</InternalHttpsPort>
    <PublicHttpPort>8096</PublicHttpPort>
    <PublicHttpsPort>8920</PublicHttpsPort>
    <AutoDiscovery>true</AutoDiscovery>
    <EnableUPnP>false</EnableUPnP>
    <EnableIPv4>true</EnableIPv4>
    <EnableIPv6>true</EnableIPv6>
    <EnableRemoteAccess>true</EnableRemoteAccess>
    <LocalNetworkSubnets />
    <LocalNetworkAddresses />
    <KnownProxies />
    <IgnoreVirtualInterfaces>true</IgnoreVirtualInterfaces>
    <VirtualInterfaceNames>
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-10-25, 01:49 PM
    Can you configure Jellyfin to bind to your LAN IP, specifically, or disabling Tailscale. Every time I've seen this issue it has been caused by Jellyfin, for whatever reason, trying to send requests on the VPN interface.
    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]
    Fallen
    Offline

    Junior Member

    Posts: 13
    Threads: 2
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #7
    2024-10-25, 02:49 PM
    Hmmm, I set the value for binding a LAN to 0.0.0.0 and that didn't work. Also disabled tailscale and ran another scan, no luck there either.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-10-25, 03:15 PM
    You'd need to specify the actual IP of your LAN interface. 192.168.X.X. or whatever it is. 0.0.0.0 tells jellyfin to bind to all interfaces.
    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]
    Fallen
    Offline

    Junior Member

    Posts: 13
    Threads: 2
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #9
    2024-10-25, 04:48 PM (This post was last modified: 2024-10-25, 05:13 PM by Fallen. Edited 2 times in total.)
    Forgot to add, I've also tried that on my end but still running into that error. Looks like running 0.0.0.0 point to the host that the docker compose image is running on.

    Edit: There appears to be a new error now, not seeing the previous one. Looks like it's based on a different plugin so not sure it's relevant or not.

    [2024-10-25 16:48:15.946 +00:00] [INF] [22] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
    [2024-10-25 16:48:45.947 +00:00] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
    [2024-10-25 16:49:15.950 +00:00] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
    "https://github.com/LizardByte/ThemerrDB/issues/new?assignees=&labels=request-theme&template=theme.yml&title=[MOVIE]:%20Click%20(2006)&database_url=https://www.themoviedb.org/movie/9339"
    System.AggregateException: One or more errors occurred. (A task was canceled.)
    ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
    at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions)
    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
    at Jellyfin.Plugin.Themerr.ThemerrManager.GetYoutubeThemeUrl(String themerrDbUrl, BaseItem item)
    at Jellyfin.Plugin.Themerr.ThemerrManager.ProcessItemTheme(BaseItem item)
    at Jellyfin.Plugin.Themerr.ThemerrManager.UpdateAll()
    at Jellyfin.Plugin.Themerr.ScheduledTasks.ThemerrTasks.ExecuteAsync(IProgress
    1 progress, CancellationToken cancellationToken)
    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
    at Jellyfin.Plugin.Themerr.ScheduledTasks.ThemerrTasks.ExecuteAsync(IProgress1 progress, CancellationToken cancellationToken)
    at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
    at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
    at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.<>c__DisplayClass53_0.<<Execute>b__0>d.MoveNext()
    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
    at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.<>c__DisplayClass53_0.<Execute>b__0()
    at System.Threading.Tasks.Task
    1.InnerInvoke()
    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
    at System.Threading.ThreadPoolWorkQueue.Dispatch()
    at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
    --- End of stack trace from previous location ---
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-10-25, 05:16 PM
    Can you share your full log via pastebin?
    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]
    Pages (2): 1 2 Next »

    « 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