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

New shows added to Sonarr do not actually show up in Sonarr. New seasons added to existing shows do not search. #998

Closed
VanCityGuy opened this issue Jan 25, 2017 · 12 comments

Comments

@VanCityGuy
Copy link

Ombi Version:

V 2.0.1288

Update Branch:

Early Access Preview

Operating System:

Mac OSX 10.11.4

Mono Version (only if your not on windows)

4.6.2

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


No applicable logs

Problem Description:

I am able to request a TV show via Sonarr in Ombi, however, when I actually go to Sonarr the show is not there. I was testing this yesterday, and realised I was able to add additional seasons to shows that already existed and they become monitored in Sonarr, however when adding a new show, it says requested in Ombi, but does not show up in Sonarr.

When the existing show has seasons or episodes added, the just set the state to monitored. It should be monitored and searched. By contrast when adding a movie via Radarr it adds and searches for it.

Should I make this two separate issues? Or perhaps an issue for the first part and feature request for the second?

Reproduction Steps:

Have Sonarr set up in Ombi

Request a new TV show.

Ombi shows as successfully added.

Go to Sonarr, show is not listed.

@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

@VanCityGuy VanCityGuy changed the title New shows added to Sonarr do not actually show up in Sonarr. New seasons add to existing shows do not search. New shows added to Sonarr do not actually show up in Sonarr. New seasons added to existing shows do not search. Jan 25, 2017
@VanCityGuy
Copy link
Author

Updated to latest EAP update 2.0.1293. Still having the issue.

@tidusjar
Copy link
Member

Are there any relevant logs? /logs folder

@VanCityGuy
Copy link
Author

I couldn't see any logs being added when I attempted to add a show again, so I switched to Trace. It's quite verbose, but there is a lot there. Looks like it's just content preview showing all the episode metadata from tvrage.com. The show I tried to add is the Fresh Prince. When I switched to error level logs, and removed and readded the show, now additional logs where written.

@tidusjar
Copy link
Member

tidusjar commented Jan 26, 2017

With the Trace level we should see the request (In JSON) that was sent over to Sonarr with all of the options e.g.

"monitored" : true,
"title":"Fresh Price"
etc.

That is what I am looking for, it should be coming from the SonarrApi class.

@VanCityGuy
Copy link
Author

VanCityGuy commented Jan 26, 2017

2017-01-26.txt

I've attached the log, but I don't see any SonarrApi hits, but Omni ones. It's like it isn't even sending to Sonnar. It's odd because like I said, requesting a season of a show already in Sonnar works, but requesting a show that isn't doesn't seem to work.

@tidusjar
Copy link
Member

You are right, it's not going to Sonarr. You sure it's enabled in the settings?

@VanCityGuy
Copy link
Author

How embarrassing, I turned it off today while troubleshooting the invalid path issue. I turned it back on though, and now I'm back to the Invalid path issue, won't let me add it at all now. Here are the logs:

2017/01/26 00:45:21.221 Ombi.Api.ApiRequest Trace: Deserialzing Object 
2017/01/26 00:45:21.224 Ombi.Api.SonarrApi Error: 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<T> 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 (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract) [0x00058] in <607e95f78559498690f968784b884761>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.Object existingValue, System.String id) [0x00012] in <607e95f78559498690f968784b884761>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0007f] in <607e95f78559498690f968784b884761>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x0007a] in <607e95f78559498690f968784b884761>:0  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<T> 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 (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract) [0x00058] in <607e95f78559498690f968784b884761>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.Object existingValue, System.String id) [0x00012] in <607e95f78559498690f968784b884761>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0007f] in <607e95f78559498690f968784b884761>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x0007a] in <607e95f78559498690f968784b884761>:0 
2017/01/26 00:45:21.277 Ombi.Api.ApiRequest Trace: Api Content Response: 
2017/01/26 00:45:21.282 Ombi.Api.ApiRequest Trace: [
  {
    "propertyName": "RootFolderPath",
    "errorMessage": "Invalid Path",
    "attemptedValue": "3",
    "formattedMessageArguments": [],
    "formattedMessagePlaceholderValues": {
      "propertyName": "Root Folder Path",
      "propertyValue": "3"
    }
  }
] 
2017/01/26 00:45:21.285 Ombi.Api.ApiRequest Trace: Deserialzing Object 
2017/01/26 00:45:21.289 Ombi.Api.ApiRequest Trace: Finished Deserialzing Object 
2017/01/26 00:45:21.292 Ombi.Api.SonarrApi Error: Invalid Path 
2017/01/26 00:45:21.294 Ombi.UI.Modules.SearchModule Debug: Error with sending to sonarr. 
2017/01/26 00:46:00.930 Ombi.Services.Jobs.PlexAvailabilityChecker Debug: Requests that will be updated count 0 
 

@tidusjar
Copy link
Member

That helps. I'll take a look.

@VanCityGuy
Copy link
Author

Thanks for you and your team's dedication! I'm off to bed now, will jump back on tomorrow morning while at work.

tidusjar pushed a commit that referenced this issue Jan 27, 2017
@tidusjar
Copy link
Member

Just to let you know, you will need to go back into the Sonarr settings and just press save! It will then work.

@VanCityGuy
Copy link
Author

Just tested it out, and it's working now. New shows are now added to Sonarr! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants