Ombi: EAP - Ombi not seeing already requested movies from Radarr

Created on 22 Jan 2017  Â·  24Comments  Â·  Source: tidusjar/Ombi

Ombi Version:

V 2.0.1260

Update Branch:

Early Access Preview

Operating System:

Ubuntu Server 16.04

Mono Version (only if your not on windows)

4.4.2 (Stable 4.4.2.11/f72fe45)

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


System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Core.MovieSender.SendToRadarr (Ombi.Store.RequestedModel model, Ombi.Core.SettingModels.RadarrSettings settings) <0x419e36f0 + 0x000db> in :0 at Ombi.Core.MovieSender+d__20.MoveNext () <0x419e2920 + 0x006b7> in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7f397e5a42a0 + 0x00029> in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7f397e5a2170 + 0x000a7> in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7f397e5a20f0 + 0x0006b> in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7f397e5a20a0 + 0x0003a> in :0 at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x7f397e5a24a0 + 0x00017> in :0 at Ombi.UI.Modules.SearchModule+d__106.MoveNext () <0x4166b940 + 0x01c53> in :0  Ombi.UI.Modules.SearchModule    Fatal   1/22/2017 10:41:05 AM
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Ombi.Api.Models.Radarr.RadarrAddMovie' 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 (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract) <0x40ed8260 + 0x00193> in :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) <0x40ed7a00 + 0x000a7> in :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) <0x40e52240 + 0x000f7> in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) <0x40e4cb10 + 0x001e3> in :0  Ombi.Api.RadarrApi  Error   1/22/2017 10:41:05 AM
Failed caching queued items from Radarr Ombi.Services.Jobs.RadarrCacher Error   1/22/2017 10:40:02 AM
Failed caching queued items from Radarr Ombi.Services.Jobs.RadarrCacher Error   1/22/2017 10:35:52 AM

Problem Description:

I realize the current Radarr integration is considered beta but I wanted to ensure these issues are being looked at. Radarr is already far superior to Couchpotato in only a matter of a few weeks of development.

Two issues that are both related:

1 - Ombi is not seeing shows that are already added to Radarr
2 - If you request a movie that is already added to Radarr you get the error "Something went wrong"

Radarr is enabled with the correct settings and I can "Test Connectivity" without issue. I am also able to add new movies that haven't been requested.

Reproduction Steps:

1 - Have Radarr running and configured
2 - Enable Radarr integration in Ombi
3 - Browse for or request a movie that is already requested in Radarr

EAP branch Fixed in the next release bug / issue

Most helpful comment

Fixed!! Check out the latest eap branch :)

All 24 comments

Thanks, i'll get this fixed!

I'm not seeing this issue, can you post a screenshot of your Radarr settings?

Is there specific Radarr settings you want to see? Here is everything under General (API key blacked out): http://i.imgur.com/M3uw0oP.png

I just noticed now when I go to"Radarr (beta)" in Ombi I get this 500 internal server error. This is the only page that is having that issue for me in Ombi. I tried restarting Ombi but it's still happening.

Error Details

Nancy.RequestExecutionException: Oh noes! ---> Nancy.ViewEngines.ViewNotFoundException: Unable to locate view 'Radarr'
Currently available view engine extensions: sshtml,html,htm,cshtml,vbhtml
Locations inspected: views/request/admin/Integration/Radarr-en-US,views/request/admin/Integration/Radarr,request/admin/Integration/Radarr-en-US,request/admin/Integration/Radarr,views/request/admin/Radarr-en-US,views/request/admin/Radarr,request/admin/Radarr-en-US,request/admin/Radarr,views/Integration/Radarr-en-US,views/Integration/Radarr,Integration/Radarr-en-US,Integration/Radarr,views/Radarr-en-US,views/Radarr,Radarr-en-US,Radarr
Root path: /opt/ombi/Release
If you were expecting raw data back, make sure you set the 'Accept'-header of the request to correct format, for example 'application/json'
  at Nancy.ViewEngines.DefaultViewFactory.GetRenderedView (System.String viewName, System.Object model, Nancy.ViewEngines.ViewLocationContext viewLocationContext) <0x41cda000 + 0x008d3> in :0 
  at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Nancy.ViewEngines.DefaultViewFactory,object,object,Nancy.ViewEngines.ViewLocationContext)
  at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet] (System.Runtime.CompilerServices.CallSite site, System.Dynamic.T0 arg0, System.Dynamic.T1 arg1, System.Dynamic.T2 arg2, System.Dynamic.T3 arg3) <0x41cea150 + 0x001be> in :0 
  at (wrapper delegate-invoke) System.Func`6[System.Runtime.CompilerServices.CallSite,Nancy.ViewEngines.DefaultViewFactory,System.Object,System.Object,Nancy.ViewEngines.ViewLocationContext,System.Object]:invoke_TResult_T1_T2_T3_T4_T5 (System.Runtime.CompilerServices.CallSite,Nancy.ViewEngines.DefaultViewFactory,object,object,Nancy.ViewEngines.ViewLocationContext)
  at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Nancy.ViewEngines.DefaultViewFactory,object,object,Nancy.ViewEngines.ViewLocationContext)
  at Nancy.ViewEngines.DefaultViewFactory.RenderView (System.String viewName, System.Object model, Nancy.ViewEngines.ViewLocationContext viewLocationContext) <0x40661430 + 0x00be3> in :0 
  at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Nancy.ViewEngines.IViewFactory,string,object,Nancy.ViewEngines.ViewLocationContext)
  at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet] (System.Runtime.CompilerServices.CallSite site, System.Dynamic.T0 arg0, System.Dynamic.T1 arg1, System.Dynamic.T2 arg2, System.Dynamic.T3 arg3) <0x41cea150 + 0x001be> in :0 
  at (wrapper delegate-invoke) System.Func`6[System.Runtime.CompilerServices.CallSite,Nancy.ViewEngines.IViewFactory,System.String,System.Object,Nancy.ViewEngines.ViewLocationContext,System.Object]:invoke_TResult_T1_T2_T3_T4_T5 (System.Runtime.CompilerServices.CallSite,Nancy.ViewEngines.IViewFactory,string,object,Nancy.ViewEngines.ViewLocationContext)
  at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Nancy.ViewEngines.IViewFactory,string,object,Nancy.ViewEngines.ViewLocationContext)
  at Nancy.Responses.Negotiation.ViewProcessor.Process (Nancy.Responses.Negotiation.MediaRange requestedMediaRange, System.Object model, Nancy.NancyContext context) <0x40660c40 + 0x001a6> in :0 
  at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Nancy.Responses.Negotiation.IResponseProcessor,string,object,Nancy.NancyContext)
  at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet] (System.Runtime.CompilerServices.CallSite site, System.Dynamic.T0 arg0, System.Dynamic.T1 arg1, System.Dynamic.T2 arg2, System.Dynamic.T3 arg3) <0x41cea150 + 0x001be> in :0 
  at (wrapper delegate-invoke) System.Func`6[System.Runtime.CompilerServices.CallSite,Nancy.Responses.Negotiation.IResponseProcessor,System.String,System.Object,Nancy.NancyContext,System.Object]:invoke_TResult_T1_T2_T3_T4_T5 (System.Runtime.CompilerServices.CallSite,Nancy.Responses.Negotiation.IResponseProcessor,string,object,Nancy.NancyContext)
  at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Nancy.Responses.Negotiation.IResponseProcessor,string,object,Nancy.NancyContext)
  at Nancy.Responses.Negotiation.DefaultResponseNegotiator.NegotiateResponse (IEnumerable`1 compatibleHeaders, Nancy.Responses.Negotiation.NegotiationContext negotiationContext, Nancy.NancyContext context) <0x4065f070 + 0x0047b> in :0 
  at Nancy.Responses.Negotiation.DefaultResponseNegotiator.CreateResponse (IList`1 compatibleHeaders, Nancy.Responses.Negotiation.NegotiationContext negotiationContext, Nancy.NancyContext context) <0x4065ee40 + 0x0002b> in :0 
  at Nancy.Responses.Negotiation.DefaultResponseNegotiator.NegotiateResponse (System.Object routeResult, Nancy.NancyContext context) <0x40646b30 + 0x0079b> in :0 
  at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Nancy.Responses.Negotiation.IResponseNegotiator,object,Nancy.NancyContext)
  at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet] (System.Runtime.CompilerServices.CallSite site, System.Dynamic.T0 arg0, System.Dynamic.T1 arg1, System.Dynamic.T2 arg2) <0x41cd5690 + 0x001b9> in :0 
  at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Nancy.Responses.Negotiation.IResponseNegotiator,object,Nancy.NancyContext)
  at Nancy.Routing.DefaultRouteInvoker+<>c__DisplayClassa.b__6 (System.Threading.Tasks.Task`1 completedTask) <0x41cd7af0 + 0x005db> in :0 
  --- End of inner exception stack trace ---
  at Nancy.NancyEngine.InvokeOnErrorHook (Nancy.NancyContext context, Nancy.ErrorPipeline pipeline, System.Exception ex) <0x4013cfe0 + 0x002d7> in :0 

Can you upgrade to the latest eap version and try now?

On Mon, 23 Jan 2017, 10:38 pm mizled, notifications@github.com wrote:

Is there specific Radarr settings you want to see? Here is everything
under General (API key blacked out): http://i.imgur.com/M3uw0oP.png

I just noticed now when I go to"Radarr (beta)" in Ombi I get this 500
internal server error. This is the only page that is having that issue for
me in Ombi. I tried restarting Ombi but it's still happening.

Error Details

Nancy.RequestExecutionException: Oh noes! ---> Nancy.ViewEngines.ViewNotFoundException: Unable to locate view 'Radarr'
Currently available view engine extensions: sshtml,html,htm,cshtml,vbhtml
Locations inspected: views/request/admin/Integration/Radarr-en-US,views/request/admin/Integration/Radarr,request/admin/Integration/Radarr-en-US,request/admin/Integration/Radarr,views/request/admin/Radarr-en-US,views/request/admin/Radarr,request/admin/Radarr-en-US,request/admin/Radarr,views/Integration/Radarr-en-US,views/Integration/Radarr,Integration/Radarr-en-US,Integration/Radarr,views/Radarr-en-US,views/Radarr,Radarr-en-US,Radarr
Root path: /opt/ombi/Release
If you were expecting raw data back, make sure you set the 'Accept'-header of the request to correct format, for example 'application/json'
at Nancy.ViewEngines.DefaultViewFactory.GetRenderedView (System.String viewName, System.Object model, Nancy.ViewEngines.ViewLocationContext viewLocationContext) <0x41cda000 + 0x008d3> in :0
at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Nancy.ViewEngines.DefaultViewFactory,object,object,Nancy.ViewEngines.ViewLocationContext)
at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet] (System.Runtime.CompilerServices.CallSite site, System.Dynamic.T0 arg0, System.Dynamic.T1 arg1, System.Dynamic.T2 arg2, System.Dynamic.T3 arg3) <0x41cea150 + 0x001be> in :0
at (wrapper delegate-invoke) System.Func6[System.Runtime.CompilerServices.CallSite,Nancy.ViewEngines.DefaultViewFactory,System.Object,System.Object,Nancy.ViewEngines.ViewLocationContext,System.Object]:invoke_TResult_T1_T2_T3_T4_T5 (System.Runtime.CompilerServices.CallSite,Nancy.ViewEngines.DefaultViewFactory,object,object,Nancy.ViewEngines.ViewLocationContext) at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Nancy.ViewEngines.DefaultViewFactory,object,object,Nancy.ViewEngines.ViewLocationContext) at Nancy.ViewEngines.DefaultViewFactory.RenderView (System.String viewName, System.Object model, Nancy.ViewEngines.ViewLocationContext viewLocationContext) <0x40661430 + 0x00be3> in :0 at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Nancy.ViewEngines.IViewFactory,string,object,Nancy.ViewEngines.ViewLocationContext) at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet] (System.Runtime.CompilerServices.CallSite site, System.Dynamic.T0 arg0, System.Dynamic.T1 arg1, System.Dynamic.T2 arg2, System.Dynamic.T3 arg3) <0x41cea150 + 0x001be> in :0 at (wrapper delegate-invoke) System.Func6[System.Runtime.CompilerServices.CallSite,Nancy.ViewEngines.IViewFactory,System.String,System.Object,Nancy.ViewEngines.ViewLocationContext,System.Object]:invoke_TResult_T1_T2_T3_T4_T5 (System.Runtime.CompilerServices.CallSite,Nancy.ViewEngines.IViewFactory,string,object,Nancy.ViewEngines.ViewLocationContext)
at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Nancy.ViewEngines.IViewFactory,string,object,Nancy.ViewEngines.ViewLocationContext)
at Nancy.Responses.Negotiation.ViewProcessor.Process (Nancy.Responses.Negotiation.MediaRange requestedMediaRange, System.Object model, Nancy.NancyContext context) <0x40660c40 + 0x001a6> in :0
at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Nancy.Responses.Negotiation.IResponseProcessor,string,object,Nancy.NancyContext)
at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet] (System.Runtime.CompilerServices.CallSite site, System.Dynamic.T0 arg0, System.Dynamic.T1 arg1, System.Dynamic.T2 arg2, System.Dynamic.T3 arg3) <0x41cea150 + 0x001be> in :0
at (wrapper delegate-invoke) System.Func6[System.Runtime.CompilerServices.CallSite,Nancy.Responses.Negotiation.IResponseProcessor,System.String,System.Object,Nancy.NancyContext,System.Object]:invoke_TResult_T1_T2_T3_T4_T5 (System.Runtime.CompilerServices.CallSite,Nancy.Responses.Negotiation.IResponseProcessor,string,object,Nancy.NancyContext) at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Nancy.Responses.Negotiation.IResponseProcessor,string,object,Nancy.NancyContext) at Nancy.Responses.Negotiation.DefaultResponseNegotiator.NegotiateResponse (IEnumerable1 compatibleHeaders, Nancy.Responses.Negotiation.NegotiationContext negotiationContext, Nancy.NancyContext context) <0x4065f070 + 0x0047b> in :0
at Nancy.Responses.Negotiation.DefaultResponseNegotiator.CreateResponse (IList1 compatibleHeaders, Nancy.Responses.Negotiation.NegotiationContext negotiationContext, Nancy.NancyContext context) <0x4065ee40 + 0x0002b> in :0 at Nancy.Responses.Negotiation.DefaultResponseNegotiator.NegotiateResponse (System.Object routeResult, Nancy.NancyContext context) <0x40646b30 + 0x0079b> in :0 at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Nancy.Responses.Negotiation.IResponseNegotiator,object,Nancy.NancyContext) at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet] (System.Runtime.CompilerServices.CallSite site, System.Dynamic.T0 arg0, System.Dynamic.T1 arg1, System.Dynamic.T2 arg2) <0x41cd5690 + 0x001b9> in :0 at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Nancy.Responses.Negotiation.IResponseNegotiator,object,Nancy.NancyContext) at Nancy.Routing.DefaultRouteInvoker+<>c__DisplayClassa.b__6 (System.Threading.Tasks.Task1 completedTask) <0x41cd7af0 + 0x005db> in :0
--- End of inner exception stack trace ---
at Nancy.NancyEngine.InvokeOnErrorHook (Nancy.NancyContext context, Nancy.ErrorPipeline pipeline, System.Exception ex) <0x4013cfe0 + 0x002d7> in :0

—
You are receiving this because you were assigned.

Reply to this email directly, view it on GitHub
https://github.com/tidusjar/Ombi/issues/978#issuecomment-274640577, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGVaLMr1QCyYXk4KFt-g5Rur6JzxN2s5ks5rVSvMgaJpZM4Lqa1L
.

Okay I updated to EAP 2.0.1269 and the Radarr page in Ombi works again.

Here are is my Ombi Radarr page settings: http://i.imgur.com/F8dqfVt.png Test connectivity works and I can add new movies but I still get an error when I request a movie already requested and they don't shows as "Requested" either.

Here is my error log from Ombi:

System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Core.MovieSender.SendToRadarr (Ombi.Store.RequestedModel model, Ombi.Core.SettingModels.RadarrSettings settings) <0x403b7990 + 0x000db> in :0 at Ombi.Core.MovieSender+d__20.MoveNext () <0x403b6f20 + 0x006e7> in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7f4c8bda42a0 + 0x00029> in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7f4c8bda2170 + 0x000a7> in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7f4c8bda20f0 + 0x0006b> in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7f4c8bda20a0 + 0x0003a> in :0 at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x7f4c8bda24a0 + 0x00017> in :0 at Ombi.UI.Modules.SearchModule+d__106.MoveNext () <0x403b2000 + 0x01c53> in :0  Ombi.UI.Modules.SearchModule    Fatal   1/23/2017 6:05:55 PM
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Ombi.Api.Models.Radarr.RadarrAddMovie' 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 (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract) <0x41c102d0 + 0x00193> in :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) <0x41c0fa70 + 0x000a7> in :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) <0x41b8a450 + 0x000f7> in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) <0x41b86bd0 + 0x001e3> in :0  Ombi.Api.RadarrApi  Error   1/23/2017 6:05:55 PM
Failed caching queued items from Radarr Ombi.Services.Jobs.RadarrCacher Error   1/23/2017 6:00:14 PM

Just as a test, I made a backup of my Ombi database and started Ombi "fresh" and I am still seeing the issues with Radarr integration on a new setup/configuration on the latest EAP (2.0.1284)

For instance the movie "Moana (2016)" is already on my watched list of Radarr. If I search for it on Ombi it shows "Not requested yet " and if I hit Request, I get a notification on the webpage saying "Moana (2016) was successfully added!" but in an email notification it says "Ombi: A request could not be added.
Hello! The user 'xxx' has requested Moana but it could not be added. This has been added into the requests queue and will keep retrying". This is the logs I see too:

System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Core.MovieSender.SendToRadarr (Ombi.Store.RequestedModel model, Ombi.Core.SettingModels.RadarrSettings settings) <0x418d8e30 + 0x00116> in :0 at Ombi.Core.MovieSender+d__20.MoveNext () <0x418d8060 + 0x006b7> in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7f993a5a42a0 + 0x00029> in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7f993a5a2170 + 0x000a7> in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7f993a5a20f0 + 0x0006b> in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7f993a5a20a0 + 0x0003a> in :0 at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x7f993a5a24a0 + 0x00017> in :0 at Ombi.UI.Modules.SearchModule+d__106.MoveNext () <0x418d3150 + 0x01c53> in :0  Ombi.UI.Modules.SearchModule    Fatal   1/25/2017 11:18:33 AM
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Ombi.Api.Models.Radarr.RadarrAddMovie' 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 (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract) <0x40f768b0 + 0x00193> in :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) <0x40f76050 + 0x000a7> in :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) <0x40ef0a00 + 0x000f7> in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) <0x40eeb630 + 0x001e3> in :0  Ombi.Api.RadarrApi  Error   1/25/2017 11:18:33 AM
System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Core.MovieSender.SendToRadarr (Ombi.Store.RequestedModel model, Ombi.Core.SettingModels.RadarrSettings settings) <0x418d8e30 + 0x00116> in :0 at Ombi.Core.MovieSender+d__20.MoveNext () <0x418d8060 + 0x006b7> in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7f993a5a42a0 + 0x00029> in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7f993a5a2170 + 0x000a7> in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7f993a5a20f0 + 0x0006b> in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7f993a5a20a0 + 0x0003a> in :0 at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x7f993a5a24a0 + 0x00017> in :0 at Ombi.UI.Modules.SearchModule+d__106.MoveNext () <0x418d3150 + 0x01c53> in :0  Ombi.UI.Modules.SearchModule    Fatal   1/25/2017 11:14:42 AM
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Ombi.Api.Models.Radarr.RadarrAddMovie' 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 (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract) <0x40f768b0 + 0x00193> in :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) <0x40f76050 + 0x000a7> in :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) <0x40ef0a00 + 0x000f7> in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) <0x40eeb630 + 0x001e3> in :0  Ombi.Api.RadarrApi  Error   1/25/2017 11:14:42 AM
Failed caching queued items from Radarr Ombi.Services.Jobs.RadarrCacher Error   1/25/2017 11:08:10 AM

Surely I am not the only one seeing these issues? I am trying to determine if this is an issue with my setup or actually a bug.

What's in the request queue? It's the Fault Queue in the settings

Request Title   Type    Fault Type  LastRetry   Error Description
Moana   Movie   RequestFault    1/25/2017 4:21:10 PM    Object reference not set to an instance of an object

Was that movie already in Radarr?

I made some changes in the latest EAP, can you give it a go?

Yes, this is a movie that is already in Radarr (that's what I already mentioned). I just tried your latest changes and that did not fix it.

It seems to me that the issue is with the Radarr Cacher job not working. I see failures every hour which seems like that is why Ombi does not know the movie is already requested?

This series has already been added  Ombi.Core.MovieSender   Error   1/25/2017 5:13:17 PM
This series has already been added  Ombi.Core.MovieSender   Error   1/25/2017 5:13:02 PM
Failed caching queued items from Radarr Ombi.Services.Jobs.RadarrCacher Error   1/25/2017 5:11:11 PM
Failed caching queued items from Radarr Ombi.Services.Jobs.RadarrCacher Error   1/25/2017 5:08:10 PM
Failed caching queued items from Radarr Ombi.Services.Jobs.RadarrCacher Error   1/25/2017 4:08:10 PM
Failed caching queued items from Radarr Ombi.Services.Jobs.RadarrCacher Error   1/25/2017 3:08:10 PM
Failed caching queued items from Radarr Ombi.Services.Jobs.RadarrCacher Error   1/25/2017 2:08:10 PM
Failed caching queued items from Radarr Ombi.Services.Jobs.RadarrCacher Error   1/25/2017 1:08:10 PM
Failed caching queued items from Radarr Ombi.Services.Jobs.RadarrCacher Error   1/25/2017 12:08:10 PM

What version was Radarr implemented? I do not see it under
Developement 2.0.1236

I'd love to integrate it.

They/he added it in one of the recent early access preview branches. You would have to switch to that branch to see it I believe.

@mizled looking at the code, there should be an error logged what does it say?

The logs I have, I already posted. Are there any other logs I can send you ?

You could send me the API response from Radarr by putting this into your browser:

http://yourip:7878/api/movie?apikey=RadarrAPIKey

If you don't want to post the response on here you can email it to me at [email protected]

This is so I can 'mimic' your Radarr response to see if I can get the same issue, if I can then I can fix it :)

Okay thanks for looking into this. I just emailed you the API output as a text file because it is pretty big.

Fixed!! Check out the latest eap branch :)

Perfect! Thank you for fixing this! Seems to be working great now.

Is there any way to manually remove the one that is stuck in the fault queue? It keeps retrying and failing in the Radarr and Ombi logs.

Hmmm... The only way to do this is manually open up the database and remove the records.

You can do this by opening it up with a tool called SQLiteBrowser
Click the Browse Data tab, Select the RequestFaultQueue table and then highlight the rows and press Delete Record

image

Maybe a good to make to option for deleting and edit items in the failed queue?

Opened a new issue for that https://github.com/tidusjar/Ombi/issues/1012

Yeah, I guess just add a "x" next to them in the UI. Excellent Idea.

@tidusjar Thank you! I had an idea though. I deleted the movie from Radarr and on the next retry from Ombi it should get added to Radarr queue since it's no longer there. If not, I'll go your route and delete the record from the database.

True that should work!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tidusjar picture tidusjar  Â·  5Comments

TonyTheTechie picture TonyTheTechie  Â·  3Comments

arm3n picture arm3n  Â·  3Comments

ThePaulMichaels picture ThePaulMichaels  Â·  4Comments

theg1nger picture theg1nger  Â·  3Comments