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

Sonarr Issues #1018

Closed
HitsvilleUK opened this issue Jan 28, 2017 · 16 comments
Closed

Sonarr Issues #1018

HitsvilleUK opened this issue Jan 28, 2017 · 16 comments
Labels

Comments

@HitsvilleUK
Copy link

HitsvilleUK commented Jan 28, 2017

Ombi Version:

V 2.0.1293

Update Branch:

Stable

Operating System:

Windows 10

Mono Version (only if your not on windows)

(Place text here)

Applicable Logs (from /logs/ directory or the Admin page):


Invalid Path
Ombi.Api.SonarrApi
Error
1/28/2017 7:30:31 PM
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Ombi.Api.Models.Sonarr.SonarrAddSeries' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array. Path '', line 1, position 1. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureArrayContract(JsonReader reader, Type objectType, JsonContract contract) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) 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.ApiRequest.ExecuteJson[T](IRestRequest request, Uri baseUri) in C:\projects\requestplex\Ombi.Api\ApiRequest.cs:line 120 at Ombi.Api.SonarrApi.<>c__DisplayClass8_1.b__2() in C:\projects\requestplex\Ombi.Api\SonarrApi.cs:line 137 at Polly.Policy.<>c__DisplayClass8_0`1.b__0() at Polly.RetrySyntax.<>c__DisplayClass14_0.b__1() at Polly.Retry.RetryEngine.Implementation[TResult](Func`1 action, IEnumerable`1 shouldRetryExceptionPredicates, IEnumerable`1 shouldRetryResultPredicates, Func`1 policyStateFactory) at Polly.RetrySyntax.<>c__DisplayClass14_1.b__0(Action action, Context context) at Polly.Policy.Execute[TResult](Func`1 action, Context context) at Ombi.Api.SonarrApi.AddSeries(Int32 tvdbId, String title, Int32 qualityId, Boolean seasonFolders, String rootPath, Int32 seasonCount, Int32[] seasons, String apiKey, Uri baseUrl, Boolean monitor, Boolean searchForMissingEpisodes) in C:\projects\requestplex\Ombi.Api\SonarrApi.cs:line 137
Ombi.Api.SonarrApi
Error
1/28/2017 7:30:31 PM
Exception when calling AddSeries for Sonarr, Retrying 00:00:02
Ombi.Api.SonarrApi
Error
1/28/2017 7:30:29 PM


Problem Description:

Guys I know this was reported earlier and closed as being fixed here
#994 by updating to 2.0.1293
But I have still never been able to get Sonarr to work. Radarr works fine. (same as in the previous report of this issue.
I run Ombi locally and connect to Sonarr on my Seedbox exactly as I do with Radarr.

Reproduction Steps:

@Ombi-robot
Copy link

Hi!
Thanks for the issue report. Before a real human comes by, please make sure you used our bug report format.
Before posting make sure you also read our FAQ and known issues.
Make the title describe your issue. Having "not working" or "I get this bug" for 100 issues, isn't really helpful.
If we need more information or there is some progress we tag the issue or update the tag and keep you updated.
Cheers!
Ombi Support Team

@Magikarplvl4
Copy link
Contributor

@HitsvilleUK, No problem, i can you help with this one.

Can you post a screenshot of your sonarr settings in Ombi?
First we need to know is what path that you config on your ombi settings.
You need to use path that exist on your exernal seedbox. Is it doesn't exist, Sonarr will return a error.

@HitsvilleUK
Copy link
Author

HitsvilleUK commented Jan 28, 2017

Oh sorry must have missed attaching it

@Magikarplvl4 Magikarplvl4 self-assigned this Jan 28, 2017
@Magikarplvl4
Copy link
Contributor

Okay i just deleted it beceause you can read the api key. Can you cover it a little bit beter? (just delete it with paint or something)

@HitsvilleUK
Copy link
Author

capture ombi

@Magikarplvl4
Copy link
Contributor

Can you post a printscreen from a random already show on your sonarr ?

@tidusjar
Copy link
Member

tidusjar commented Jan 28, 2017 via email

@HitsvilleUK
Copy link
Author

HitsvilleUK commented Jan 28, 2017

To clarify? You mean submit in the screenshot above?

@tidusjar
Copy link
Member

Just press save in the sonarr settings. It saves a hidden value behind the scenes which is new, that's why you need to press save again

@HitsvilleUK
Copy link
Author

Ah so in Sonarr itself. With you now.
Done that.. same error message.
Restarted the remote Sonarr & local Ombi... same result..
From Sonarr logs also still says

NzbDroneErrorPipeline
Invalid request Validation failed: -- Invalid Path

@tidusjar
Copy link
Member

Ah you might not be running the version with the fix.

Version 2.0.1312 is the latest EAP build

@HitsvilleUK
Copy link
Author

Ok thought it was fixed in 2.0.1293
Assuming auto update is still not working can you remind me where to find the zip for 2.0.1312

@tidusjar
Copy link
Member

Auto update works for some people, but it's here:
https://ci.appveyor.com/project/tidusjar/requestplex/branch/eap/artifacts

@HitsvilleUK
Copy link
Author

Ok will report back. Thanks for all the help to both yourself and @SuperPotatoMen

@HitsvilleUK
Copy link
Author

Ok error has gone when adding a show. The show doesn't appear in Sonarr but I think I saw that discussed as another issue. Will read up. Thanks again @tidusjar @SuperPotatoMen

@HitsvilleUK
Copy link
Author

Made same error as the last person who reported it. All is good. Awesome stuff

@Magikarplvl4 Magikarplvl4 removed their assignment Jan 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants