SynoCommunity / spksrc

Cross compilation framework to create native packages for the Synology's NAS
https://synocommunity.com
Other
3.02k stars 1.23k forks source link

Unable to start Radarr after upgrade to 20220513-17 #5271

Closed mreid-tt closed 2 years ago

mreid-tt commented 2 years ago

Is this a new Bug?

Package Name

radarr

Package Version

20220513-17

Device Model

DS916+

Device Architecture

x86_64

Firmware Version

7.0.1-42218 Update 3

What happened?

Performed a package update from 20210708-15 to 20220513-17 and this was performed successfully and retained the previous configuration. There was however an error on the main screen - "Error parsing column 8 (Language=34 - Int64)". Then an in-app update was performed to the latest release (i.e. 4.1.0.6175) and after restarting, the package failed to start (as reported by the Package Center.

Reproduction steps

1. Download and install (manually) the previous package for radarr (i.e. Version 20210311-15)
2. Within radarr, update to the latest release (i.e. 4.1.0.6175)
3. Restore a configuration backup (same version with file name `radarr_backup_v4.1.0.6175_*.zip`)
4. Confirm configurations are present
5. Within the DSM Package Center update from 20210708-15 to 20220510-17
6. Observe error message `Error parsing column 8 (Language=34 - Int64)` on launch
7. Within radarr, update to the latest release (i.e. 4.1.0.6175)
8. Observe that package failed to start in the DSM Package Center

Install Log

[Not Found]

Service Log

`/var/packages/radarr/var/radarr.log`

Sat May 14 02:40:08 ADT 2022
Starting radarr command env HOME=/volume1/@appdata/radarr LD_LIBRARY_PATH=/volume1/@appstore/radarr/lib /volume1/@appstore/radarr/share/Radarr/bin/Radarr 
[Info] Bootstrap: Starting Radarr - /volume1/@appstore/radarr/share/Radarr/bin/Radarr - Version 3.2.2.5080 
[Info] Router: Application mode: Interactive 
[Info] MigrationController: *** Migrating data source=/volume1/@appdata/radarr/.config/Radarr/radarr.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 
[Info] MigrationController: *** Migrating data source=/volume1/@appdata/radarr/.config/Radarr/logs.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 
[Info] WebHostController: Listening on the following URLs: 
[Info] WebHostController:   http://*:8310 
[Info] RadarrBootstrapper: Starting Web Server 
[Info] CommandExecutor: Starting 2 threads for tasks. 
[Info] RssSyncService: Starting RSS Sync 
[Warn] HttpClient: HTTP Error - Res: [GET] http://localhost:8080/api?mode=queue&start=0&limit=0&apikey=930200ed1bd448b5b78588a6e261670e&output=json: 403.Forbidden
API Key Incorrect 
[Warn] DownloadMonitoringService: Unable to retrieve queue and history items from SABnzbd 

[---snip---]

[Info] RssSyncService: RSS Sync Completed. Reports found: 500, Reports grabbed: 0 
[Info] InstallUpdateService: Downloading update 4.1.0.6175 
[Info] InstallUpdateService: Verifying update package 
[Info] InstallUpdateService: Update package verified successfully 
[Info] InstallUpdateService: Extracting Update package 
[Info] InstallUpdateService: Update package extracted successfully 
[Info] BackupService: Starting Backup 
[Info] InstallUpdateService: Preparing client 
[Info] InstallUpdateService: Starting update client /volume1/@apptemp/radarr/radarr_update/Radarr.Update 
[Info] InstallUpdateService: Radarr will restart shortly. 
[Warn] HttpClient: HTTP Error - Res: [GET] http://localhost:8080/api?mode=get_config&apikey=930200ed1bd448b5b78588a6e261670e&output=json: 403.Forbidden
API Key Incorrect 
[Error] CommandExecutor: Error occurred while executing task RefreshMovie 

[---snip---]

[Error] DownloadDecisionMaker: Couldn't process release. 

[v3.2.2.5080] System.Data.DataException: Error parsing column 60 (MediaInfo={
  "rawStreamData": "{    \u0022streams\u0022: [        {            \u0022index\u0022: 0,            \u0022codec_name\u0022: \u0022h264\u0022,            \u0022codec_long_name\u0022: \u0022H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\u0022,            \u0022profile\u0022: \u0022High\u0022,            \u0022codec_type\u0022: \u0022video\u0022,            \u0022codec_tag_string\u0022: \u0022x264\u0022,            \u0022codec_tag\u0022: \u00220x34363278\u0022,            \u0022width\u0022: 1280,            \u0022height\u0022: 536,            \u0022coded_width\u0022: 1280,            \u0022coded_height\u0022: 536,            \u0022closed_captions\u0022: 0,            \u0022film_grain\u0022: 0,            \u0022has_b_frames\u0022: 2,            \u0022sample_aspect_ratio\u0022: \u00221:1\u0022,            \u0022display_aspect_ratio\u0022: \u0022160:67\u0022,            \u0022pix_fmt\u0022: \u0022yuv420p\u0022,            \u0022level\u0022: 41,            \u0022chroma_location\u0022: \u0022left\u0022,            \u0022field_order\u0022: \u0022progressive\u0022,            \u0022refs\u0022: 1,            \u0022is_avc\u0022: \u0022true\u0022,            \u0022nal_length_size\u0022: \u00224\u0022,            \u0022r_frame_rate\u0022: \u002224000/1001\u0022,            \u0022avg_frame_rate\u0022: \u002224000/1001\u0022,            \u0022time_base\u0022: \u00221/1000\u0022,            \u0022start_pts\u0022: 0,            \u0022start_time\u0022: \u00220:00:00.000000\u0022,            \u0022bits_per_raw_sample\u0022: \u00228\u0022,            \u0022extradata_size\u0022: 42,            \u0022disposition\u0022: {                \u0022default\u0022: 1,                \u0022dub\u0022: 0,                \u0022original\u0022: 0,                \u0022comment\u0022: 0,                \u0022lyrics\u0022: 0,                \u0022karaoke\u0022: 0,                \u0022forced\u0022: 0,                \u0022hearing_impaired\u0022: 0,                \u0022visual_impaired\u0022: 0,                \u0022clean_effects\u0022: 0,                \u0022attached_pic\u0022: 0,                \u0022timed_thumbnails\u0022: 0,                \u0022captions\u0022: 0,                \u0022descriptions\u0022: 0,                \u0022metadata\u0022: 0,                \u0022dependent\u0022: 0,                \u0022still_image\u0022: 0            },            \u0022tags\u0022: {                \u0022BPS-eng\u0022: \u00224535829\u0022,                \u0022DURATION-eng\u0022: \u002202:09:23.756000000\u0022,                \u0022NUMBER_OF_FRAMES-eng\u0022: \u0022186144\u0022,                \u0022NUMBER_OF_BYTES-eng\u0022: \u00224401883969\u0022,                \u0022_STATISTICS_WRITING_APP-eng\u0022: \u0022mkvmerge v22.0.0 (\u0027At The End Of The World\u0027) 64-bit\u0022,                \u0022_STATISTICS_WRITING_DATE_UTC-eng\u0022: \u00222019-09-18 10:30:28\u0022,                \u0022_STATISTICS_TAGS-eng\u0022: \u0022BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\u0022            }        },        {            \u0022index\u0022: 1,            \u0022codec_name\u0022: \u0022dts\u0022,            \u0022codec_long_name\u0022: \u0022DCA (DTS Coherent Acoustics)\u0022,            \u0022profile\u0022: \u0022DTS\u0022,            \u0022codec_type\u0022: \u0022audio\u0022,            \u0022codec_tag_string\u0022: \u0022[0][0][0][0]\u0022,            \u0022codec_tag\u0022: \u00220x0000\u0022,            \u0022sample_fmt\u0022: \u0022fltp\u0022,            \u0022sample_rate\u0022: \u002248000\u0022,            \u0022channels\u0022: 6,            \u0022channel_layout\u0022: \u00225.1(side)\u0022,            \u0022bits_per_sample\u0022: 0,            \u0022r_frame_rate\u0022: \u00220/0\u0022,            \u0022avg_frame_rate\u0022: \u00220/0\u0022,            \u0022time_base\u0022: \u00221/1000\u0022,            \u0022start_pts\u0022: 0,            \u0022start_time\u0022: \u00220:00:00.000000\u0022,            \u0022bit_rate\u0022: \u00221536000\u0022,            \u0022disposition\u0022: {                \u0022default\u0022: 1,                \u0022dub\u0022: 0,                \u0022original\u0022: 0,                \u0022comment\u0022: 0,                \u0022lyrics\u0022: 0,                \u0022karaoke\u0022: 0,                \u0022forced\u0022: 0,                \u0022hearing_impaired\u0022: 0,                \u0022visual_impaired\u0022: 0,                \u0022clean_effects\u0022: 0,                \u0022attached_pic\u0022: 0,                \u0022timed_thumbnails\u0022: 0,                \u0022captions\u0022: 0,                \u0022descriptions\u0022: 0,                \u0022metadata\u0022: 0,                \u0022dependent\u0022: 0,                \u0022still_image\u0022: 0            },            \u0022tags\u0022: {                \u0022language\u0022: \u0022eng\u0022,                \u0022BPS-eng\u0022: \u00221508999\u0022,                \u0022DURATION-eng\u0022: \u002202:09:23.766000000\u0022,                \u0022NUMBER_OF_FRAMES-eng\u0022: \u0022727853\u0022,                \u0022NUMBER_OF_BYTES-eng\u0022: \u00221464440236\u0022,                \u0022_STATISTICS_WRITING_APP-eng\u0022: \u0022mkvmerge v22.0.0 (\u0027At The End Of The World\u0027) 64-bit\u0022,                \u0022_STATISTICS_WRITING_DATE_UTC-eng\u0022: \u00222019-09-18 10:30:28\u0022,                \u0022_STATISTICS_TAGS-eng\u0022: \u0022BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\u0022            }        }    ],    \u0022format\u0022: {        \u0022filename\u0022: \u0022/volume1/video/Movies/Spider-Man Far from Home (2019)/Spider-Man Far from Home (Bluray-720p).mkv\u0022,        \u0022nb_streams\u0022: 2,        \u0022nb_programs\u0022: 0,        \u0022format_name\u0022: \u0022matroska,webm\u0022,        \u0022format_long_name\u0022: \u0022Matroska / WebM\u0022,        \u0022start_time\u0022: \u00220:00:00.000000\u0022,        \u0022duration\u0022: \u00222:09:23.766000\u0022,        \u0022size\u0022: \u00225868577051\u0022,        \u0022bit_rate\u0022: \u00226047144\u0022,        \u0022probe_score\u0022: 100,        \u0022tags\u0022: {            \u0022encoder\u0022: \u0022libebml v1.3.5 \u002B libmatroska v1.4.8\u0022,            \u0022creation_time\u0022: \u00222019-09-18T10:30:28.000000Z\u0022        }    }}",
  "schemaRevision": 10,
  "containerFormat": "matroska,webm",
  "videoFormat": "h264",
  "videoCodecID": "x264",
  "videoProfile": "High",
  "videoBitrate": 0,
  "videoBitDepth": 8,
  "videoMultiViewCount": 1,
  "videoHdrFormat": "none",
  "height": 536,
  "width": 1280,
  "audioFormat": "dts",
  "audioCodecID": "[0][0][0][0]",
  "audioProfile": "DTS",
  "audioBitrate": 1536000,
  "runTime": "02:09:23.7660000",
  "audioStreamCount": 1,
  "audioChannels": 6,
  "audioChannelPositions": "5.1(side)",
  "videoFps": 23.976023976023976023976023976,
  "audioLanguages": [
    "eng"
  ],
  "subtitles": [],
  "scanType": "Progressive"
} - String)
 ---> System.Text.Json.JsonException: The JSON value could not be converted to System.String. Path: $.audioLanguages | LineNumber: 22 | BytePositionInLine: 21.
 ---> System.InvalidOperationException: Cannot get the value of a token type 'StartArray' as a string.
   at System.Text.Json.Utf8JsonReader.GetString()
   at System.Text.Json.JsonPropertyInfo`1.ReadJsonAndSetMember(Object obj, ReadStack& state, Utf8JsonReader& reader)
   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)
   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, Utf8JsonReader& reader, Exception ex)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadCore[TValue](Utf8JsonReader& reader, Type returnType, JsonSerializerOptions options)
   at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, Type returnType, JsonSerializerOptions options)
   at Dapper.SqlMapper.TypeHandler`1.Dapper.SqlMapper.ITypeHandler.Parse(Type destinationType, Object value) in /_/Dapper/SqlMapper.TypeHandler.cs:line 42
   at Dapper.SqlMapper.TypeHandlerCache`1.Parse(Object value) in /_/Dapper/SqlMapper.TypeHandlerCache.cs:line 23
   at Deserialize850d5deb-9474-4982-8266-49be6c1cc374(IDataReader )
   --- End of inner exception stack trace ---
   at Dapper.SqlMapper.ThrowDataException(Exception ex, Int32 index, IDataReader reader, Object value) in /_/Dapper/SqlMapper.cs:line 3665
   at Deserialize850d5deb-9474-4982-8266-49be6c1cc374(IDataReader )
   at Dapper.SqlMapper.<>c__DisplayClass160_0`8.<GenerateMapper>b__3(IDataReader r)
   at Dapper.SqlMapper.MultiMapImpl[TFirst,TSecond,TThird,TFourth,TFifth,TSixth,TSeventh,TReturn](IDbConnection cnn, CommandDefinition command, Delegate map, String splitOn, IDataReader reader, Identity identity, Boolean finalize)+MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.MultiMap[TFirst,TSecond,TThird,TFourth,TFifth,TSixth,TSeventh,TReturn](IDbConnection cnn, String sql, Delegate map, Object param, IDbTransaction transaction, Boolean buffered, String splitOn, Nullable`1 commandTimeout, Nullable`1 commandType)
   at NzbDrone.Core.Datastore.SqlMapperExtensions.Query[TFirst,TSecond,TThird,TFourth,TFifth,TReturn](IDatabase db, String sql, Func`6 map, Object param, IDbTransaction transaction, Boolean buffered, String splitOn, Nullable`1 commandTimeout, Nullable`1 commandType)
   at NzbDrone.Core.Datastore.SqlMapperExtensions.QueryJoined[T,T2,T3,T4,T5](IDatabase db, SqlBuilder builder, Func`6 mapper)
   at NzbDrone.Core.Movies.MovieRepository.FindByMovieTitles(List`1 titles)
   at NzbDrone.Core.Movies.MovieRepository.FindByTitles(List`1 titles)
   at NzbDrone.Core.Movies.MovieService.FindByTitleCandidates(String title, String& arabicTitle, String& romanTitle)
   at NzbDrone.Core.Parser.ParsingService.TryGetMovieByTitleAndOrYear(ParsedMovieInfo parsedMovieInfo, MappingResult& result)
   at NzbDrone.Core.Parser.ParsingService.GetMovie(ParsedMovieInfo parsedMovieInfo, String imdbId, SearchCriteriaBase searchCriteria)
   at NzbDrone.Core.Parser.ParsingService.Map(ParsedMovieInfo parsedMovieInfo, String imdbId, SearchCriteriaBase searchCriteria)
   at NzbDrone.Core.DecisionEngine.DownloadDecisionMaker.GetDecisions(List`1 reports, SearchCriteriaBase searchCriteria)+MoveNext()
SQL: 
==== Begin Query Trace ====

QUERY TEXT:
SELECT Movies.*, Profiles.*, AlternativeTitles.*, MovieFiles.*, MovieTranslations.*
 FROM Movies 
JOIN Profiles ON ("Movies"."ProfileId" = "Profiles"."Id")

LEFT JOIN AlternativeTitles ON ("Movies"."Id" = "AlternativeTitles"."MovieId")
LEFT JOIN MovieFiles ON ("Movies"."Id" = "MovieFiles"."MovieId")
LEFT JOIN MovieTranslations ON ("Movies"."Id" = "MovieTranslations"."MovieId")
 WHERE ("Movies"."CleanTitle" IN @Clause5_P1)

PARAMETERS:
Clause5_P1 = [[
  "spidermanfarfromhome"
]]

==== End Query Trace ====

[Error] HousekeepingService: Error running housekeeping task: DeleteBadMediaCovers 

[v3.2.2.5080] System.Data.DataException: Error parsing column 8 (Language=34 - Int64)
 ---> System.ArgumentException: ID does not match a known language (Parameter 'id')
   at NzbDrone.Core.Languages.Language.FindById(Int32 id) in D:\a\1\s\src\NzbDrone.Core\Languages\Language.cs:line 163
   at Dapper.SqlMapper.TypeHandler`1.Dapper.SqlMapper.ITypeHandler.Parse(Type destinationType, Object value) in /_/Dapper/SqlMapper.TypeHandler.cs:line 42
   at Dapper.SqlMapper.TypeHandlerCache`1.Parse(Object value) in /_/Dapper/SqlMapper.TypeHandlerCache.cs:line 23
   at Deserialize7505518d-8cb3-4420-b83e-1301f911f7b2(IDataReader )
   --- End of inner exception stack trace ---
   at Dapper.SqlMapper.ThrowDataException(Exception ex, Int32 index, IDataReader reader, Object value) in /_/Dapper/SqlMapper.cs:line 3665
   at Deserialize7505518d-8cb3-4420-b83e-1301f911f7b2(IDataReader )
   at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at NzbDrone.Core.Datastore.SqlMapperExtensions.Query[T](IDatabase db, String sql, Object param)
   at NzbDrone.Core.Datastore.BasicRepository`1.Query(SqlBuilder builder)
   at NzbDrone.Core.Movies.MovieRepository.All()
   at NzbDrone.Core.Movies.MovieService.GetAllMovies()
   at NzbDrone.Core.Housekeeping.Housekeepers.DeleteBadMediaCovers.Clean()
   at NzbDrone.Core.Housekeeping.HousekeepingService.Clean()
SQL: 
==== Begin Query Trace ====

QUERY TEXT:
SELECT AlternativeTitles.*
 FROM AlternativeTitles       

PARAMETERS:

==== End Query Trace ====

[Error] DownloadDecisionMaker: Couldn't process release. 

[v3.2.2.5080] System.Data.DataException: Error parsing column 60 (MediaInfo={
  "rawStreamData": "{    \u0022streams\u0022: [        {            \u0022index\u0022: 0,            \u0022codec_name\u0022: \u0022h264\u0022,            \u0022codec_long_name\u0022: \u0022H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\u0022,            \u0022profile\u0022: \u0022High\u0022,            \u0022codec_type\u0022: \u0022video\u0022,            \u0022codec_tag_string\u0022: \u0022x264\u0022,            \u0022codec_tag\u0022: \u00220x34363278\u0022,            \u0022width\u0022: 1280,            \u0022height\u0022: 536,            \u0022coded_width\u0022: 1280,            \u0022coded_height\u0022: 536,            \u0022closed_captions\u0022: 0,            \u0022film_grain\u0022: 0,            \u0022has_b_frames\u0022: 2,            \u0022sample_aspect_ratio\u0022: \u00221:1\u0022,            \u0022display_aspect_ratio\u0022: \u0022160:67\u0022,            \u0022pix_fmt\u0022: \u0022yuv420p\u0022,            \u0022level\u0022: 41,            \u0022color_range\u0022: \u0022tv\u0022,            \u0022color_space\u0022: \u0022bt709\u0022,            \u0022color_transfer\u0022: \u0022bt709\u0022,            \u0022color_primaries\u0022: \u0022bt709\u0022,            \u0022chroma_location\u0022: \u0022left\u0022,            \u0022field_order\u0022: \u0022progressive\u0022,            \u0022refs\u0022: 1,            \u0022is_avc\u0022: \u0022true\u0022,            \u0022nal_length_size\u0022: \u00224\u0022,            \u0022r_frame_rate\u0022: \u002224000/1001\u0022,            \u0022avg_frame_rate\u0022: \u002224000/1001\u0022,            \u0022time_base\u0022: \u00221/1000\u0022,            \u0022start_pts\u0022: 0,            \u0022start_time\u0022: \u00220:00:00.000000\u0022,            \u0022bits_per_raw_sample\u0022: \u00228\u0022,            \u0022extradata_size\u0022: 46,            \u0022disposition\u0022: {                \u0022default\u0022: 1,                \u0022dub\u0022: 0,                \u0022original\u0022: 0,                \u0022comment\u0022: 0,                \u0022lyrics\u0022: 0,                \u0022karaoke\u0022: 0,                \u0022forced\u0022: 0,                \u0022hearing_impaired\u0022: 0,                \u0022visual_impaired\u0022: 0,                \u0022clean_effects\u0022: 0,                \u0022attached_pic\u0022: 0,                \u0022timed_thumbnails\u0022: 0,                \u0022captions\u0022: 0,                \u0022descriptions\u0022: 0,                \u0022metadata\u0022: 0,                \u0022dependent\u0022: 0,                \u0022still_image\u0022: 0            },            \u0022tags\u0022: {                \u0022language\u0022: \u0022eng\u0022,                \u0022BPS\u0022: \u00227810381\u0022,                \u0022DURATION\u0022: \u002201:55:50.944000000\u0022,                \u0022NUMBER_OF_FRAMES\u0022: \u0022166656\u0022,                \u0022NUMBER_OF_BYTES\u0022: \u00226786190349\u0022,                \u0022_STATISTICS_WRITING_APP\u0022: \u0022mkvmerge v67.0.0 (\u0027Under Stars\u0027) 64-bit\u0022,                \u0022_STATISTICS_WRITING_DATE_UTC\u0022: \u00222022-04-24 19:15:38\u0022,                \u0022_STATISTICS_TAGS\u0022: \u0022BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\u0022            }        },        {            \u0022index\u0022: 1,            \u0022codec_name\u0022: \u0022ac3\u0022,            \u0022codec_long_name\u0022: \u0022ATSC A/52A (AC-3)\u0022,            \u0022codec_type\u0022: \u0022audio\u0022,            \u0022codec_tag_string\u0022: \u0022[0][0][0][0]\u0022,            \u0022codec_tag\u0022: \u00220x0000\u0022,            \u0022sample_fmt\u0022: \u0022fltp\u0022,            \u0022sample_rate\u0022: \u002248000\u0022,            \u0022channels\u0022: 6,            \u0022channel_layout\u0022: \u00225.1(side)\u0022,            \u0022bits_per_sample\u0022: 0,            \u0022r_frame_rate\u0022: \u00220/0\u0022,            \u0022avg_frame_rate\u0022: \u00220/0\u0022,            \u0022time_base\u0022: \u00221/1000\u0022,            \u0022start_pts\u0022: 0,            \u0022start_time\u0022: \u00220:00:00.000000\u0022,            \u0022bit_rate\u0022: \u0022640000\u0022,            \u0022disposition\u0022: {                \u0022default\u0022: 1,                \u0022dub\u0022: 0,                \u0022original\u0022: 0,                \u0022comment\u0022: 0,                \u0022lyrics\u0022: 0,                \u0022karaoke\u0022: 0,                \u0022forced\u0022: 0,                \u0022hearing_impaired\u0022: 0,                \u0022visual_impaired\u0022: 0,                \u0022clean_effects\u0022: 0,                \u0022attached_pic\u0022: 0,                \u0022timed_thumbnails\u0022: 0,                \u0022captions\u0022: 0,                \u0022descriptions\u0022: 0,                \u0022metadata\u0022: 0,                \u0022dependent\u0022: 0,                \u0022still_image\u0022: 0            },            \u0022tags\u0022: {                \u0022language\u0022: \u0022eng\u0022,                \u0022title\u0022: \u0022AC3 DD5.1 640kbs\u0022,                \u0022BPS\u0022: \u0022640000\u0022,                \u0022DURATION\u0022: \u002201:55:50.976000000\u0022,                \u0022NUMBER_OF_FRAMES\u0022: \u0022217218\u0022,                \u0022NUMBER_OF_BYTES\u0022: \u0022556078080\u0022,                \u0022_STATISTICS_WRITING_APP\u0022: \u0022mkvmerge v67.0.0 (\u0027Under Stars\u0027) 64-bit\u0022,                \u0022_STATISTICS_WRITING_DATE_UTC\u0022: \u00222022-04-24 19:15:38\u0022,                \u0022_STATISTICS_TAGS\u0022: \u0022BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\u0022            }        },        {            \u0022index\u0022: 2,            \u0022codec_name\u0022: \u0022ac3\u0022,            \u0022codec_long_name\u0022: \u0022ATSC A/52A (AC-3)\u0022,            \u0022codec_type\u0022: \u0022audio\u0022,            \u0022codec_tag_string\u0022: \u0022[0][0][0][0]\u0022,            \u0022codec_tag\u0022: \u00220x0000\u0022,            \u0022sample_fmt\u0022: \u0022fltp\u0022,            \u0022sample_rate\u0022: \u002248000\u0022,            \u0022channels\u0022: 2,            \u0022channel_layout\u0022: \u0022stereo\u0022,            \u0022bits_per_sample\u0022: 0,            \u0022r_frame_rate\u0022: \u00220/0\u0022,            \u0022avg_frame_rate\u0022: \u00220/0\u0022,            \u0022time_base\u0022: \u00221/1000\u0022,            \u0022start_pts\u0022: 0,            \u0022start_time\u0022: \u00220:00:00.000000\u0022,            \u0022bit_rate\u0022: \u0022192000\u0022,            \u0022disposition\u0022: {                \u0022default\u0022: 0,                \u0022dub\u0022: 0,                \u0022original\u0022: 0,                \u0022comment\u0022: 0,                \u0022lyrics\u0022: 0,                \u0022karaoke\u0022: 0,                \u0022forced\u0022: 0,                \u0022hearing_impaired\u0022: 0,                \u0022visual_impaired\u0022: 0,                \u0022clean_effects\u0022: 0,                \u0022attached_pic\u0022: 0,                \u0022timed_thumbnails\u0022: 0,                \u0022captions\u0022: 0,                \u0022descriptions\u0022: 0,                \u0022metadata\u0022: 0,                \u0022dependent\u0022: 0,                \u0022still_image\u0022: 0            },            \u0022tags\u0022: {                \u0022language\u0022: \u0022eng\u0022,                \u0022title\u0022: \u0022Commentary With Director Ruben Fleischer\u0022,                \u0022BPS\u0022: \u0022192000\u0022,                \u0022DURATION\u0022: \u002201:55:50.976000000\u0022,                \u0022NUMBER_OF_FRAMES\u0022: \u0022217218\u0022,                \u0022NUMBER_OF_BYTES\u0022: \u0022166823424\u0022,                \u0022_STATISTICS_WRITING_APP\u0022: \u0022mkvmerge v67.0.0 (\u0027Under Stars\u0027) 64-bit\u0022,                \u0022_STATISTICS_WRITING_DATE_UTC\u0022: \u00222022-04-24 19:15:38\u0022,                \u0022_STATISTICS_TAGS\u0022: \u0022BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\u0022            }        },        {            \u0022index\u0022: 3,            \u0022codec_name\u0022: \u0022subrip\u0022,            \u0022codec_long_name\u0022: \u0022SubRip subtitle\u0022,            \u0022codec_type\u0022: \u0022subtitle\u0022,            \u0022codec_tag_string\u0022: \u0022[0][0][0][0]\u0022,            \u0022codec_tag\u0022: \u00220x0000\u0022,            \u0022r_frame_rate\u0022: \u00220/0\u0022,            \u0022avg_frame_rate\u0022: \u00220/0\u0022,            \u0022time_base\u0022: \u00221/1000\u0022,            \u0022start_pts\u0022: 0,            \u0022start_time\u0022: \u00220:00:00.000000\u0022,            \u0022duration_ts\u0022: 6950976,            \u0022duration\u0022: \u00221:55:50.976000\u0022,            \u0022disposition\u0022: {                \u0022default\u0022: 1,                \u0022dub\u0022: 0,                \u0022original\u0022: 0,                \u0022comment\u0022: 0,                \u0022lyrics\u0022: 0,                \u0022karaoke\u0022: 0,                \u0022forced\u0022: 1,                \u0022hearing_impaired\u0022: 0,                \u0022visual_impaired\u0022: 0,                \u0022clean_effects\u0022: 0,                \u0022attached_pic\u0022: 0,                \u0022timed_thumbnails\u0022: 0,                \u0022captions\u0022: 0,                \u0022descriptions\u0022: 0,                \u0022metadata\u0022: 0,                \u0022dependent\u0022: 0,                \u0022still_image\u0022: 0            },            \u0022tags\u0022: {                \u0022language\u0022: \u0022eng\u0022,                \u0022title\u0022: \u0022Forced\u0022,                \u0022BPS\u0022: \u002217\u0022,                \u0022DURATION\u0022: \u002200:04:20.552000000\u0022,                \u0022NUMBER_OF_FRAMES\u0022: \u002223\u0022,                \u0022NUMBER_OF_BYTES\u0022: \u0022573\u0022,                \u0022_STATISTICS_WRITING_APP\u0022: \u0022mkvmerge v67.0.0 (\u0027Under Stars\u0027) 64-bit\u0022,                \u0022_STATISTICS_WRITING_DATE_UTC\u0022: \u00222022-04-24 19:15:38\u0022,                \u0022_STATISTICS_TAGS\u0022: \u0022BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\u0022            }        },        {            \u0022index\u0022: 4,            \u0022codec_name\u0022: \u0022subrip\u0022,            \u0022codec_long_name\u0022: \u0022SubRip subtitle\u0022,            \u0022codec_type\u0022: \u0022subtitle\u0022,            \u0022codec_tag_string\u0022: \u0022[0][0][0][0]\u0022,            \u0022codec_tag\u0022: \u00220x0000\u0022,            \u0022r_frame_rate\u0022: \u00220/0\u0022,            \u0022avg_frame_rate\u0022: \u00220/0\u0022,            \u0022time_base\u0022: \u00221/1000\u0022,            \u0022start_pts\u0022: 0,            \u0022start_time\u0022: \u00220:00:00.000000\u0022,            \u0022duration_ts\u0022: 6950976,            \u0022duration\u0022: \u00221:55:50.976000\u0022,            \u0022disposition\u0022: {                \u0022default\u0022: 0,                \u0022dub\u0022: 0,                \u0022original\u0022: 0,                \u0022comment\u0022: 0,                \u0022lyrics\u0022: 0,                \u0022karaoke\u0022: 0,                \u0022forced\u0022: 0,                \u0022hearing_impaired\u0022: 0,                \u0022visual_impaired\u0022: 0,                \u0022clean_effects\u0022: 0,                \u0022attached_pic\u0022: 0,                \u0022timed_thumbnails\u0022: 0,                \u0022captions\u0022: 0,                \u0022descriptions\u0022: 0,                \u0022metadata\u0022: 0,                \u0022dependent\u0022: 0,                \u0022still_image\u0022: 0            },            \u0022tags\u0022: {                \u0022language\u0022: \u0022eng\u0022,                \u0022title\u0022: \u0022Full\u0022,                \u0022BPS\u0022: \u002255\u0022,                \u0022DURATION\u0022: \u002201:47:34.615000000\u0022,                \u0022NUMBER_OF_FRAMES\u0022: \u00221330\u0022,                \u0022NUMBER_OF_BYTES\u0022: \u002244395\u0022,                \u0022_STATISTICS_WRITING_APP\u0022: \u0022mkvmerge v67.0.0 (\u0027Under Stars\u0027) 64-bit\u0022,                \u0022_STATISTICS_WRITING_DATE_UTC\u0022: \u00222022-04-24 19:15:38\u0022,                \u0022_STATISTICS_TAGS\u0022: \u0022BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\u0022            }        },        {            \u0022index\u0022: 5,            \u0022codec_name\u0022: \u0022subrip\u0022,            \u0022codec_long_name\u0022: \u0022SubRip subtitle\u0022,            \u0022codec_type\u0022: \u0022subtitle\u0022,            \u0022codec_tag_string\u0022: \u0022[0][0][0][0]\u0022,            \u0022codec_tag\u0022: \u00220x0000\u0022,            \u0022r_frame_rate\u0022: \u00220/0\u0022,            \u0022avg_frame_rate\u0022: \u00220/0\u0022,            \u0022time_base\u0022: \u00221/1000\u0022,            \u0022start_pts\u0022: 0,            \u0022start_time\u0022: \u00220:00:00.000000\u0022,            \u0022duration_ts\u0022: 6950976,            \u0022duration\u0022: \u00221:55:50.976000\u0022,            \u0022disposition\u0022: {                \u0022default\u0022: 0,                \u0022dub\u0022: 0,                \u0022original\u0022: 0,                \u0022comment\u0022: 0,                \u0022lyrics\u0022: 0,                \u0022karaoke\u0022: 0,                \u0022forced\u0022: 0,                \u0022hearing_impaired\u0022: 0,                \u0022visual_impaired\u0022: 0,                \u0022clean_effects\u0022: 0,                \u0022attached_pic\u0022: 0,                \u0022timed_thumbnails\u0022: 0,                \u0022captions\u0022: 0,                \u0022descriptions\u0022: 0,                \u0022metadata\u0022: 0,                \u0022dependent\u0022: 0,                \u0022still_image\u0022: 0            },            \u0022tags\u0022: {                \u0022language\u0022: \u0022eng\u0022,                \u0022title\u0022: \u0022SDH\u0022,                \u0022BPS\u0022: \u002264\u0022,                \u0022DURATION\u0022: \u002201:48:12.403000000\u0022,                \u0022NUMBER_OF_FRAMES\u0022: \u00221602\u0022,                \u0022NUMBER_OF_BYTES\u0022: \u002252567\u0022,                \u0022_STATISTICS_WRITING_APP\u0022: \u0022mkvmerge v67.0.0 (\u0027Under Stars\u0027) 64-bit\u0022,                \u0022_STATISTICS_WRITING_DATE_UTC\u0022: \u00222022-04-24 19:15:38\u0022,                \u0022_STATISTICS_TAGS\u0022: \u0022BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\u0022            }        },        {            \u0022index\u0022: 6,            \u0022codec_name\u0022: \u0022subrip\u0022,            \u0022codec_long_name\u0022: \u0022SubRip subtitle\u0022,            \u0022codec_type\u0022: \u0022subtitle\u0022,            \u0022codec_tag_string\u0022: \u0022[0][0][0][0]\u0022,            \u0022codec_tag\u0022: \u00220x0000\u0022,            \u0022r_frame_rate\u0022: \u00220/0\u0022,            \u0022avg_frame_rate\u0022: \u00220/0\u0022,            \u0022time_base\u0022: \u00221/1000\u0022,            \u0022start_pts\u0022: 0,            \u0022start_time\u0022: \u00220:00:00.000000\u0022,            \u0022duration_ts\u0022: 6950976,            \u0022duration\u0022: \u00221:55:50.976000\u0022,            \u0022disposition\u0022: {                \u0022default\u0022: 0,                \u0022dub\u0022: 0,                \u0022original\u0022: 0,                \u0022comment\u0022: 0,                \u0022lyrics\u0022: 0,                \u0022karaoke\u0022: 0,                \u0022forced\u0022: 0,                \u0022hearing_impaired\u0022: 0,                \u0022visual_impaired\u0022: 0,                \u0022clean_effects\u0022: 0,                \u0022attached_pic\u0022: 0,                \u0022timed_thumbnails\u0022: 0,                \u0022captions\u0022: 0,                \u0022descriptions\u0022: 0,                \u0022metadata\u0022: 0,                \u0022dependent\u0022: 0,                \u0022still_image\u0022: 0            },            \u0022tags\u0022: {                \u0022language\u0022: \u0022eng\u0022,                \u0022title\u0022: \u0022Commentary With Director Ruben Fleischer\u0022,                \u0022BPS\u0022: \u0022115\u0022,                \u0022DURATION\u0022: \u002201:51:09.204000000\u0022,                \u0022NUMBER_OF_FRAMES\u0022: \u00221933\u0022,                \u0022NUMBER_OF_BYTES\u0022: \u002295942\u0022,                \u0022_STATISTICS_WRITING_APP\u0022: \u0022mkvmerge v67.0.0 (\u0027Under Stars\u0027) 64-bit\u0022,                \u0022_STATISTICS_WRITING_DATE_UTC\u0022: \u00222022-04-24 19:15:38\u0022,                \u0022_STATISTICS_TAGS\u0022: \u0022BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\u0022            }        },        {            \u0022index\u0022: 7,            \u0022codec_name\u0022: \u0022subrip\u0022,            \u0022codec_long_name\u0022: \u0022SubRip subtitle\u0022,            \u0022codec_type\u0022: \u0022subtitle\u0022,            \u0022codec_tag_string\u0022: \u0022[0][0][0][0]\u0022,            \u0022codec_tag\u0022: \u00220x0000\u0022,            \u0022r_frame_rate\u0022: \u00220/0\u0022,            \u0022avg_frame_rate\u0022: \u00220/0\u0022,            \u0022time_base\u0022: \u00221/1000\u0022,            \u0022start_pts\u0022: 0,            \u0022start_time\u0022: \u00220:00:00.000000\u0022,            \u0022duration_ts\u0022: 6950976,            \u0022duration\u0022: \u00221:55:50.976000\u0022,            \u0022disposition\u0022: {                \u0022default\u0022: 0,                \u0022dub\u0022: 0,                \u0022original\u0022: 0,                \u0022comment\u0022: 0,                \u0022lyrics\u0022: 0,                \u0022karaoke\u0022: 0,                \u0022forced\u0022: 0,                \u0022hearing_impaired\u0022: 0,                \u0022visual_impaired\u0022: 0,                \u0022clean_effects\u0022: 0,                \u0022attached_pic\u0022: 0,                \u0022timed_thumbnails\u0022: 0,                \u0022captions\u0022: 0,                \u0022descriptions\u0022: 0,                \u0022metadata\u0022: 0,                \u0022dependent\u0022: 0,                \u0022still_image\u0022: 0            },            \u0022tags\u0022: {                \u0022language\u0022: \u0022fre\u0022,                \u0022title\u0022: \u0022Full\u0022,                \u0022BPS\u0022: \u002245\u0022,                \u0022DURATION\u0022: \u002201:53:48.739000000\u0022,                \u0022NUMBER_OF_FRAMES\u0022: \u00221307\u0022,                \u0022NUMBER_OF_BYTES\u0022: \u002238748\u0022,                \u0022_STATISTICS_WRITING_APP\u0022: \u0022mkvmerge v67.0.0 (\u0027Under Stars\u0027) 64-bit\u0022,                \u0022_STATISTICS_WRITING_DATE_UTC\u0022: \u00222022-04-24 19:15:38\u0022,                \u0022_STATISTICS_TAGS\u0022: \u0022BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\u0022            }        },        {            \u0022index\u0022: 8,            \u0022codec_name\u0022: \u0022hdmv_pgs_subtitle\u0022,            \u0022codec_long_name\u0022: \u0022HDMV Presentation Graphic Stream subtitles\u0022,            \u0022codec_type\u0022: \u0022subtitle\u0022,            \u0022codec_tag_string\u0022: \u0022[0][0][0][0]\u0022,            \u0022codec_tag\u0022: \u00220x0000\u0022,            \u0022r_frame_rate\u0022: \u00220/0\u0022,            \u0022avg_frame_rate\u0022: \u00220/0\u0022,            \u0022time_base\u0022: \u00221/1000\u0022,            \u0022start_pts\u0022: 0,            \u0022start_time\u0022: \u00220:00:00.000000\u0022,            \u0022duration_ts\u0022: 6950976,            \u0022duration\u0022: \u00221:55:50.976000\u0022,            \u0022disposition\u0022: {                \u0022default\u0022: 1,                \u0022dub\u0022: 0,                \u0022original\u0022: 0,                \u0022comment\u0022: 0,                \u0022lyrics\u0022: 0,                \u0022karaoke\u0022: 0,                \u0022forced\u0022: 0,                \u0022hearing_impaired\u0022: 0,                \u0022visual_impaired\u0022: 0,                \u0022clean_effects\u0022: 0,                \u0022attached_pic\u0022: 0,                \u0022timed_thumbnails\u0022: 0,                \u0022captions\u0022: 0,                \u0022descriptions\u0022: 0,                \u0022metadata\u0022: 0,                \u0022dependent\u0022: 0,                \u0022still_image\u0022: 0            },            \u0022tags\u0022: {                \u0022language\u0022: \u0022eng\u0022,                \u0022title\u0022: \u0022SDH\u0022,                \u0022BPS\u0022: \u002239254\u0022,                \u0022DURATION\u0022: \u002201:48:12.402000000\u0022,                \u0022NUMBER_OF_FRAMES\u0022: \u00223205\u0022,                \u0022NUMBER_OF_BYTES\u0022: \u002231857014\u0022,                \u0022_STATISTICS_WRITING_APP\u0022: \u0022mkvmerge v67.0.0 (\u0027Under Stars\u0027) 64-bit\u0022,                \u0022_STATISTICS_WRITING_DATE_UTC\u0022: \u00222022-04-24 19:15:38\u0022,                \u0022_STATISTICS_TAGS\u0022: \u0022BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\u0022            }        },        {            \u0022index\u0022: 9,            \u0022codec_name\u0022: \u0022hdmv_pgs_subtitle\u0022,            \u0022codec_long_name\u0022: \u0022HDMV Presentation Graphic Stream subtitles\u0022,            \u0022codec_type\u0022: \u0022subtitle\u0022,            \u0022codec_tag_string\u0022: \u0022[0][0][0][0]\u0022,            \u0022codec_tag\u0022: \u00220x0000\u0022,            \u0022r_frame_rate\u0022: \u00220/0\u0022,            \u0022avg_frame_rate\u0022: \u00220/0\u0022,            \u0022time_base\u0022: \u00221/1000\u0022,            \u0022start_pts\u0022: 0,            \u0022start_time\u0022: \u00220:00:00.000000\u0022,            \u0022duration_ts\u0022: 6950976,            \u0022duration\u0022: \u00221:55:50.976000\u0022,            \u0022disposition\u0022: {                \u0022default\u0022: 0,                \u0022dub\u0022: 0,                \u0022original\u0022: 0,                \u0022comment\u0022: 0,                \u0022lyrics\u0022: 0,                \u0022karaoke\u0022: 0,                \u0022forced\u0022: 0,                \u0022hearing_impaired\u0022: 0,                \u0022visual_impaired\u0022: 0,                \u0022clean_effects\u0022: 0,                \u0022attached_pic\u0022: 0,                \u0022timed_thumbnails\u0022: 0,                \u0022captions\u0022: 0,                \u0022descriptions\u0022: 0,                \u0022metadata\u0022: 0,                \u0022dependent\u0022: 0,                \u0022still_image\u0022: 0            },            \u0022tags\u0022: {                \u0022language\u0022: \u0022spa\u0022,                \u0022BPS\u0022: \u002227385\u0022,                \u0022DURATION\u0022: \u002201:53:48.739000000\u0022,                \u0022NUMBER_OF_FRAMES\u0022: \u00222586\u0022,                \u0022NUMBER_OF_BYTES\u0022: \u002223376018\u0022,                \u0022_STATISTICS_WRITING_APP\u0022: \u0022mkvmerge v67.0.0 (\u0027Under Stars\u0027) 64-bit\u0022,                \u0022_STATISTICS_WRITING_DATE_UTC\u0022: \u00222022-04-24 19:15:38\u0022,                \u0022_STATISTICS_TAGS\u0022: \u0022BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\u0022            }        },        {            \u0022index\u0022: 10,            \u0022codec_name\u0022: \u0022hdmv_pgs_subtitle\u0022,            \u0022codec_long_name\u0022: \u0022HDMV Presentation Graphic Stream subtitles\u0022,            \u0022codec_type\u0022: \u0022subtitle\u0022,            \u0022codec_tag_string\u0022: \u0022[0][0][0][0]\u0022,            \u0022codec_tag\u0022: \u00220x0000\u0022,            \u0022r_frame_rate\u0022: \u00220/0\u0022,            \u0022avg_frame_rate\u0022: \u00220/0\u0022,            \u0022time_base\u0022: \u00221/1000\u0022,            \u0022start_pts\u0022: 0,            \u0022start_time\u0022: \u00220:00:00.000000\u0022,            \u0022duration_ts\u0022: 6950976,            \u0022duration\u0022: \u00221:55:50.976000\u0022,            \u0022disposition\u0022: {                \u0022default\u0022: 0,                \u0022dub\u0022: 0,                \u0022original\u0022: 0,                \u0022comment\u0022: 0,                \u0022lyrics\u0022: 0,                \u0022karaoke\u0022: 0,                \u0022forced\u0022: 0,                \u0022hearing_impaired\u0022: 0,                \u0022visual_impaired\u0022: 0,                \u0022clean_effects\u0022: 0,                \u0022attached_pic\u0022: 0,                \u0022timed_thumbnails\u0022: 0,                \u0022captions\u0022: 0,                \u0022descriptions\u0022: 0,                \u0022metadata\u0022: 0,                \u0022dependent\u0022: 0,                \u0022still_image\u0022: 0            },            \u0022tags\u0022: {                \u0022language\u0022: \u0022spa\u0022,                \u0022BPS\u0022: \u002260962\u0022,                \u0022DURATION\u0022: \u002201:51:09.204000000\u0022,                \u0022NUMBER_OF_FRAMES\u0022: \u00223535\u0022,                \u0022NUMBER_OF_BYTES\u0022: \u002250821639\u0022,                \u0022_STATISTICS_WRITING_APP\u0022: \u0022mkvmerge v67.0.0 (\u0027Under Stars\u0027) 64-bit\u0022,                \u0022_STATISTICS_WRITING_DATE_UTC\u0022: \u00222022-04-24 19:15:38\u0022,                \u0022_STATISTICS_TAGS\u0022: \u0022BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\u0022            }        }    ],    \u0022format\u0022: {        \u0022filename\u0022: \u0022/volume1/video/Movies/Uncharted (2022)/Uncharted (Bluray-720p).mkv\u0022,        \u0022nb_streams\u0022: 11,        \u0022nb_programs\u0022: 0,        \u0022format_name\u0022: \u0022matroska,webm\u0022,        \u0022format_long_name\u0022: \u0022Matroska / WebM\u0022,        \u0022start_time\u0022: \u00220:00:00.000000\u0022,        \u0022duration\u0022: \u00221:55:50.976000\u0022,        \u0022size\u0022: \u00227566891463\u0022,        \u0022bit_rate\u0022: \u00228708867\u0022,        \u0022probe_score\u0022: 100,        \u0022tags\u0022: {            \u0022title\u0022: \u0022Uncharted.2022.720p.BluRay.DD5.1.x264-iFT\u0022,            \u0022encoder\u0022: \u0022libebml v1.4.2 \u002B libmatroska v1.6.4\u0022,            \u0022creation_time\u0022: \u00222022-04-24T19:15:38.000000Z\u0022        }    }}",
  "schemaRevision": 10,
  "containerFormat": "matroska,webm",
  "videoFormat": "h264",
  "videoCodecID": "x264",
  "videoProfile": "High",
  "videoBitrate": 0,
  "videoBitDepth": 8,
  "videoMultiViewCount": 1,
  "videoColourPrimaries": "bt709",
  "videoTransferCharacteristics": "bt709",
  "videoHdrFormat": "none",
  "height": 536,
  "width": 1280,
  "audioFormat": "ac3",
  "audioCodecID": "[0][0][0][0]",
  "audioBitrate": 640000,
  "runTime": "01:55:50.9760000",
  "audioStreamCount": 2,
  "audioChannels": 6,
  "audioChannelPositions": "5.1(side)",
  "videoFps": 23.976023976023976023976023976,
  "audioLanguages": [
    "eng",
    "eng"
  ],
  "subtitles": [
    "eng",
    "eng",
    "eng",
    "eng",
    "fre",
    "eng",
    "spa",
    "spa"
  ],
  "scanType": "Progressive"
} - String)
 ---> System.Text.Json.JsonException: The JSON value could not be converted to System.String. Path: $.audioLanguages | LineNumber: 23 | BytePositionInLine: 21.
 ---> System.InvalidOperationException: Cannot get the value of a token type 'StartArray' as a string.
   at System.Text.Json.Utf8JsonReader.GetString()
   at System.Text.Json.JsonPropertyInfo`1.ReadJsonAndSetMember(Object obj, ReadStack& state, Utf8JsonReader& reader)
   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)
   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, Utf8JsonReader& reader, Exception ex)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadCore[TValue](Utf8JsonReader& reader, Type returnType, JsonSerializerOptions options)
   at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, Type returnType, JsonSerializerOptions options)
   at Dapper.SqlMapper.TypeHandler`1.Dapper.SqlMapper.ITypeHandler.Parse(Type destinationType, Object value) in /_/Dapper/SqlMapper.TypeHandler.cs:line 42
   at Dapper.SqlMapper.TypeHandlerCache`1.Parse(Object value) in /_/Dapper/SqlMapper.TypeHandlerCache.cs:line 23
   at Deserialize850d5deb-9474-4982-8266-49be6c1cc374(IDataReader )
   --- End of inner exception stack trace ---
   at Dapper.SqlMapper.ThrowDataException(Exception ex, Int32 index, IDataReader reader, Object value) in /_/Dapper/SqlMapper.cs:line 3665
   at Deserialize850d5deb-9474-4982-8266-49be6c1cc374(IDataReader )
   at Dapper.SqlMapper.<>c__DisplayClass160_0`8.<GenerateMapper>b__2(IDataReader r)
   at Dapper.SqlMapper.MultiMapImpl[TFirst,TSecond,TThird,TFourth,TFifth,TSixth,TSeventh,TReturn](IDbConnection cnn, CommandDefinition command, Delegate map, String splitOn, IDataReader reader, Identity identity, Boolean finalize)+MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.MultiMap[TFirst,TSecond,TThird,TFourth,TFifth,TSixth,TSeventh,TReturn](IDbConnection cnn, String sql, Delegate map, Object param, IDbTransaction transaction, Boolean buffered, String splitOn, Nullable`1 commandTimeout, Nullable`1 commandType)
   at NzbDrone.Core.Datastore.SqlMapperExtensions.Query[TFirst,TSecond,TThird,TFourth,TReturn](IDatabase db, String sql, Func`5 map, Object param, IDbTransaction transaction, Boolean buffered, String splitOn, Nullable`1 commandTimeout, Nullable`1 commandType)
   at NzbDrone.Core.Datastore.SqlMapperExtensions.QueryJoined[T,T2,T3,T4](IDatabase db, SqlBuilder builder, Func`5 mapper)
   at NzbDrone.Core.Movies.MovieRepository.Query(SqlBuilder builder)
   at NzbDrone.Core.Movies.MovieRepository.FindByImdbId(String imdbid)
   at NzbDrone.Core.Parser.ParsingService.TryGetMovieByImDbId(ParsedMovieInfo parsedMovieInfo, String imdbId, MappingResult& result)
   at NzbDrone.Core.Parser.ParsingService.GetMovie(ParsedMovieInfo parsedMovieInfo, String imdbId, SearchCriteriaBase searchCriteria)
   at NzbDrone.Core.Parser.ParsingService.Map(ParsedMovieInfo parsedMovieInfo, String imdbId, SearchCriteriaBase searchCriteria)
   at NzbDrone.Core.DecisionEngine.DownloadDecisionMaker.GetDecisions(List`1 reports, SearchCriteriaBase searchCriteria)+MoveNext()
SQL: 
==== Begin Query Trace ====

QUERY TEXT:
SELECT Movies.*, Profiles.*, AlternativeTitles.*, MovieFiles.*
 FROM Movies 
JOIN Profiles ON ("Movies"."ProfileId" = "Profiles"."Id")

LEFT JOIN AlternativeTitles ON ("Movies"."Id" = "AlternativeTitles"."MovieId")
LEFT JOIN MovieFiles ON ("Movies"."Id" = "MovieFiles"."MovieId")
 WHERE ("Movies"."ImdbId" = @Clause4_P1)

PARAMETERS:
Clause4_P1 = ["\"tt1464335\""]

==== End Query Trace ====

Other Logs

`/var/log/synopkg.log`

2022/05/14 02:39:45 upgrade radarr: begin to stop version 20210708-15
2022/05/14 02:39:45 upgrade radarr 20210708-15 Begin start-stop-status stop
2022/05/14 02:39:51 upgrade radarr 20210708-15 End start-stop-status stop ret=[0]
2022/05/14 02:39:51 Release port-config for radarr when 0x0002 (ready)
2022/05/14 02:39:51 Release port-config for radarr when 0x0002 (done)
2022/05/14 02:39:56 upgrade radarr: stop version 20210708-15 successfully, result 0
2022/05/14 02:39:56 upgrade radarr 20210708-15 Begin preupgrade
2022/05/14 02:39:56 upgrade radarr 20210708-15 End preupgrade ret=[0]
2022/05/14 02:39:57 upgrade radarr 20210708-15 Begin preuninst
2022/05/14 02:39:57 upgrade radarr 20210708-15 End preuninst ret=[0]
2022/05/14 02:39:57 Release port-config for radarr when 0x0002 (ready)
2022/05/14 02:39:57 Release port-config for radarr when 0x0002 (done)
2022/05/14 02:39:57 Release systemd-unit for radarr when 0x0002 (ready)
2022/05/14 02:39:57 Release systemd-unit for radarr when 0x0002 (done)
2022/05/14 02:39:57 upgrade radarr 20210708-15 Begin /bin/rm -rf /volume1/@appstore/radarr
2022/05/14 02:39:58 upgrade radarr 20210708-15 End /bin/rm -rf /volume1/@appstore/radarr ret=[0]
2022/05/14 02:39:58 upgrade radarr 20210708-15 Begin /bin/rm -rf /volume1/@apptemp/radarr
2022/05/14 02:39:58 upgrade radarr 20210708-15 End /bin/rm -rf /volume1/@apptemp/radarr ret=[0]
2022/05/14 02:39:58 Release port-config for radarr when 0x0002 (ready)
2022/05/14 02:39:58 Release port-config for radarr when 0x0002 (done)
2022/05/14 02:39:58 upgrade radarr 20210708-15 Begin postuninst
2022/05/14 02:39:58 upgrade radarr 20210708-15 End postuninst ret=[0]
2022/05/14 02:39:58 upgrade radarr: Uninstall 20210708-15 successfully
2022/05/14 02:39:59 upgrade radarr 20220513-17 Begin preinst
2022/05/14 02:40:00 upgrade radarr 20220513-17 End preinst ret=[0]
2022/05/14 02:40:00 upgrade radarr 20220513-17 Begin /bin/mkdir -p /volume1/@appstore/radarr
2022/05/14 02:40:00 upgrade radarr 20220513-17 End /bin/mkdir -p /volume1/@appstore/radarr ret=[0]
2022/05/14 02:40:00 upgrade radarr 20220513-17 Begin /bin/rm -rf /volume1/@appstore/radarr
2022/05/14 02:40:00 upgrade radarr 20220513-17 End /bin/rm -rf /volume1/@appstore/radarr ret=[0]
2022/05/14 02:40:00 upgrade radarr 20220513-17 Begin /bin/mv -f /volume1/@tmp/pkginstall/extract.r31pnH/package /volume1/@appstore/radarr
2022/05/14 02:40:00 upgrade radarr 20220513-17 End /bin/mv -f /volume1/@tmp/pkginstall/extract.r31pnH/package /volume1/@appstore/radarr ret=[0]
2022/05/14 02:40:00 upgrade radarr 20220513-17 Begin /bin/rm -rf /var/packages/radarr
2022/05/14 02:40:00 upgrade radarr 20220513-17 End /bin/rm -rf /var/packages/radarr ret=[0]
2022/05/14 02:40:00 upgrade radarr 20220513-17 Begin /bin/mkdir -p /var/packages/radarr
2022/05/14 02:40:00 upgrade radarr 20220513-17 End /bin/mkdir -p /var/packages/radarr ret=[0]
2022/05/14 02:40:00 upgrade radarr 20220513-17 Begin /bin/touch /var/packages/radarr/installing
2022/05/14 02:40:00 upgrade radarr 20220513-17 End /bin/touch /var/packages/radarr/installing ret=[0]
2022/05/14 02:40:00 upgrade radarr 20220513-17 Begin /bin/mv -f /volume1/@tmp/pkginstall/extract.r31pnH/INFO /var/packages/radarr/INFO
2022/05/14 02:40:00 upgrade radarr 20220513-17 End /bin/mv -f /volume1/@tmp/pkginstall/extract.r31pnH/INFO /var/packages/radarr/INFO ret=[0]
2022/05/14 02:40:00 upgrade radarr 20220513-17 Begin /bin/rm -rf /var/packages/radarr/scripts
2022/05/14 02:40:00 upgrade radarr 20220513-17 End /bin/rm -rf /var/packages/radarr/scripts ret=[0]
2022/05/14 02:40:00 upgrade radarr 20220513-17 Begin /bin/mv -f /volume1/@tmp/pkginstall/extract.r31pnH/scripts /var/packages/radarr/scripts
2022/05/14 02:40:00 upgrade radarr 20220513-17 End /bin/mv -f /volume1/@tmp/pkginstall/extract.r31pnH/scripts /var/packages/radarr/scripts ret=[0]
2022/05/14 02:40:00 upgrade radarr 20220513-17 Begin /bin/rm -rf /var/packages/radarr/WIZARD_UIFILES
2022/05/14 02:40:00 upgrade radarr 20220513-17 End /bin/rm -rf /var/packages/radarr/WIZARD_UIFILES ret=[0]
2022/05/14 02:40:00 upgrade radarr 20220513-17 Begin /bin/mv -f /volume1/@tmp/pkginstall/extract.r31pnH/WIZARD_UIFILES /var/packages/radarr/WIZARD_UIFILES
2022/05/14 02:40:00 upgrade radarr 20220513-17 End /bin/mv -f /volume1/@tmp/pkginstall/extract.r31pnH/WIZARD_UIFILES /var/packages/radarr/WIZARD_UIFILES ret=[0]
2022/05/14 02:40:00 upgrade radarr 20220513-17 Begin /bin/rm -rf /var/packages/radarr/conf
2022/05/14 02:40:00 upgrade radarr 20220513-17 End /bin/rm -rf /var/packages/radarr/conf ret=[0]
2022/05/14 02:40:00 upgrade radarr 20220513-17 Begin /bin/mv -f /volume1/@tmp/pkginstall/extract.r31pnH/conf /var/packages/radarr/conf
2022/05/14 02:40:00 upgrade radarr 20220513-17 End /bin/mv -f /volume1/@tmp/pkginstall/extract.r31pnH/conf /var/packages/radarr/conf ret=[0]
2022/05/14 02:40:05 Acquire systemd-unit for radarr when 0x0002 (ready)
2022/05/14 02:40:05 Acquire systemd-unit for radarr when 0x0002 (done)
2022/05/14 02:40:05 Acquire port-config for radarr when 0x0002 (ready)
2022/05/14 02:40:05 Acquire port-config for radarr when 0x0002 (done)
2022/05/14 02:40:07 upgrade radarr 20220513-17 Begin postinst
2022/05/14 02:40:07 upgrade radarr 20220513-17 End postinst ret=[0]
2022/05/14 02:40:07 upgrade radarr 20220513-17 Begin postupgrade
2022/05/14 02:40:07 upgrade radarr 20220513-17 End postupgrade ret=[0]
2022/05/14 02:40:07 upgrade radarr: begin to start version 20220513-17
2022/05/14 02:40:08 Acquire port-config for radarr when 0x0002 (ready)
2022/05/14 02:40:08 Acquire port-config for radarr when 0x0002 (done)
2022/05/14 02:40:08 upgrade radarr 20220513-17 Begin start-stop-status start
2022/05/14 02:40:11 upgrade radarr 20220513-17 End start-stop-status start ret=[0]
2022/05/14 02:40:14 upgrade radarr: start version 20220513-17 successfully, result 0
2022/05/14 02:40:15 upgrade radarr from 20210708-15 to 20220513-17 successfully
2022/05/14 02:45:35 start radarr: begin to stop due to abnormal status
2022/05/14 02:45:35 start radarr: begin to stop version 20220513-17
2022/05/14 02:45:36 start radarr 20220513-17 Begin start-stop-status stop
2022/05/14 02:45:36 start radarr 20220513-17 End start-stop-status stop ret=[0]
2022/05/14 02:45:36 Release port-config for radarr when 0x0008 (ready)
2022/05/14 02:45:36 Release port-config for radarr when 0x0008 (done)
2022/05/14 02:45:38 start radarr: stop version 20220513-17 successfully, result 0
2022/05/14 02:45:38 start radarr: begin to start version 20220513-17
2022/05/14 02:45:38 Acquire port-config for radarr when 0x0008 (ready)
2022/05/14 02:45:38 Acquire port-config for radarr when 0x0008 (done)
2022/05/14 02:45:39 start radarr 20220513-17 Begin start-stop-status start
2022/05/14 02:45:59 start radarr 20220513-17 End start-stop-status start ret=[1]
2022/05/14 02:45:59 Release port-config for radarr when 0x0008 (ready)
2022/05/14 02:45:59 Release port-config for radarr when 0x0008 (done)
2022/05/14 02:46:00 start radarr: start version 20220513-17 failed, result 0
2022/05/14 02:46:00 (system) trigger radarr 20220513-17 Begin start-stop-status stop
2022/05/14 02:46:00 (system) trigger radarr 20220513-17 End start-stop-status stop ret=[0]
2022/05/14 02:46:01 Release port-config for radarr when 0x0000 (ready)
2022/05/14 02:46:01 Release port-config for radarr when 0x0000 (done)
mreid-tt commented 2 years ago

Please note that this only seems to be a problem updating from Version 20210708-15 or 20220510-16 with the configurations and movie library present. If I do a clean install there is no error; for example:

  1. Download and install (manually) the new package for radarr (i.e. Version 20220513-17)
  2. Within radarr, update to the latest release (i.e. 4.1.0.6175)
  3. Restore a configuration backup (same version with file name radarr_backup_v4.1.0.6175_*.zip)
  4. Confirm configurations are present and there are no errors reported

I believe it has something to do with the fact that the internal version in the package of radarr is version 3.2.2.5080 and not the current 4.1.0.6175. As such, if there is not a downgrade of the internal version as part of the package update, this may resolve the issue. This error however is recoverable since the backup that was done prior to the package upgrade should be still present and can be copied manually and applied after a clean install as shown above.

hgy59 commented 2 years ago

@ta264 is this a bug in Radarr or do we need to avoid downgrades by spk package updates (similar to syncthing with #5181)?

ta264 commented 2 years ago

This is user error - the user is trying to use a database that has been used with a new version of radarr with an old version. I guess from having reinstalled the package?

ta264 commented 2 years ago

So to answer your question, yes downgrades must be prevented

ta264 commented 2 years ago

PS radarr should handle this to an extent when the empty update_required file is created, though it may be that the version of radarr in the spk is so old that that functionality isn't present

hgy59 commented 2 years ago

After a downgrade you see something like this in the System>Updates view: Radarr_downgraded

@mreid-tt you only have to manually update Radarr with "Install Latests" here and radarr will work with the database again.

I thought the internal updater of Radarr would do this with the update_required file, but this does not work as expected, at least not with version 3.2.2.5080. Anyway, we need a redesign to prevent downgrades on spk update at all.

ta264 commented 2 years ago

Hmm it should have worked in 3.2.2.5080 if the update_required file was created

https://github.com/Radarr/Radarr/commit/ec8d1c4ae6395e6e3ffb8f2df1ee438a60d5de79

ta264 commented 2 years ago

It would be good to get some trace logs of radarr trying to start after the package related roll back to try to figure it out

mreid-tt commented 2 years ago

Good morning folks, thanks for looking into this for me. As for the manually update Radarr that @hgy59 mentioned above, this is exactly what I did in step 7 of my reproduction steps described above. Whether I upgrade from version 20210708-15 or 20220510-16 of the package, once the old internal version 3.2.2.5080 sees the newer database, something goes wrong.

Once this happens, even after I upgrade the internal version of Radarr to 4.1.0.6175, I get all the errors I see above and the package fails to start and asks to be repaired in the Package Center. This repair then fails. I can try to give you trace logs, just let me know exactly where in the above steps you would like me to turn tracing on.

ta264 commented 2 years ago

Does it ever manage to upgrade to 4.1? It may be that your DSM supplies libraries that are too old to work with radarr without some workarounds

ta264 commented 2 years ago

Oh right, a clean install and upgrade works it looks like. I'm guessing either radarr isn't handling the upgrade_required file properly or the package isn't creating it in the right place

ta264 commented 2 years ago

In that case please can you grab trace logs of the first start of radarr after the package is upgraded?

ta264 commented 2 years ago

(what should be happening is that after the package is updated radarr is told to update itself, so you should never see 3.2)

mreid-tt commented 2 years ago

Okay, will try to turn on tracing as described. A couple of further observations before I do some more troubleshooting:

  1. I've never seen a clean install or an upgrade install of the Radarr package perform an automatic update as @ta264 has described. I've always had to manually perform an internal update
  2. The log errors are quite long and I had to trim them down quite a bit to post this bug report. Looking at them again the consistent pattern seems to be The JSON value could not be converted to System.String. Path: $.audioLanguages. This suggests to me that the error is related to one or more movies in my library. As such, this may or may not occur for everyone
  3. To narrow down the logs, I'm going to try to do an upgrade install with just the configurations and no movies in the library. Then I'm going to try to upgrade with one movie (tt1464335) as listed in the above logs that is contributing to the error. That way I am hoping the logs are a lot smaller to review
mreid-tt commented 2 years ago

Hmm, well this is frustrating. I am now unable to replicate the issue. I downloaded the old version 20210708-15 but the new version 20220513-17 is no longer in the online repository so I downloaded instead from the build repository here.

I was able to successfully install and upgrade with a full backup (the version with one video also was successful). So I don't know if this version from the build repository is somehow different than the one which was on the SynoCommunity page or not. Maybe you can share a private link so I can try again? I do have some trace logs but I don't know how useful they will be given the upgrade was successful...

radarr.trace.zip

hgy59 commented 2 years ago

Hmm, well this is frustrating. I am now unable to replicate the issue. I downloaded the old version 20210708-15 but the new version 20220513-17 is no longer in the online repository so I downloaded instead from the build repository here.

@mreid-tt sorry, but I deleted the 20220513-17 while creating a new version to prevent downgrades with #5273 BTW I could not reproduce the error "Unable to start Radarr after upgrade...", I only had the issue, that Radarr did not self update.

The analysis why update_required does not work is for the Radarr developpers. The next package will not require this feature anymore (just waiting for help to translate the new text in upgrade wizard to French).

mreid-tt commented 2 years ago

Okay, I've located the version 20220513-17 from my Time Machine backups. I'll begin re-resting shortly and update you on my findings...

EDIT: So I really can't explain things now. I did the exact same steps as in the original bug report with the exact same configuration backup and the process completed successfully with the package able to launch after manually running the internal updater. I even got the same error message following the package upgrade: Error parsing column 8 (Language=34 - Int64). The files used for the manual install and upgrade are the exact same ones from the SynoCommunity online repository so it should have resulted in the original issue:

For version 20210708-15: radarr.v15.f40000[apollolake-avoton-braswell-broadwell-broadwellnk-bromolow-cedarview-denverton-dockerx64-geminilake-grantley-purley-kvmx64-v1000-x86-x86_64].spk

For version 20220510-17: radarr.v17.f41890[apollolake-avoton-braswell-broadwell-broadwellnk-bromolow-cedarview-denverton-dockerx64-geminilake-grantley-purley-kvmx64-v1000-x86-x86_64].spk

As I can't replicate the error now even with the same source files I guess I should withdraw this bug report?

mreid-tt commented 2 years ago

As a further update, I installed a clean version of the 20210708-15 package and did an internal update to 4.1.0.6175 of Radarr. I then restored a configuration backup and used the new build repository for package version 20220514-18. This upgraded successfully from the DSM Package Manager and I can confirm that the internal version of Radarr did not downgrade and all configurations seem to be present without error.

hgy59 commented 2 years ago

(what should be happening is that after the package is updated radarr is told to update itself, so you should never see 3.2)

@ta264 just found that Lidarr autoupdate on installation works as expected (on DSM 7) Installing post-install update from 0.*.*.2042 to 1.0.1.2578:

22-5-15 17:39:35.9|Info|Bootstrap|Starting Lidarr - /volume1/@appstore/lidarr/share/Lidarr/bin/Lidarr.dll - Version 0.8.0.2042
22-5-15 17:39:37.3|Info|Router|Application mode: Interactive
22-5-15 17:39:37.5|Info|MigrationController|*** Migrating data source=/volume1/@appdata/lidarr/.config/Lidarr/lidarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
22-5-15 17:39:38.1|Info|MigrationController|*** Migrating data source=/volume1/@appdata/lidarr/.config/Lidarr/logs.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
22-5-15 17:39:41.2|Info|InstallUpdateService|Installing post-install update from 0.*.*.2042 to 1.0.1.2578
22-5-15 17:39:41.2|Info|InstallUpdateService|Downloading update 1.0.1.2578
22-5-15 17:39:46.5|Info|InstallUpdateService|Verifying update package
22-5-15 17:39:46.7|Info|InstallUpdateService|Update package verified successfully
22-5-15 17:39:46.7|Info|InstallUpdateService|Extracting Update package
22-5-15 17:39:53.5|Info|InstallUpdateService|Update package extracted successfully
22-5-15 17:39:53.5|Info|BackupService|Starting Backup
22-5-15 17:39:53.9|Info|InstallUpdateService|Preparing client
22-5-15 17:39:55.5|Info|InstallUpdateService|Starting update client /tmp/lidarr_update/Lidarr.Update
22-5-15 17:39:55.5|Info|InstallUpdateService|Lidarr will restart shortly.
22-5-15 17:39:55.5|Info|InstallUpdateService|Updater Arguments: 30979 /tmp/lidarr_update /volume1/@appstore/lidarr/share/Lidarr/bin/Lidarr.dll 
2022-05-15 17:40:14.0|Info|Bootstrap|Starting Lidarr - /volume1/@appstore/lidarr/share/Lidarr/bin/Lidarr.dll - Version 1.0.1.2578
2022-05-15 17:40:15.7|Info|MigrationController|*** Migrating data source=/volume1/@appdata/lidarr/.config/Lidarr/lidarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
2022-05-15 17:40:16.1|Info|MigrationController|*** Migrating data source=/volume1/@appdata/lidarr/.config/Lidarr/logs.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
2022-05-15 17:40:16.6|Info|Microsoft.Hosting.Lifetime|Now listening on: http://[::]:8686
2022-05-15 17:40:18.8|Info|RootFolderWatchingService|Watching directory /volume1/music/lidarr/greek/
2022-05-15 17:40:19.3|Info|Microsoft.Hosting.Lifetime|Application started. Press Ctrl+C to shut down.
2022-05-15 17:40:19.3|Info|Microsoft.Hosting.Lifetime|Hosting environment: Production
2022-05-15 17:40:19.3|Info|Microsoft.Hosting.Lifetime|Content root path: /
2022-05-15 17:40:49.1|Info|RssSyncService|Starting RSS Sync
2022-05-15 17:40:50.4|Info|DownloadDecisionMaker|No results found
2022-05-15 17:40:50.4|Info|RssSyncService|RSS Sync Completed. Reports found: 0, Reports grabbed: 0
ta264 commented 2 years ago

That looks like it's still using the old pkgvar so maybe the pkgvar change broke the update_required mechanism too?

hgy59 commented 2 years ago

That looks like it's still using the old pkgvar so maybe the pkgvar change broke the update_required mechanism too?

No, only Radarr rev -15 had a wrong var folder, Lidarr always used the correct SYNOPKG_PKGVAR variable (on DSM 7: Migrating data source=/volume1/@appdata/lidarr/.config/Lidarr/lidarr.db)

Mahir007 commented 2 years ago

Hi, I wanted to do a clean installation of Radarr, however, when I try to download the package, it just gives me an error saying failed to download with no other information. Any idea on how I can get this to work? Screenshot 2022-05-15 182110 .

hgy59 commented 2 years ago

This is work in progress for Rev -18. Version 20220513-17 is deleted in the repo (but it takes up to 48h until it disappears in the package center of DSM due to the CDN). If you want to install Radarr you have to wait, until Version 20210311-15 is shown, or you can download the spk (https://synocommunity.com/package/radarr) and install manually.

mreid-tt commented 2 years ago

Just to confirm a clean install of 20220515-18 does not auto-update as per this log: radarr.txt. Manual update is the only way to go: radarr-upgrade.txt

I can however confirm that I was able to install on my production NAS and upgraded from 20220510-16 without any issue whatsoever.