Jellyfin Forum
SOLVED: Jellyfin no longer updating library in Synology NAS - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Jellyfin no longer updating library in Synology NAS (/t-solved-jellyfin-no-longer-updating-library-in-synology-nas)

Pages: 1 2 3


RE: Jellyfin no longer updating library in Synology NAS - fract - 2024-12-11

same here on synology  920+...
is this related to tvdb and moviedb api format change?

Code:
[2024-12-11 12:29:48.227 +01:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: "6974c48493bc41abad5a218db49ec063"
[2024-12-11 12:29:48.227 +01:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
[2024-12-11 12:29:48.227 +01:00] [INF] [1] Main: Startup complete 0:00:47.2266618
[2024-12-11 12:29:51.592 +01:00] [INF] [36] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "::ffff:192.168.178.38" request
[2024-12-11 12:30:14.499 +01:00] [INF] [36] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/4K Movies/Alien Romulus (2024)/Alien Romulus (2024).REMUX-2160p.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-12-11 12:30:14.499 +01:00] [INF] [10] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/4K Movies/Galaxy Quest (1999)/Galaxy Quest (1999).REMUX-2160p.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-12-11 12:30:16.770 +01:00] [INF] [17] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/4K Movies/Galaxy Quest (1999)/Galaxy Quest (1999).REMUX-2160p.eng.srt\" -threads 0 -v warning -print_format json -show_streams -show_format"
[2024-12-11 12:30:16.804 +01:00] [INF] [17] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/4K Movies/Galaxy Quest (1999)/Galaxy Quest (1999).REMUX-2160p.hrv.srt\" -threads 0 -v warning -print_format json -show_streams -show_format"
[2024-12-11 12:30:17.252 +01:00] [INF] [17] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/4K Movies/Alien Romulus (2024)/Alien Romulus (2024).REMUX-2160p.eng.srt\" -threads 0 -v warning -print_format json -show_streams -show_format"
[2024-12-11 12:30:17.284 +01:00] [INF] [17] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/4K Movies/Alien Romulus (2024)/Alien Romulus (2024).REMUX-2160p.hrv.srt\" -threads 0 -v warning -print_format json -show_streams -show_format"
[2024-12-11 12:31:02.998 +01:00] [INF] [44] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "::ffff:192.168.178.38" request
[2024-12-11 12:32:00.072 +01:00] [INF] [53] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/usbshare2/Plex/UHD/Movies/Godzilla Minus One (2023)/Godzilla Minus One (2023)-REMUX-2160p.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-12-11 12:32:00.150 +01:00] [ERR] [17] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "Probe Provider"
System.Text.Json.JsonException: Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. Path: $ | LineNumber: 1 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 1 | BytePositionInLine: 0.
  at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
  at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
  at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
  at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value, Boolean& isPopulatedValue)
  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)



RE: Jellyfin no longer updating library in Synology NAS - tequila - 2024-12-11

(2024-12-10, 11:25 PM)TheDreadPirate Wrote: If you don't have the TVDB plugin installed, install it, restart jellyfin, then rescan with "replace all metadata".

Thank you for trying to figure this out. Finally it started working.
I do not know if it is due to the TVDB plugin or after I changed the /etc/hosts to change dns for the api.tmdb.org with the ip address from dns checker related to China.
Anyway it got the metadata for the few test files I kept there. Now I will add other files and see if it still work.
Hopefully I wont need to go back to the KODI after this.
Thank you for your support. Thumbs-up Thumbs-up Thumbs-up


RE: Jellyfin no longer updating library in Synology NAS - TheDreadPirate - 2024-12-11

(2024-12-11, 11:37 AM)fract Wrote: same here on synology  920+...
is this related to tvdb and moviedb api format change?

Code:
[2024-12-11 12:29:48.227 +01:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: "6974c48493bc41abad5a218db49ec063"
[2024-12-11 12:29:48.227 +01:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
[2024-12-11 12:29:48.227 +01:00] [INF] [1] Main: Startup complete 0:00:47.2266618
[2024-12-11 12:29:51.592 +01:00] [INF] [36] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "::ffff:192.168.178.38" request
[2024-12-11 12:30:14.499 +01:00] [INF] [36] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/4K Movies/Alien Romulus (2024)/Alien Romulus (2024).REMUX-2160p.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-12-11 12:30:14.499 +01:00] [INF] [10] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/4K Movies/Galaxy Quest (1999)/Galaxy Quest (1999).REMUX-2160p.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-12-11 12:30:16.770 +01:00] [INF] [17] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/4K Movies/Galaxy Quest (1999)/Galaxy Quest (1999).REMUX-2160p.eng.srt\" -threads 0 -v warning -print_format json -show_streams -show_format"
[2024-12-11 12:30:16.804 +01:00] [INF] [17] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/4K Movies/Galaxy Quest (1999)/Galaxy Quest (1999).REMUX-2160p.hrv.srt\" -threads 0 -v warning -print_format json -show_streams -show_format"
[2024-12-11 12:30:17.252 +01:00] [INF] [17] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/4K Movies/Alien Romulus (2024)/Alien Romulus (2024).REMUX-2160p.eng.srt\" -threads 0 -v warning -print_format json -show_streams -show_format"
[2024-12-11 12:30:17.284 +01:00] [INF] [17] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/4K Movies/Alien Romulus (2024)/Alien Romulus (2024).REMUX-2160p.hrv.srt\" -threads 0 -v warning -print_format json -show_streams -show_format"
[2024-12-11 12:31:02.998 +01:00] [INF] [44] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "::ffff:192.168.178.38" request
[2024-12-11 12:32:00.072 +01:00] [INF] [53] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/usbshare2/Plex/UHD/Movies/Godzilla Minus One (2023)/Godzilla Minus One (2023)-REMUX-2160p.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-12-11 12:32:00.150 +01:00] [ERR] [17] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "Probe Provider"
System.Text.Json.JsonException: Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. Path: $ | LineNumber: 1 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed. LineNumber: 1 | BytePositionInLine: 0.
  at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
  at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
  at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
  at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value, Boolean& isPopulatedValue)
  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)

This might be a permissions issue.  It can see the file, but doesn't look like it can read the file.


RE: Jellyfin no longer updating library in Synology NAS - tequila - 2024-12-12

(2024-12-11, 01:45 PM)TheDreadPirate Wrote:
(2024-12-11, 11:37 AM)fract Wrote: same here on synology  920+...
is this related to tvdb and moviedb api format change?

This might be a permissions issue.  It can see the file, but doesn't look like it can read the file.

I did do chmod -777 to the folder before putting it for share, also did the permission from the control panel in shared folder.
Anyway I will try to check again and see if it works smootly or not. Thank you for your time and patience. Crossed-fingers


RE: Jellyfin no longer updating library in Synology NAS - fract - 2024-12-12

(2024-12-11, 01:45 PM)TheDreadPirate Wrote: This might be a permissions issue.  It can see the file, but doesn't look like it can read the file.

no, all folders are :rw for media...
and yes, it sees media, but it cannot identify it...i do see empty entry in gui (same as user tequilla described). but only for last item scanned (in this case . "galaxy quest", no "alien romulus"). 
few days ago i was getting return only from omdb api. today(if i make manual id through media menu) i do see return from tvdb(it takes forever, usualy few seconds) as well. no moviedb. after selecting title, nothing changes, no pictures, no metadata, nothing... same thing for newly added shows or seasons as well. i see season one scanned before this started happening, but for newly added season 2 - nothing....
really strange. i did see post they were playing with api and changed some time formats, i do not know if this is related....

https://forum.jellyfin.org/t-issues-with-themoviedb-metadata-identification


RE: Jellyfin no longer updating library in Synology NAS - TheDreadPirate - 2024-12-12

@fract - The issue with dates has been resolved on TMDB's end. That is no longer relevant.

What is the output of this command?

Code:
curl -vvv https://image.tmdb.org/t/p/original/uqIVJR1fmkiwpcIsIcV0vxiyY4z.jpg -o /tmp/futurama.jpg

From your log it looks like you have some amount of IPv6 on your network. Is IPv6 enabled in Jellyfin?


RE: Jellyfin no longer updating library in Synology NAS - fract - 2024-12-13

(2024-12-12, 02:31 PM)TheDreadPirate Wrote: @fract - The issue with dates has been resolved on TMDB's end.  That is no longer relevant.

What is the output of this command?

Code:
curl -vvv https://image.tmdb.org/t/p/original/uqIVJR1fmkiwpcIsIcV0vxiyY4z.jpg -o /tmp/futurama.jpg

From your log it looks like you have some amount of IPv6 on your network.  Is IPv6 enabled in Jellyfin?

ipv6 is enabled.

one thing to add - what i actually did.
i had previous versions of this movies, but uploaded higher res version - into same folder, with different name. than i deleted older version.
maybe some db conflict? i had no issues with replacing files like that before....

below is output....

Code:
curl -vvv https://image.tmdb.org/t/p/original/uqIVJR1fmkiwpcIsIcV0vxiyY4z.jpg -o /tmp/futurama.jpg                                                                                                                                                                                                      % Total    % Received % Xferd  Average Speed  Time    Time    Time  Current
                                Dload  Upload  Total  Spent    Left  Speed
  0    0    0    0    0    0      0      0 --:--:-- --:--:-- --:--:--    0* TLSv1.0 (OUT), TLS header, Certificate Status (22):
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.2 (IN), TLS header, Certificate Status (22):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.2 (IN), TLS header, Finished (20):
{ [5 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [19 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [3970 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.2 (OUT), TLS header, Finished (20):
} [5 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
> GET /t/p/original/uqIVJR1fmkiwpcIsIcV0vxiyY4z.jpg HTTP/2
> Host: image.tmdb.org
> user-agent: curl/7.86.0
> accept: */*
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [265 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [265 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
< HTTP/2 200
< date: Fri, 13 Dec 2024 10:02:30 GMT
< content-type: image/jpeg
< content-length: 50330
< server: BunnyCDN-DE1-723
< cdn-pullzone: 775336
< cdn-uid: 29af4e0e-bcbd-4fcb-8635-74ddc38a1ebf
< cdn-requestcountrycode: HR
< cache-control: public, max-age=31919000
< etag: "6272f494-c49a"
< last-modified: Wed, 04 May 2022 21:48:04 GMT
< cdn-storageserver: NY-346
< cdn-requestpullsuccess: True
< cdn-fileserver: 266
< perma-cache: HIT
< cdn-proxyver: 1.04
< cdn-requestpullcode: 200
< cdn-cachedat: 08/28/2024 20:02:11
< cdn-edgestorageid: 864
< cdn-status: 200
< cdn-requesttime: 1
< cdn-requestid: bf8659079a98fb94853c2ee3debed1a0
< cdn-cache: HIT
< accept-ranges: bytes
<
{ [15898 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
100 50330  100 50330    0    0  116k      0 --:--:-- --:--:-- --:--:--  117k



RE: Jellyfin no longer updating library in Synology NAS - TheDreadPirate - 2024-12-13

Have you "replaced all metadata" for those movies or the entire library?


RE: Jellyfin no longer updating library in Synology NAS - fract - 2024-12-14

(2024-12-13, 01:52 PM)TheDreadPirate Wrote: Have you "replaced all metadata" for those movies or the entire library?

just for those movies...
not really looking forward to do this for 1500+ movies and shows. Weary-face


RE: Jellyfin no longer updating library in Synology NAS - TheDreadPirate - 2024-12-14

Without seeing your full jellyfin log, I can't say what is actually going on.

You can also try "find missing metadata" on the library and see if Jellyfin pulls in what wasn't pulled in initially.