Sonarr crashing and strange errors

Hi

I’m running Sonarr 2.0.0.4326 on my Asustor NAS. It’s been running fine for months and I haven’t had any issues with it until Saturday when the Sonarr (or WebUI) crashed. I couldn’t get back into the WebUI even after restarting the app on the NAS and restarting the NAS. I have also tried uninstalling and reinstalling Mono

I have uninstalled and reinstalled the app and I’m now left with the following issues.

  1. The WebUI crashes quite often, especially after trying to add a new series. Pretty much after adding every series
  2. Getting the following error intermittently while searching for a new series “If the series title contains non-alphanumeric characters”

Any advise please?

Crashes is pretty broad, what exactly happens?
Which browser?
Have you tried another browser?

What do the ((debug logs)) show?

Which version on Mono?

Markus101

Crashes - the webUI stops responding all together. It’s as if the web page doesn’t exist. I can access other websites/apps (Couchpotato, SAB, Headphones) on the same NAS.

I have tried IE11 but Chrome is my default browser.

Sorry but how do I get to the debug logs?

I do get this type of error in the System log although this has only happened since reinstalling

Thanks

Sounds like Sonarr is crashing completely. We’ll need to know which version of mono you’re seeing this on. It would also be worth capturing the standard output and error of the mono process to a file in case Sonarr is unable to log that mono crashed since it goes down with it.

The link in my last post should explain it.

Mono is version 4.6.1.r1

I enabled debugging then tried to add a single series and the problem occurred again.

I have uploaded log files here

https://drive.google.com/open?id=0BxSwhlobtAiMSkU2bk1lOVJZQ00

I can see loads of entries like this which are all series that I did have in Sonarr before it crashed and I uninstalled and reinstalled

16-12-5 23:16:06.7|Debug|QualityParser|Trying to parse quality for The.Missing.S02E08.720p.HDTV.x264-BRISK
16-12-5 23:16:06.7|Debug|Parser|Quality parsed: HDTV-720p v1
16-12-5 23:16:06.7|Debug|Parser|Release Group parsed: BRISK

The “only” significant error I can see is the following

[v2.0.0.4326] System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x000cc] in /asustor/trunk_2016_11_09/x64_g1/source/mono-4.6.1/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:119 
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_generic_class_init (intptr)
  at System.Drawing.Image.Dispose (System.Boolean disposing) [0x00000] in /asustor/trunk_2016_11_09/x64_g1/source/mono-4.6.1/mcs/class/System.Drawing/System.Drawing/Image.cs:794 
  at System.Drawing.Image.Finalize () [0x00000] in /asustor/trunk_2016_11_09/x64_g1/source/mono-4.6.1/mcs/class/System.Drawing/System.Drawing/Image.cs:789

Tried adding “Close to the enemy” which is a series I already have part downloaded. Here is the log that was produced prior to the crash that ensued

16-12-5 23:49:20.9|Info|SeriesService|Adding Series [307831][Close to the Enemy] Path: [/volume1/Videos/1 - TV/Drama/Close to the Enemy/Close to the Enemy]
16-12-5 23:49:21.2|Debug|Api|[POST] /api/series: 201.Created (295 ms)
16-12-5 23:49:21.3|Warn|MediaCoverMapper|File /usr/local/AppCentral/sonarr/config/MediaCover/5/poster.jpg not found
16-12-5 23:49:21.3|Info|RefreshSeriesService|Updating Info for Close to the Enemy
16-12-5 23:49:22.4|Info|RefreshEpisodeService|Starting episode info refresh for: [307831][Close to the Enemy]
16-12-5 23:49:22.5|Info|RefreshEpisodeService|Finished episode refresh for series: [307831][Close to the Enemy].
16-12-5 23:49:22.5|Debug|RefreshSeriesService|Finished series refresh for Close to the Enemy
16-12-5 23:49:22.6|Info|DiskScanService|Scanning disk for Close to the Enemy
16-12-5 23:49:22.6|Debug|DiskScanService|Series folder doesn't exist: /volume1/Videos/1 - TV/Drama/Close to the Enemy/Close to the Enemy
16-12-5 23:49:22.6|Info|SeriesScannedHandler|[Close to the Enemy] was recently added, performing post-add actions
16-12-5 23:49:22.6|Debug|EpisodeMonitoredService|[Close to the Enemy] Setting episode monitored status.
16-12-5 23:49:22.6|Debug|EpisodeMonitoredService|Ignoring Episodes with Files
16-12-5 23:49:22.6|Debug|EpisodeMonitoredService|Ignoring Episodes without Files
16-12-5 23:49:22.8|Debug|XemProxy|Fetching Series IDs from
16-12-5 23:49:23.5|Debug|XemService|Scene numbering is not available for Close to the Enemy [307831]
16-12-5 23:49:23.5|Info|MediaCoverService|Downloading Fanart for [307831][Close to the Enemy] http://thetvdb.com/banners/fanart/original/307831-1.jpg
16-12-5 23:49:23.6|Debug|HttpClient|Downloading [http://thetvdb.com/banners/fanart/original/307831-1.jpg] to [/usr/local/AppCentral/sonarr/config/MediaCover/5/fanart.jpg]
16-12-5 23:49:23.7|Debug|Api|[GET] /api/system/task?sort_by=name&order=asc: 200.OK (6 ms)
16-12-5 23:49:23.7|Debug|Api|[GET] /api/system/task?sort_by=name&order=asc: 200.OK (6 ms)
16-12-5 23:49:24.2|Debug|HttpClient|Downloading Completed. took 0s
16-12-5 23:49:24.2|Debug|MediaCoverService|Resizing Fanart-360 for [307831][Close to the Enemy]
16-12-5 23:49:24.6|Debug|MediaCoverService|Couldn't resize media cover Fanart-360 for [307831][Close to the Enemy], using full size image instead.
16-12-5 23:49:24.6|Debug|MediaCoverService|Resizing Fanart-180 for [307831][Close to the Enemy]
16-12-5 23:49:24.6|Debug|MediaCoverService|Couldn't resize media cover Fanart-180 for [307831][Close to the Enemy], using full size image instead.
16-12-5 23:49:24.6|Info|MediaCoverService|Downloading Banner for [307831][Close to the Enemy] http://thetvdb.com/banners/graphical/307831-g2.jpg
16-12-5 23:49:24.6|Debug|HttpClient|Downloading [http://thetvdb.com/banners/graphical/307831-g2.jpg] to [/usr/local/AppCentral/sonarr/config/MediaCover/5/banner.jpg]
16-12-5 23:49:24.7|Debug|HttpClient|Downloading Completed. took 0s
16-12-5 23:49:24.7|Debug|MediaCoverService|Resizing Banner-70 for [307831][Close to the Enemy]
16-12-5 23:49:24.7|Debug|MediaCoverService|Couldn't resize media cover Banner-70 for [307831][Close to the Enemy], using full size image instead.
16-12-5 23:49:24.7|Debug|MediaCoverService|Resizing Banner-35 for [307831][Close to the Enemy]
16-12-5 23:49:24.7|Debug|MediaCoverService|Couldn't resize media cover Banner-35 for [307831][Close to the Enemy], using full size image instead.
16-12-5 23:49:24.7|Info|MediaCoverService|Downloading Poster for [307831][Close to the Enemy] http://thetvdb.com/banners/posters/307831-1.jpg
16-12-5 23:49:24.7|Debug|HttpClient|Downloading [http://thetvdb.com/banners/posters/307831-1.jpg] to [/usr/local/AppCentral/sonarr/config/MediaCover/5/poster.jpg]
16-12-5 23:49:25.4|Debug|HttpClient|Downloading Completed. took 0s
16-12-5 23:49:25.4|Debug|MediaCoverService|Resizing Poster-500 for [307831][Close to the Enemy]
16-12-5 23:49:25.4|Debug|MediaCoverService|Couldn't resize media cover Poster-500 for [307831][Close to the Enemy], using full size image instead.
16-12-5 23:49:25.4|Debug|MediaCoverService|Resizing Poster-250 for [307831][Close to the Enemy]
16-12-5 23:49:25.4|Debug|MediaCoverService|Couldn't resize media cover Poster-250 for [307831][Close to the Enemy], using full size image instead.
16-12-5 23:49:25.4|Debug|CleanMetadataService|Cleaning missing metadata files for series: Close to the Enemy
16-12-5 23:49:25.4|Info|MetadataService|Series folder does not exist, skipping metadata creation
16-12-5 23:49:25.5|Debug|GlobalExceptionHandlers|Minor Fail: The type initializer for 'System.Drawing.GDIPlus' threw an exception.

[v2.0.0.4326] System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000

That coupled with an older Sonarr version is the issue.

Crashing under mono 4.6 when libgdiplus was absent from the changelog of 2.0.0.4389 (2.0.0.4409 is now available).

So I need to update just Sonarr or both Sonarr and Mono?

In either case, where can I download the apk files from as my NAS is telling me that both apps are up to date?

Sorry if these are “nooby” questions. I freely admit that I know next to nothing about linux :frowning:

Or do I downgrade mono?

2.0.0.4326-r1 seems to be the latest version available to me

You could, but updating Sonarr fixes other things as well, so best to update Sonarr.

You’ll need to talk to the maintainer of that package to get an update, it’s not a package we maintain. You can see the available updates to Sonarr in System: Updates can be installed from the UI as well, though I don’t know if that will work with this package.

Thanks for all your help, managed to update Sonarr over SSH and all working now.

Andy

1 Like

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