Sonarr version (exact version): Not Sure
Mono version (if Sonarr is not running on Windows): Mono JIT compiler version 5.16.0.179
OS: Raspbian
Debug logs:
Description of issue: After running an apt update && apt upgrade, sonarr will no longer run. If I attempt to start it manually using “/usr/bin/mono --debug /opt/NzbDrone/NzbDrone.exe -nobrowser” I get the below error.
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.LogManager' threw an exception. ---> System.TypeInitializationException: The type initializer for 'NLog.LogFactory' threw an exception. ---> System.OverflowException: TimeSpan overflowed because the duration is too long.
at System.TimeSpan.Interval (System.Double value, System.Int32 scale) <0x74a03bc0 + 0x0010c> in <3833a6edf2074b959d3dab898627f0ac>:0
at System.TimeSpan.FromSeconds (System.Double value) <0x74a03e90 + 0x0001b> in <3833a6edf2074b959d3dab898627f0ac>:0
at NLog.LogFactory..cctor () [0x00000] in <94b2a4e8be134a208425f74d14f2331e>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at NLog.LogManager..cctor () [0x00000] in <94b2a4e8be134a208425f74d14f2331e>:0
--- End of inner exception stack trace ---
at NzbDrone.Common.Instrumentation.NzbDroneLogger..cctor () [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\Instrumentation\NzbDroneLogger.cs:21
--- End of inner exception stack trace ---
at NzbDrone.Console.ConsoleApp..cctor () [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Console\ConsoleApp.cs:13
--- End of inner exception stack trace ---
[ERROR] FATAL 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.LogManager' threw an exception. ---> System.TypeInitializationException: The type initializer for 'NLog.LogFactory' threw an exception. ---> System.OverflowException: TimeSpan overflowed because the duration is too long.
at System.TimeSpan.Interval (System.Double value, System.Int32 scale) <0x74a03bc0 + 0x0010c> in <3833a6edf2074b959d3dab898627f0ac>:0
at System.TimeSpan.FromSeconds (System.Double value) <0x74a03e90 + 0x0001b> in <3833a6edf2074b959d3dab898627f0ac>:0
at NLog.LogFactory..cctor () [0x00000] in <94b2a4e8be134a208425f74d14f2331e>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at NLog.LogManager..cctor () [0x00000] in <94b2a4e8be134a208425f74d14f2331e>:0
--- End of inner exception stack trace ---
at NzbDrone.Common.Instrumentation.NzbDroneLogger..cctor () [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\Instrumentation\NzbDroneLogger.cs:21
--- End of inner exception stack trace ---
at NzbDrone.Console.ConsoleApp..cctor () [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Console\ConsoleApp.cs:13
--- End of inner exception stack trace ---