Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed caching queued items from Lidarr Album #5193

Open
shonj opened this issue Dec 1, 2024 · 0 comments
Open

Failed caching queued items from Lidarr Album #5193

shonj opened this issue Dec 1, 2024 · 0 comments

Comments

@shonj
Copy link

shonj commented Dec 1, 2024

Summary

Issue:
Ombi is not syncing music from Lidarr and Plex. On the Discover page, only Movies and TV Shows are displayed—music is missing.

Steps Taken:

Tested the Lidarr connection in Ombi:

  • Received a success response for "Test Connectivity", "Load Profiles", "Load Root Folders" and "Load Metadata"..
  • I verified that the Lidarr "Profiles", "Root Folders" and "Metadat Profile" are in the settings.
  • Attempted a sync with Lidarr, which resulted in the attached error.
  • I am not using a reverse proxy for any of the *arr applications, so I haven’t added a base URL. Lidarr is configured the same way as Radarr and Sonarr, but I’m not experiencing this issue with Radarr or Sonarr.

Test Connection

Ombi Version

4.46.6

What platform(s) does this occur on?

Windows

What database are you using?

MySQL

Relevant log output

2024-11-30 22:01:03.895 -05:00 [ERR] StatusCode: InternalServerError, Reason: Internal Server Error, RequestUri: http://192.168.1.87:8686/api/v1/album
2024-11-30 22:01:03.895 -05:00 [ERR] Failed caching queued items from Lidarr Album
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[Ombi.Api.Lidarr.Models.AlbumResponse]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'message', line 2, position 12.
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Ombi.Api.Api.Request[T](Request request, CancellationToken cancellationToken) in /home/runner/work/Ombi/Ombi/src/Ombi.Api/Api.cs:line 81
   at Ombi.Schedule.Jobs.Lidarr.LidarrAlbumSync.Execute(IJobExecutionContext ctx) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Lidarr/LidarrAlbumSync.cs:line 48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant