QSonarr won't start on Qnap

Sonarr version 2.0.0.4389
Mono version: 2.11.2
QMono version: 4.2.1.0
Firmware: 4.2.3 on a TS-251
((Debug logs)):

17-2-5 21:15:50.2|Info|NancyBootstrapper|Starting NzbDrone API
17-2-5 21:25:35.6|Info|Bootstrap|Starting Sonarr - /share/CACHEDEV2_DATA/.qpkg/QSonarr/NzbDrone/NzbDrone.exe - Version 2.0.0.4389
17-2-5 21:25:46.0|Info|AppFolderInfo|Data directory is being overridden to [/share/CACHEDEV2_DATA/SONARR_CONFIG]
17-2-5 21:25:46.7|Fatal|ConsoleApp|EPIC FAIL!

[v2.0.0.4389] TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Common.EnvironmentInfo.IRuntimeInfo —> TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Mono.EnvironmentInfo.MonoRuntimeProvider —> System.TypeInitializationException: The type initializer for ‘NzbDrone.Common.EnvironmentInfo.RuntimeInfoBase’ threw an exception. —> System.IO.FileNotFoundException: Could not find file “”
at System.IO.Directory.InsecureGetCurrentDirectory () <0x7f0c4f54cb70 + 0x0003a> in :0
at System.IO.Directory.GetCurrentDirectory () <0x7f0c4f54cae0 + 0x0000c> in :0
at NzbDrone.Common.EnvironmentInfo.RuntimeInfoBase.InternalIsProduction () <0x410a72e0 + 0x001ea> in :0
at NzbDrone.Common.EnvironmentInfo.RuntimeInfoBase…cctor () <0x410a72b0 + 0x0000b> in :0
— End of inner exception stack trace —
at NzbDrone.Mono.EnvironmentInfo.MonoRuntimeProvider…ctor (IServiceProvider serviceProvider, NLog.Logger logger) <0x410a70e0 + 0x0001f> in :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) <0x4108c860 + 0x004a3> in :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) <0x4108c860 + 0x0051f> in :0
at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.ResolveOptions options) <0x4108c800 + 0x00043> in :0
at TinyIoC.TinyIoCContainer+SingletonFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) <0x4108c630 + 0x000bf> in :0
at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) <0x4108bc50 + 0x000bc> in :0
— End of inner exception stack trace —
at TinyIoC.TinyIoCContainer+DelegateFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) <0x4108c4a0 + 0x00097> in :0
at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) <0x4108bc50 + 0x000bc> in :0

Description of issue:
QSonarr refuses to start! Have tried several different versions of Qmono to no avail.

Was Sonarr previously running or is this a fresh install?

Is that the latest release of QSonarr? That’s an old version of Sonarr, I’m not aware of any issues with that version offhand though.

Have you trued reinstalling the QSonarr package?

I reinstalled with a qpkg from a different source than before and it worked. My only guess is that I might have installed the wrong version of qsonarr for a different architecture…

You can go ahead and close this…

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.