SOLVED: Unable to scan media for new files - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification) +---- Thread: SOLVED: Unable to scan media for new files (/t-solved-unable-to-scan-media-for-new-files) Pages:
1
2
|
Unable to scan media for new files - Fallen - 2024-10-25 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.TaskCompletionSourceWithCancellation 1.WaitWithCancellationAsync(CancellationToken cancellationToken) 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.
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> RE: Unable to scan media for new files - TheDreadPirate - 2024-10-25 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. RE: Unable to scan media for new files - Fallen - 2024-10-25 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 (: * 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.10 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 (: * 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 RE: Unable to scan media for new files - TheDreadPirate - 2024-10-25 Ok. So it looks like the host is using IPv6 properly. So you SHOULD enable IPv6 in Jellyfin, which requires restarting Jellyfin. RE: Unable to scan media for new files - Fallen - 2024-10-25 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.TaskCompletionSourceWithCancellation 1.WaitWithCancellationAsync(CancellationToken cancellationToken) 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> RE: Unable to scan media for new files - TheDreadPirate - 2024-10-25 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. RE: Unable to scan media for new files - Fallen - 2024-10-25 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. RE: Unable to scan media for new files - TheDreadPirate - 2024-10-25 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. RE: Unable to scan media for new files - Fallen - 2024-10-25 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.Task 1.GetResultCore(Boolean waitCompletionNotification) 1 progress, CancellationToken cancellationToken)at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at Jellyfin.Plugin.Themerr.ScheduledTasks.ThemerrTasks.ExecuteAsync(IProgress 1 progress, CancellationToken cancellationToken) 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 --- RE: Unable to scan media for new files - TheDreadPirate - 2024-10-25 Can you share your full log via pastebin? |