Jellyfin Forum
Rescan really failed - 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: Rescan really failed (/t-rescan-really-failed)



Rescan really failed - ricks333 - 2024-03-10

Well, I had a library all set up and working. While troubleshooting something else, I issued a full rescan and replace. 

That didn't end well. so I lost all of the art. 

What's interesting is if I select a movie, and select "Identify" and identify it with a "Replace media" it doesn't work (meaning the images don't update to the identified movie), and I get something like this in the log: 


[2024-03-09 22:31:08.679 -05:00] [ERR] [31] MediaBrowser.Providers.Manager.ProviderManager: "OmdbImageProvider" failed in GetImageInfos for type "Movie" at "/data/sync/video.sync/vob/Hidalgo.vob"
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: NotTimeValid
  at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
  at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
  at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
  at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
  --- End of inner exception stack trace ---
  at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)
  at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, 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.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
  at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
  at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
  at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
  at System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsyncCore[T](Task
1 taskResponse, JsonSerializerOptions options, CancellationToken cancellationToken)
  at MediaBrowser.Providers.Plugins.Omdb.OmdbProvider.EnsureItemInfo(String imdbId, CancellationToken cancellationToken)
  at MediaBrowser.Providers.Plugins.Omdb.OmdbProvider.GetRootObject(String imdbId, CancellationToken cancellationToken)
  at MediaBrowser.Providers.Plugins.Omdb.OmdbImageProvider.GetImages(BaseItem item, CancellationToken cancellationToken)
  at MediaBrowser.Providers.Manager.ProviderManager.GetImages(BaseItem item, IRemoteImageProvider provider, String preferredLanguage, Boolean includeAllLanguages, CancellationToken cancellationToken, Nullable`1 type)


RE: Rescan really failed - TheDreadPirate - 2024-03-10

What kind of device is this? Possibly a QNAP NAS?


RE: Rescan really failed - ricks333 - 2024-03-10

(2024-03-10, 05:05 AM)TheDreadPirate Wrote: What kind of device is this?  Possibly a QNAP NAS?
It's Jellyfin running on CentOS

I think I mostly fixed it by updating the ca-certificates

(2024-03-10, 06:27 AM)ricks333 Wrote:
(2024-03-10, 05:05 AM)TheDreadPirate Wrote: What kind of device is this?  Possibly a QNAP NAS?
It's Jellyfin running on CentOS

I think I mostly fixed it by updating the ca-certificates

That said I also see: 
[2024-03-10 01:09:08.232 -05:00] [ERR] [40] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "GET" "/Items/8bc4e75bc956d7a27e55f4e7108956e1/Images/Primary".
System.InvalidOperationException: Operation is not valid due to the current state of the object.

in the logs.


RE: Rescan really failed - TheDreadPirate - 2024-03-10

Updating ca certs was kind of what I was thinking. A lot of older EOL QNAP NASes have this issue.

For the image error you posted, perhaps try rescanning your library and select "Search for missing metadata".