• 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 SOLVED: Jellyfin crashes when scanning Library

     
    • 0 Vote(s) - 0 Average

    SOLVED: Jellyfin crashes when scanning Library

    Jellyfin crashes and restarts when trying to scan movie library.
    TheColin21
    Offline

    Junior Member

    Posts: 12
    Threads: 4
    Joined: 2024 Nov
    Reputation: 0
    Country:Germany
    #5
    2024-12-14, 10:53 AM (This post was last modified: 2024-12-14, 10:53 AM by TheColin21.)
    Thanks, I was able to get it working.
    I suppose you just singled them out because they were the last files listed before the crash?
    I continued like this and singled out six files overall that were causing problems. Each an extra from a different BluRay
    Some others still threw errors, for example:
    Code:
    [11:48:41] [INF] [30] MediaBrowser.Providers.MediaInfo.VideoImageProvider: Skipping image extraction due to missing DefaultVideoStreamIndex for /mount/media/Filme/The Grand Budapest Hotel (2014) [imdbid-tt2278388]/extras/The Grand Budapest Hotel_t27.mkv.
    [11:48:42] [ERR] [32] MediaBrowser.Providers.Videos.VideoMetadataService: Error in Probe Provider
    System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
    ---> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
      at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
      at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
      --- End of inner exception stack trace ---
      at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
      at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
      at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.ContinueDeserialize(ReadBufferState& bufferState, JsonReaderState& jsonReaderState, ReadStack& readStack)
      at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.DeserializeAsync(Stream utf8Json, CancellationToken cancellationToken)
      at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
      at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
      at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
    I saw this one quite a lot for different files although I don't know why Jellyfin queries any metadata provider at all for extras.

    This does not really bother me though as it at least doesn't crash the whole Jellyfin server.
    I think there should be some kind of better error handling than restarting the whole server when a scan finds a file that it cannot handle for some reason - especially without obviously alerting the user.
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    Messages In This Thread
    Jellyfin crashes when scanning Library - by TheColin21 - 2024-12-13, 12:40 PM
    RE: Jellyfin crashes when scanning Library - by TheDreadPirate - 2024-12-13, 01:44 PM
    RE: Jellyfin crashes when scanning Library - by TheColin21 - 2024-12-13, 02:32 PM
    RE: Jellyfin crashes when scanning Library - by TheDreadPirate - 2024-12-13, 02:38 PM
    RE: Jellyfin crashes when scanning Library - by TheColin21 - 2024-12-14, 10:53 AM

    • 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