Sonarr version (exact version): 2.0.0.5085
Mono version (if Sonarr is not running on Windows): 4.6.2.7
OS: Entware-ng
((Debug logs)):
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'NzbDrone.Console.ConsoleApp' threw an exception. ---> System.TypeInitializationException: The type initializer for 'NzbDrone.Common.Instrumentation.NzbDroneLogger' threw an exception. ---> System.TypeInitializationException: The type initializer for 'NLog.Common.InternalLogger' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section <system.net> (/opt/home/zach/NzbDrone/NzbDrone.exe.config line 3)
at System.Configuration.ConfigInfo.ThrowException (System.String text, System.Xml.XmlReader reader) [0x00007] in <d6de850e07274db588ca7c247bfa5ec6>:0
at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader reader, System.Configuration.Configuration config, System.Boolean overrideAllowed, System.Boolean root) [0x00170] in <d6de850e07274db588ca7c247bfa5ec6>:0
at System.Configuration.SectionGroupInfo.ReadRootData (System.Xml.XmlReader reader, System.Configuration.Configuration config, System.Boolean overrideAllowed) [0x00007] in <d6de850e07274db588ca7c247bfa5ec6>:0
at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x000ec] in <d6de850e07274db588ca7c247bfa5ec6>:0
at System.Configuration.Configuration.Load () [0x00052] in <d6de850e07274db588ca7c247bfa5ec6>:0
at System.Configuration.Configuration.Init (System.Configuration.Internal.IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x00065] in <d6de850e07274db588ca7c247bfa5ec6>:0
at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x0005c] in <d6de850e07274db588ca7c247bfa5ec6>:0
at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x0000e] in <d6de850e07274db588ca7c247bfa5ec6>:0
at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (System.Configuration.ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly, System.String exePath) [0x00107] in <d6de850e07274db588ca7c247bfa5ec6>:0
at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00011] in <d6de850e07274db588ca7c247bfa5ec6>:0
--- End of inner exception stack trace ---
at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00030] in <d6de850e07274db588ca7c247bfa5ec6>:0
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in <d6de850e07274db588ca7c247bfa5ec6>:0
at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00005] in <d6de850e07274db588ca7c247bfa5ec6>:0
at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000] in <d6de850e07274db588ca7c247bfa5ec6>:0
at NLog.Common.InternalLogger.GetSettingString (System.String configName, System.String envName) [0x00000] in <9aad9aae43be41d38b7fb2a230cbd542>:0
at NLog.Common.InternalLogger.GetSetting[T] (System.String configName, System.String envName, T defaultValue) [0x00000] in <9aad9aae43be41d38b7fb2a230cbd542>:0
at NLog.Common.InternalLogger.Reset () [0x00000] in <9aad9aae43be41d38b7fb2a230cbd542>:0
at NLog.Common.InternalLogger..cctor () [0x00010] in <9aad9aae43be41d38b7fb2a230cbd542>:0
--- End of inner exception stack trace ---
at NLog.Config.LoggingConfiguration.Dump () [0x00000] in <9aad9aae43be41d38b7fb2a230cbd542>:0
at NLog.LogFactory.set_Configuration (NLog.Config.LoggingConfiguration value) [0x0006f] in <9aad9aae43be41d38b7fb2a230cbd542>:0
at NLog.LogManager.set_Configuration (NLog.Config.LoggingConfiguration value) [0x00000] in <9aad9aae43be41d38b7fb2a230cbd542>:0
at NzbDrone.Common.Instrumentation.NzbDroneLogger..cctor () [0x00005] in <28afedda32c5499dab128da6b50bbb86>:0
--- End of inner exception stack trace ---
at NzbDrone.Console.ConsoleApp..cctor () [0x00000] in <74ba94cc8427412eb79f3aaf6c67ba4c>:0
--- End of inner exception stack trace ---
Description of issue:
When attempting to run NzbDrone with mono, I get the error above. While I did find two other topics on this specific subject, neither identified the specific issue and both have been closed. For posterity, I’ll include them here: