Debian armel install issues

Hi,

I’ve grabbed mono version 4.02 (from debian experimental - as all other versions don’t have a high enough version of mono it would appear for armel -3.2.8 is all that is listed for other versions of debian), and tried to get working with sonarr. However, I get the below error on attempting to launch. Any ideas?

mono --version
Mono JIT compiler version 4.0.2 (Debian 4.0.2.5+dfsg-2)
Copyright © 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+fallback
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

liam@dlinknas:~/NzbDrone$ mono NzbDrone.exe

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for NzbDrone.Console.ConsoleApp —> System.TypeInitializationException: An exception was thrown by the type initializer for NzbDrone.Common.Instrumentation.NzbDroneLogger —> System.TypeInitializationException: An exception was thrown by the type initializer for NLog.Common.InternalLogger —> System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. —> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section <system.net> (/home/liam/NzbDrone/NzbDrone.exe.config line 3)
at System.Configuration.ConfigInfo.ThrowException (System.String text, System.Xml.XmlReader reader) [0x00000] in :0
at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed, Boolean root) [0x00000] in :0
at System.Configuration.SectionGroupInfo.ReadRootData (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed) [0x00000] in :0
at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x00000] in :0
at System.Configuration.Configuration.Load () [0x00000] in :0
at System.Configuration.Configuration.Init (IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x00000] in :0
at System.Configuration.Configuration…ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x00000] in :0
at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000] in :0
at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly, System.String exePath) [0x00000] in :0
at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00000] in :0
— End of inner exception stack trace —
at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00000] in :0
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in :0
at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in :0
at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000] in :0
at NLog.Common.InternalLogger.GetSettingString (System.String configName, System.String envName) [0x00000] in :0
at NLog.Common.InternalLogger.GetSetting[Boolean] (System.String configName, System.String envName, Boolean defaultValue) [0x00000] in :0
at NLog.Common.InternalLogger…cctor () [0x00000] in :0
— End of inner exception stack trace —
at NLog.LogFactory.Dump (NLog.Config.LoggingConfiguration config) [0x00000] in :0
at NLog.LogFactory.set_Configuration (NLog.Config.LoggingConfiguration value) [0x00000] in :0
at NLog.LogManager.set_Configuration (NLog.Config.LoggingConfiguration value) [0x00000] in :0
at NzbDrone.Common.Instrumentation.NzbDroneLogger…cctor () [0x00000] in :0
— End of inner exception stack trace —
at NzbDrone.Console.ConsoleApp…cctor () [0x00000] in :0
— End of inner exception stack trace —
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for NzbDrone.Console.ConsoleApp —> System.TypeInitializationException: An exception was thrown by the type initializer for NzbDrone.Common.Instrumentation.NzbDroneLogger —> System.TypeInitializationException: An exception was thrown by the type initializer for NLog.Common.InternalLogger —> System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. —> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section <system.net> (/home/liam/NzbDrone/NzbDrone.exe.config line 3)
at System.Configuration.ConfigInfo.ThrowException (System.String text, System.Xml.XmlReader reader) [0x00000] in :0
at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed, Boolean root) [0x00000] in :0
at System.Configuration.SectionGroupInfo.ReadRootData (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed) [0x00000] in :0
at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x00000] in :0
at System.Configuration.Configuration.Load () [0x00000] in :0
at System.Configuration.Configuration.Init (IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x00000] in :0
at System.Configuration.Configuration…ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x00000] in :0
at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000] in :0
at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly, System.String exePath) [0x00000] in :0
at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00000] in :0
— End of inner exception stack trace —
at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00000] in :0
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in :0
at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in :0
at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000] in :0
at NLog.Common.InternalLogger.GetSettingString (System.String configName, System.String envName) [0x00000] in :0
at NLog.Common.InternalLogger.GetSetting[Boolean] (System.String configName, System.String envName, Boolean defaultValue) [0x00000] in :0
at NLog.Common.InternalLogger…cctor () [0x00000] in :0
— End of inner exception stack trace —
at NLog.LogFactory.Dump (NLog.Config.LoggingConfiguration config) [0x00000] in :0
at NLog.LogFactory.set_Configuration (NLog.Config.LoggingConfiguration value) [0x00000] in :0
at NLog.LogManager.set_Configuration (NLog.Config.LoggingConfiguration value) [0x00000] in :0
at NzbDrone.Common.Instrumentation.NzbDroneLogger…cctor () [0x00000] in :0
— End of inner exception stack trace —
at NzbDrone.Console.ConsoleApp…cctor () [0x00000] in :0
— End of inner exception stack trace —

Which version of Sonarr?

Sonarr doens’t rely on nLog configuration in NzbDrone.exe.config, in fact there is only one line in there that mentions nlog, but its not related to configuration.

You should always run mono with the --debug flag. mono --debug NzbDrone.exe

So, I grabbed the master from the linux install instructions. I have now got mono at version 3.12.0 direct from the mono-project page (after completely removing anything related to mono from the system in case there was a flaw with the debian repository).

If I run with the debug option I still have:

liam@dlinknas:~/NzbDrone$ mono --debug NzbDrone.exe

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for NzbDrone.Console.ConsoleApp —> System.TypeInitializationException: An exception was thrown by the type initializer for NzbDrone.Common.Instrumentation.NzbDroneLogger —> System.TypeInitializationException: An exception was thrown by the type initializer for NLog.Common.InternalLogger —> System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. —> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section <system.net> (/home/liam/NzbDrone/NzbDrone.exe.config line 3)
at System.Configuration.ConfigInfo.ThrowException (System.String text, System.Xml.XmlReader reader) [0x00000] in :0
at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed, Boolean root) [0x00000] in :0
at System.Configuration.SectionGroupInfo.ReadRootData (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed) [0x00000] in :0
at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x00000] in :0
at System.Configuration.Configuration.Load () [0x00000] in :0
at System.Configuration.Configuration.Init (IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x00000] in :0
at System.Configuration.Configuration…ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x00000] in :0
at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000] in :0
at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly, System.String exePath) [0x00000] in :0
at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00000] in :0
— End of inner exception stack trace —
at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00000] in :0
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in :0
at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in :0
at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000] in :0
at NLog.Common.InternalLogger.GetSettingString (System.String configName, System.String envName) [0x00000] in :0
at NLog.Common.InternalLogger.GetSetting[Boolean] (System.String configName, System.String envName, Boolean defaultValue) [0x00000] in :0
at NLog.Common.InternalLogger…cctor () [0x00000] in :0
— End of inner exception stack trace —
at NLog.LogFactory.Dump (NLog.Config.LoggingConfiguration config) [0x00000] in :0
at NLog.LogFactory.set_Configuration (NLog.Config.LoggingConfiguration value) [0x00000] in :0
at NLog.LogManager.set_Configuration (NLog.Config.LoggingConfiguration value) [0x00000] in :0
at NzbDrone.Common.Instrumentation.NzbDroneLogger…cctor () [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Instrumentation\NzbDroneLogger.cs:19
— End of inner exception stack trace —
at NzbDrone.Console.ConsoleApp…cctor () [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Console\ConsoleApp.cs:12
— End of inner exception stack trace —
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for NzbDrone.Console.ConsoleApp —> System.TypeInitializationException: An exception was thrown by the type initializer for NzbDrone.Common.Instrumentation.NzbDroneLogger —> System.TypeInitializationException: An exception was thrown by the type initializer for NLog.Common.InternalLogger —> System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. —> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section <system.net> (/home/liam/NzbDrone/NzbDrone.exe.config line 3)
at System.Configuration.ConfigInfo.ThrowException (System.String text, System.Xml.XmlReader reader) [0x00000] in :0
at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed, Boolean root) [0x00000] in :0
at System.Configuration.SectionGroupInfo.ReadRootData (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed) [0x00000] in :0
at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x00000] in :0
at System.Configuration.Configuration.Load () [0x00000] in :0
at System.Configuration.Configuration.Init (IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x00000] in :0
at System.Configuration.Configuration…ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x00000] in :0
at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000] in :0
at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly, System.String exePath) [0x00000] in :0
at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00000] in :0
— End of inner exception stack trace —
at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00000] in :0
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in :0
at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in :0
at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000] in :0
at NLog.Common.InternalLogger.GetSettingString (System.String configName, System.String envName) [0x00000] in :0
at NLog.Common.InternalLogger.GetSetting[Boolean] (System.String configName, System.String envName, Boolean defaultValue) [0x00000] in :0
at NLog.Common.InternalLogger…cctor () [0x00000] in :0
— End of inner exception stack trace —
at NLog.LogFactory.Dump (NLog.Config.LoggingConfiguration config) [0x00000] in :0
at NLog.LogFactory.set_Configuration (NLog.Config.LoggingConfiguration value) [0x00000] in :0
at NLog.LogManager.set_Configuration (NLog.Config.LoggingConfiguration value) [0x00000] in :0
at NzbDrone.Common.Instrumentation.NzbDroneLogger…cctor () [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Instrumentation\NzbDroneLogger.cs:19
— End of inner exception stack trace —
at NzbDrone.Console.ConsoleApp…cctor () [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Console\ConsoleApp.cs:12
— End of inner exception stack trace —

System.Configuration.ConfigurationErrorsException: Unrecognized configuration section  (/home/liam/NzbDrone/NzbDrone.exe.config line 3)

Please hastebin the contents of /home/liam/NzbDrone/NzbDrone.exe.config.

I’ve uploaded to pastebin at this url: http://pastebin.com/Dhpa2J3e

I can’t see anything that is obviously an error though?

Nor do I, but its complaining about line #3, which is: <system.net>

I’ve seen this exception before when working with IIS and .net web apps, though in those cases it was due to a missing installation on the Windows server. In this case this has something to do with mono, possibly something failed to compile in mono properly or it was left out or isn’t compatible with the system, but I’m not sure how to narrow it down from there.

Thank you for your fault finding markus101. I’ve since setup a spare raspi to run sonarr and nzbget and they are working fine so far.

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