Sonarr version (exact version): 2.0.0.5228
Mono version (if Sonarr is not running on Windows): 5.10.1.47
OS: FreeNAS
Debug logs:
root@sonarr_1:/usr/local/bin # ./mono /usr/local/share/sonarr/NzbDrone.exe --nobrowser --data/usr/local/sonarr
[Info] Bootstrap: Starting Sonarr - /usr/local/share/sonarr/NzbDrone.exe - Version 2.0.0.5228
[Info] Router: Application mode: Interactive
[Info] MigrationLogger: *** Migrating data source=/root/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] MigrationLogger: *** Migrating data source=/root/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] OwinHostController: Listening on the following URLs:
[Info] OwinHostController: http://*:8989/
[Fatal] ConsoleApp: EPIC FAIL!
[v2.0.0.5228] TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Host.Owin.MiddleWare.IOwinMiddleWare ---> TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Host.Owin.MiddleWare.NancyMiddleWare ---> TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Api.NancyBootstrapper ---> System.TypeInitializationException: The type initializer for 'Nancy.Bootstrapper.AppDomainAssemblyTypeScanner' threw an exception. ---> System.IO.FileNotFoundException
at (wrapper managed-to-native) System.Reflection.Assembly.LoadFrom(string,bool)
at System.Reflection.Assembly.ReflectionOnlyLoadFrom (System.String assemblyFile) [0x0000e] in <d7767e54cb234318be4a1e7ddd12ca51>:0
at Nancy.Bootstrapper.AppDomainAssemblyTypeScanner.LoadAssembliesWithNancyReferences () [0x0009e] in <63c44d6f8d7e4f339a987bf9eb94d931>:0
at Nancy.Bootstrapper.AppDomainAssemblyTypeScanner..cctor () [0x00061] in <63c44d6f8d7e4f339a987bf9eb94d931>:0
--- End of inner exception stack trace ---
at Nancy.Conventions.NancyConventions.BuildDefaultConventions () [0x00000] 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 <7b154c4ebae14bb98d2c2d5a3cebd316>:0
at NzbDrone.Api.NancyBootstrapper..ctor (TinyIoC.TinyIoCContainer tinyIoCContainer) [0x00000] in <7b154c4ebae14bb98d2c2d5a3cebd316>: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 <8faeb593f49341d6a7a6d2c3c281887c>: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 <8faeb593f49341d6a7a6d2c3c281887c>:0
at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.ResolveOptions options) [0x00009] in <8faeb593f49341d6a7a6d2c3c281887c>:0
at TinyIoC.TinyIoCContainer+SingletonFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x0003b] in <8faeb593f49341d6a7a6d2c3c281887c>:0
at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer+TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00026] in <8faeb593f49341d6a7a6d2c3c281887c>:0
at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x000de] in <8faeb593f49341d6a7a6d2c3c281887c>: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 <8faeb593f49341d6a7a6d2c3c281887c>:0
at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.ResolveOptions options) [0x00009] in <8faeb593f49341d6a7a6d2c3c281887c>:0
at TinyIoC.TinyIoCContainer+SingletonFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x0003b] in <8faeb593f49341d6a7a6d2c3c281887c>:0
at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer+TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00026] in <8faeb593f49341d6a7a6d2c3c281887c>:0
at TinyIoC.TinyIoCContainer.Resolve (System.Type resolveType, System.String name) [0x00012] in <8faeb593f49341d6a7a6d2c3c281887c>:0
at NzbDrone.Common.Composition.Container+<>c__DisplayClass12_0.<CreateSingletonImplementationFactory>b__0 (TinyIoC.TinyIoCContainer c, TinyIoC.NamedParameterOverloads p) [0x00026] in <8faeb593f49341d6a7a6d2c3c281887c>:0
at TinyIoC.TinyIoCContainer+DelegateFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00000] in <8faeb593f49341d6a7a6d2c3c281887c>: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 <8faeb593f49341d6a7a6d2c3c281887c>:0
at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer+TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00026] in <8faeb593f49341d6a7a6d2c3c281887c>:0
at TinyIoC.TinyIoCContainer.<ResolveAllInternal>b__134_2 (TinyIoC.TinyIoCContainer+TypeRegistration registration) [0x0000c] in <8faeb593f49341d6a7a6d2c3c281887c>:0
at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00045] in <d996b2ceeb5641bbaa23502b1558d56c>:0
at System.Linq.Enumerable+<CastIterator>d__34`1[TResult].MoveNext () [0x0005f] in <d996b2ceeb5641bbaa23502b1558d56c>:0
at System.Collections.Generic.EnumerableHelpers.ToArray[T] (System.Collections.Generic.IEnumerable`1[T] source, System.Int32& length) [0x00032] in <d996b2ceeb5641bbaa23502b1558d56c>:0
at System.Linq.Buffer`1[TElement]..ctor (System.Collections.Generic.IEnumerable`1[T] source) [0x00022] in <d996b2ceeb5641bbaa23502b1558d56c>:0
at System.Linq.OrderedEnumerable`1+<GetEnumerator>d__3[TElement].MoveNext () [0x0001e] in <d996b2ceeb5641bbaa23502b1558d56c>:0
at NzbDrone.Host.Owin.OwinAppFactory.BuildApp (Owin.IAppBuilder appBuilder) [0x00070] in <9b2a95f0b2a841b1ab89c8a2a5967336>: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 NzbDrone.Host.Owin.OwinAppFactory.CreateApp (System.Collections.Generic.List`1[T] urls) [0x0004e] in <9b2a95f0b2a841b1ab89c8a2a5967336>:0
at NzbDrone.Host.Owin.OwinHostController.StartServer () [0x0009c] in <9b2a95f0b2a841b1ab89c8a2a5967336>:0
at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00042] in <9b2a95f0b2a841b1ab89c8a2a5967336>:0
at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007b] in <9b2a95f0b2a841b1ab89c8a2a5967336>:0
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x00047] in <9b2a95f0b2a841b1ab89c8a2a5967336>:0
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x00075] in <9b2a95f0b2a841b1ab89c8a2a5967336>:0
at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x0002f] in <749f1419727b4f628034fdacb2834eb4>:0
Press enter to exit...
Description of issue:
Hi. I’m having an issue getting Sonarr to start in a FreeNAS jail. It was working for a long time until I received the xml error from an outdated mono.
I used pkg install mono and changed procname to /usr/local/bin/mono
Sonarr will not start anymore and I cannot figure out why. Any help would be appreciated!!
Thanks,
Travis