Jellyfin 10.6.0 hangs when retrieving metadata #1915

Closed
opened 2026-02-06 21:29:17 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Enzo-Matrix on GitHub (Jul 21, 2020).

Describe the bug
Two metadata lookup scenario cause jellyfin 10.6.0 to hangs:

  1. When looking up movie metedata, jellyfin will randomly hang on ffmpeg chapter capture. Updates to the log stops and the web UI becomes unresponsive. Both ffmpeg and the jellyfin process remains. Both have to be killed using -9. Subsequently, once jellyfin fails to retrieve metadata for a movie, no new movie content can be added as it will not pass this point.
  2. When looking up TV Shows metadata, jellyfin will randomly hang on ffprobe of the media. The ffprobe process goes away, but jellyfin process remains. If during lookup an ffmpeg chapter image is required, ffmpeg always cause jellyfin to hang. Both the ffmpeg and jellyfin process remains. The same restart process as in item 1 (kill -9) is required to restore jellyfin. Upon restart, the TV show metadata is recognized and new TV content can be added.

System (please complete the following information):

  • OS: Slackware Linux - Current
  • Virtualization: N/A
  • Clients: Browser
  • Browser: Firefox 78.0.2esr
  • Jellyfin Version: 10.6.0
  • Playback: Transcode
  • Installed Plugins: The defaults in 10.6.0 (AudioDB,MusicBrainz, OMDb and TheTVDB)
  • Reverse Proxy: haproxy
  • Base URL: none
  • Networking: N/A
  • Storage: NFS (readonly)

To Reproduce

  1. Find a media with metadata
  2. Select identify
  3. Search by name or media ID
  4. Select the correct title returned. Check "Replace all images"
  5. Click OK.
  6. Jellyfin UI will then hang

Expected behavior

The expected behaviour is the UI will return to the previous screen with the updated metadata for the media.

Logs

[15:15:32] [DBG] [22] MediaBrowser.Providers.Movies.MovieMetadataService: Running FFProbeProvider for /movies/the_rocket/the_rocket.mp4
[15:15:32] [DBG] [22] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: /usr/bin/ffprobe -i file:"/movies/the_rocket/the_rocket.mp4" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format
[15:15:32] [DBG] [22] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting ffprobe with args -i file:"/movies/the_rocket/the_rocket.mp4" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format
[15:15:33] [DBG] [20] MediaBrowser.Providers.Movies.MovieMetadataService: Running MovieNfoProvider for /movies/the_rocket/the_rocket.mp4
[15:15:33] [DBG] [20] MediaBrowser.Providers.Movies.MovieMetadataService: MovieNfoProvider returned no metadata for /movies/the_rocket/the_rocket.mp4
[15:15:33] [DBG] [20] MediaBrowser.Providers.Movies.MovieMetadataService: Running TmdbMovieProvider for /movies/the_rocket/the_rocket.mp4
[15:15:33] [INF] [20] MediaBrowser.Providers.Plugins.Tmdb.Movies.TmdbMovieProvider: TmdbSearch: Finding id for item: the rocket (null)
[15:15:33] [DBG] [22] MediaBrowser.Providers.Movies.MovieMetadataService: Running OmdbItemProvider for /movies/the_rocket/the_rocket.mp4
[15:15:33] [DBG] [22] MediaBrowser.Providers.Movies.MovieMetadataService: Running TmdbImageProvider for /movies/the_rocket/the_rocket.mp4
[15:15:33] [DBG] [22] MediaBrowser.Providers.Movies.MovieMetadataService: Running OmdbImageProvider for /movies/the_rocket/the_rocket.mp4
[15:15:33] [DBG] [22] MediaBrowser.Providers.Movies.MovieMetadataService: Running VideoImageProvider for /movies/the_rocket/the_rocket.mp4
[15:15:33] [DBG] [22] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: /usr/bin/ffmpeg -f mov,mp4,m4a,3gp,3g2,mj2 -ss 00:09:33.731 -i file:"/movies/the_rocket/the_rocket.mp4" -threads 0 -v quiet -vframes 1 -vf "scale=600:trunc(600/dar/2)*2,thumbnail=24" -f image2 "~/.cache/jellyfin/temp/02c09cd3-c90b-4177-bf42-f9c68ee4d76e.jpg"

[1]+ Stopped ~/apps/jellyfin_10.6.0/jellyfin

Originally created by @Enzo-Matrix on GitHub (Jul 21, 2020). **Describe the bug** Two metadata lookup scenario cause jellyfin 10.6.0 to hangs: 1. When looking up movie metedata, jellyfin will randomly hang on ffmpeg chapter capture. Updates to the log stops and the web UI becomes unresponsive. Both ffmpeg and the jellyfin process remains. Both have to be killed using -9. Subsequently, once jellyfin fails to retrieve metadata for a movie, no new movie content can be added as it will not pass this point. 2. When looking up TV Shows metadata, jellyfin will randomly hang on ffprobe of the media. The ffprobe process goes away, but jellyfin process remains. If during lookup an ffmpeg chapter image is required, ffmpeg always cause jellyfin to hang. Both the ffmpeg and jellyfin process remains. The same restart process as in item 1 (kill -9) is required to restore jellyfin. Upon restart, the TV show metadata is recognized and new TV content can be added. **System (please complete the following information):** - OS: Slackware Linux - Current - Virtualization: N/A - Clients: Browser - Browser: Firefox 78.0.2esr - Jellyfin Version: 10.6.0 - Playback: Transcode - Installed Plugins: The defaults in 10.6.0 (AudioDB,MusicBrainz, OMDb and TheTVDB) - Reverse Proxy: haproxy - Base URL: none - Networking: N/A - Storage: NFS (readonly) **To Reproduce** <!-- Steps to reproduce the behavior: --> 1. Find a media with metadata 2. Select identify 3. Search by name or media ID 4. Select the correct title returned. Check "Replace all images" 5. Click OK. 6. Jellyfin UI will then hang **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> The expected behaviour is the UI will return to the previous screen with the updated metadata for the media. **Logs** <!-- Please paste any log errors. --> [15:15:32] [DBG] [22] MediaBrowser.Providers.Movies.MovieMetadataService: Running FFProbeProvider for /movies/the_rocket/the_rocket.mp4 [15:15:32] [DBG] [22] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: /usr/bin/ffprobe -i file:"/movies/the_rocket/the_rocket.mp4" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format [15:15:32] [DBG] [22] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting ffprobe with args -i file:"/movies/the_rocket/the_rocket.mp4" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format [15:15:33] [DBG] [20] MediaBrowser.Providers.Movies.MovieMetadataService: Running MovieNfoProvider for /movies/the_rocket/the_rocket.mp4 [15:15:33] [DBG] [20] MediaBrowser.Providers.Movies.MovieMetadataService: MovieNfoProvider returned no metadata for /movies/the_rocket/the_rocket.mp4 [15:15:33] [DBG] [20] MediaBrowser.Providers.Movies.MovieMetadataService: Running TmdbMovieProvider for /movies/the_rocket/the_rocket.mp4 [15:15:33] [INF] [20] MediaBrowser.Providers.Plugins.Tmdb.Movies.TmdbMovieProvider: TmdbSearch: Finding id for item: the rocket (null) [15:15:33] [DBG] [22] MediaBrowser.Providers.Movies.MovieMetadataService: Running OmdbItemProvider for /movies/the_rocket/the_rocket.mp4 [15:15:33] [DBG] [22] MediaBrowser.Providers.Movies.MovieMetadataService: Running TmdbImageProvider for /movies/the_rocket/the_rocket.mp4 [15:15:33] [DBG] [22] MediaBrowser.Providers.Movies.MovieMetadataService: Running OmdbImageProvider for /movies/the_rocket/the_rocket.mp4 [15:15:33] [DBG] [22] MediaBrowser.Providers.Movies.MovieMetadataService: Running VideoImageProvider for /movies/the_rocket/the_rocket.mp4 [15:15:33] [DBG] [22] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: /usr/bin/ffmpeg -f mov,mp4,m4a,3gp,3g2,mj2 -ss 00:09:33.731 -i file:"/movies/the_rocket/the_rocket.mp4" -threads 0 -v quiet -vframes 1 -vf "scale=600:trunc(600/dar/2)*2,thumbnail=24" -f image2 "~/.cache/jellyfin/temp/02c09cd3-c90b-4177-bf42-f9c68ee4d76e.jpg" [1]+ Stopped ~/apps/jellyfin_10.6.0/jellyfin
OVERLORD added the bug label 2026-02-06 21:29:17 +03:00
Author
Owner

@Enzo-Matrix commented on GitHub (Jul 22, 2020):

This may well be a user issue.
Jellyfin is started in the background using &. If the terminal remains open, when ffmpeg or ffprobe is spawned as a child process, the background jellyfin process stops. Prior to figure this out, I was killing the process with -9. I was able to fg to restore jellyfin when this happens and the ffmpeg or ffprode process continues. I am still unsure why jellyfin stops when spawning child processes. Once the terminal is detached (similar to when jellyfin starts at boot), this issue no longer occurs.

Closing this ticket. Will open another ticket for the adding media issue when metadata lookup fails.

@Enzo-Matrix commented on GitHub (Jul 22, 2020): This may well be a user issue. Jellyfin is started in the background using *&*. If the terminal remains open, when ffmpeg or ffprobe is spawned as a child process, the background jellyfin process stops. Prior to figure this out, I was killing the process with -9. I was able to *fg* <job id> to restore jellyfin when this happens and the ffmpeg or ffprode process continues. I am still unsure why jellyfin stops when spawning child processes. Once the terminal is detached (similar to when jellyfin starts at boot), this issue no longer occurs. Closing this ticket. Will open another ticket for the adding media issue when metadata lookup fails.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#1915