Radarr Stopped Working in Jail

xaser

Dabbler
Joined
Mar 8, 2020
Messages
34
Running 11.3-U5 and I have a jail with Sab, Radarr and Sonarr. I recently updated and upgraded by packages in the jail via shell (pgk update ; pgk upgrade) and restarted the NAS. Post restart, everything is working except that Radarr is not running anymore (can't connect to its IP/port and in shell it says "radarr not running?" when I try to stop/restart it). I thought maybe it had something to do with Mono so I also updated it 6.8. Here is the log:

Code:
[v0.2.0.1504] TinyIoC.TinyIoCResolutionException: Unable to resolve type: Radarr.Host.Owin.MiddleWare.IOwinMiddleWare ---> TinyIoC.TinyIoCResolutionException: Unable to resolve type: Radarr.Host.Owin.MiddleWare.NancyMiddleWare ---> TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Api.NancyBootstrapper ---> System.TypeLoadException: Parent class vtable failed to initialize, due to: VTable setup of type Radarr.Http.TinyIoCNancyBootstrapper failed assembly:/usr/local/share/radarr/Radarr.Http.dll type:TinyIoCNancyBootstrapper member:(null)
  at (wrapper managed-to-native) System.RuntimeTypeHandle.type_is_assignable_from(System.Type,System.Type)
  at System.RuntimeTypeHandle.CanCastTo (System.RuntimeType type, System.RuntimeType target) [0x00000] in <d0589e08942844f89c1958df70e21f3c>:0 
  at System.RuntimeType.IsAssignableFrom (System.Type c) [0x00020] in <d0589e08942844f89c1958df70e21f3c>:0 
  at System.Linq.Utilities+<>c__DisplayClass1_0`1[TSource].<CombinePredicates>b__0 (TSource x) [0x00000] in <95a2e95a4de046cfb23bebabca2308fd>:0 
  at System.Linq.Enumerable+WhereArrayIterator`1[TSource].MoveNext () [0x0002c] in <95a2e95a4de046cfb23bebabca2308fd>:0 
  at System.Linq.Enumerable+UnionIterator`1[TSource].GetNext () [0x00027] in <95a2e95a4de046cfb23bebabca2308fd>:0 
  at System.Linq.Enumerable+UnionIterator`1[TSource].MoveNext () [0x0005c] in <95a2e95a4de046cfb23bebabca2308fd>:0 
  at System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00029] in <95a2e95a4de046cfb23bebabca2308fd>:0 
  at Nancy.Conventions.NancyConventions.BuildDefaultConventions () [0x00057] in <63c44d6f8d7e4f339a987bf9eb94d931>:0 
  at Nancy.Conventions.NancyConventions..ctor () [0x00006] in <63c44d6f8d7e4f339a987bf9eb94d931>:0 
  at Nancy.Bootstrapper.NancyBootstrapperBase`1[TContainer]..ctor () [0x00011] in <63c44d6f8d7e4f339a987bf9eb94d931>:0 
  at Nancy.Bootstrapper.NancyBootstrapperWithRequestContainerBase`1[TContainer]..ctor () [0x0001f] in <63c44d6f8d7e4f339a987bf9eb94d931>:0 
  at NzbDrone.Api.TinyIoCNancyBootstrapper..ctor () [0x00000] in <e8f6eb8e17f3478fb51175e8bc373b17>:0 
  at NzbDrone.Api.NancyBootstrapper..ctor (TinyIoC.TinyIoCContainer tinyIoCContainer) [0x00000] in <e8f6eb8e17f3478fb51175e8bc373b17>:0 
  at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object[])
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00125] in <f4129e7549e945868e07146445e44ad5>:0 
   --- End of inner exception stack trace ---
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00139] in <f4129e7549e945868e07146445e44ad5>:0 
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.ResolveOptions options) [0x00009] in <f4129e7549e945868e07146445e44ad5>:0 
  at TinyIoC.TinyIoCContainer+SingletonFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x0003b] in <f4129e7549e945868e07146445e44ad5>:0 
  at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer+TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00026] in <f4129e7549e945868e07146445e44ad5>:0 
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x000de] in <f4129e7549e945868e07146445e44ad5>:0 
   --- End of inner exception stack trace ---
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00102] in <f4129e7549e945868e07146445e44ad5>:0 
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.ResolveOptions options) [0x00009] in <f4129e7549e945868e07146445e44ad5>:0 
  at TinyIoC.TinyIoCContainer+SingletonFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x0003b] in <f4129e7549e945868e07146445e44ad5>:0 
  at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer+TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00026] in <f4129e7549e945868e07146445e44ad5>:0 
  at TinyIoC.TinyIoCContainer.Resolve (System.Type resolveType, System.String name) [0x00012] in <f4129e7549e945868e07146445e44ad5>:0 
  at NzbDrone.Common.Composition.Container+<>c__DisplayClass12_0.<CreateSingletonImplementationFactory>b__0 (TinyIoC.TinyIoCContainer c, TinyIoC.NamedParameterOverloads p) [0x00026] in <f4129e7549e945868e07146445e44ad5>:0 
  at TinyIoC.TinyIoCContainer+DelegateFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00000] in <f4129e7549e945868e07146445e44ad5>:0 
   --- End of inner exception stack trace ---
  at TinyIoC.TinyIoCContainer+DelegateFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x0001d] in <f4129e7549e945868e07146445e44ad5>:0 
  at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer+TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00026] in <f4129e7549e945868e07146445e44ad5>:0 
  at TinyIoC.TinyIoCContainer+<>c__DisplayClass134_0.<ResolveAllInternal>b__2 (TinyIoC.TinyIoCContainer+TypeRegistration registration) [0x00011] in <f4129e7549e945868e07146445e44ad5>:0 
  at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00045] in <95a2e95a4de046cfb23bebabca2308fd>:0 
  at System.Linq.Enumerable+<CastIterator>d__34`1[TResult].MoveNext () [0x0005f] in <95a2e95a4de046cfb23bebabca2308fd>:0 
  at System.Collections.Generic.EnumerableHelpers.ToArray[T] (System.Collections.Generic.IEnumerable`1[T] source, System.Int32& length) [0x00032] in <95a2e95a4de046cfb23bebabca2308fd>:0 
  at System.Linq.Buffer`1[TElement]..ctor (System.Collections.Generic.IEnumerable`1[T] source) [0x00022] in <95a2e95a4de046cfb23bebabca2308fd>:0 
  at System.Linq.OrderedEnumerable`1+<GetEnumerator>d__3[TElement].MoveNext () [0x0001e] in <95a2e95a4de046cfb23bebabca2308fd>:0 
  at Radarr.Host.Owin.OwinAppFactory.BuildApp (Owin.IAppBuilder appBuilder) [0x00070] in <46e0e4399ebd4f5195d18a3fe8cf93e9>:0 
  at Microsoft.Owin.Hosting.Engine.HostingEngine.ResolveApp (Microsoft.Owin.Hosting.Engine.StartContext context) [0x000dc] in <156bc201d67344fc8c447eacc81c7678>:0 
  at Microsoft.Owin.Hosting.Engine.HostingEngine.Start (Microsoft.Owin.Hosting.Engine.StartContext context) [0x00059] in <156bc201d67344fc8c447eacc81c7678>:0 
  at Radarr.Host.Owin.OwinAppFactory.CreateApp (System.Collections.Generic.List`1[T] urls) [0x0004e] in <46e0e4399ebd4f5195d18a3fe8cf93e9>:0 
  at Radarr.Host.Owin.OwinHostController.StartServer () [0x0009c] in <46e0e4399ebd4f5195d18a3fe8cf93e9>:0 
  at Radarr.Host.NzbDroneServiceFactory.Start () [0x0001d] in <46e0e4399ebd4f5195d18a3fe8cf93e9>:0 
  at Radarr.Host.Router.Route (Radarr.Host.ApplicationModes applicationModes) [0x0007b] in <46e0e4399ebd4f5195d18a3fe8cf93e9>:0 
  at Radarr.Host.Bootstrap.Start (Radarr.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x00047] in <46e0e4399ebd4f5195d18a3fe8cf93e9>:0 
  at Radarr.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, Radarr.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x00075] in <46e0e4399ebd4f5195d18a3fe8cf93e9>:0 
  at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x0002f] in <9dc9e0cbeafd483f93cd15becfb6cc58>:0 

2021-1-2 18:15:35.8|Info|Bootstrap|Starting Radarr - /usr/local/share/radarr/Radarr.exe - Version 0.2.0.1504
2021-1-2 18:15:36.9|Info|AppFolderInfo|Data directory is being overridden to [/usr/local/radarr]
2021-1-2 18:15:37.3|Info|Router|Application mode: Interactive
2021-1-2 18:15:37.8|Info|MigrationLogger|*** Migrating data source=/usr/local/radarr/nzbdrone.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
2021-1-2 18:15:38.3|Info|MigrationLogger|*** Migrating data source=/usr/local/radarr/logs.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
2021-1-2 18:15:38.3|Info|OwinHostController|Listening on the following URLs:
2021-1-2 18:15:38.3|Info|OwinHostController|  http://*:7878/radarr/
2021-1-2 18:15:38.3|Info|OwinHostController|  http://*:7878/
2021-1-2 18:15:38.6|Fatal|ConsoleApp|EPIC FAIL!
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
I'm not sure you're going to have a lot of fun troubleshooting that.

I would just build a new jail (assuming you have the config already in a dataset outside the jail... but if not, what a great opportunity to do that).

I'm not sure that the older version (2, I think) of Radarr supports Mono 6.8... you may beed to go for the latest Radarr or even the nightly (which is excellent now, by the way) to run with that Mono version.
 

hertzsae

Contributor
Joined
Sep 23, 2014
Messages
118
Most of us aren't that adept at troubleshooting weird problems with the services we run. If you setup your system properly, it's easy to just delete your old jail and start a new one. Did you take a snapshot of you jail before you updated? If so, then just roll it back. Otherwise, I would backup my configs and start over.

I highly recommend having a separate jail for each service and keeping the configurations in mounted datasets. There are no major advantages to keeping all your services in one jail. You should be able to copy your current configs to the new datasets that you create so that you don't have to reconfigure sab/sonarr/radarr. Here's a pretty good guide, although the sab portion is a little dated as recent versions are compatible with python3.
 

xaser

Dabbler
Joined
Mar 8, 2020
Messages
34
I rolled back to an earlier snapshot and its working again. I am still not sure how I will go about upgrading the services. All 3 of these services are in a single jail (I should take some time to reinstall them in separate jails at some point in the future I guess).
 

hertzsae

Contributor
Joined
Sep 23, 2014
Messages
118
Now that you're back working, the good news is that you can slowly move to separate jails without risking what you currently have and having to do everything at once. Pick either Sonarr or Radarr and create a new jail for it. Then stop the service in your old jail and point the new one to Sab in your old jail. If you have problems, just shut down the new jail and start the old service back up. Once that's working and you're comfortable, do the same for the other. Finally create a jail for Sab and either give it the same IP as your old jail or point your new arr's to the new jail. Don't delete the old juail until you've been up and running for a while. Nice low stress project.
 
Top