Sonarr not importing

Hello everyone,

I was previously using Sickbeard with SAB and wanted to give a shot at Sonarr. In order to do so, I reinstalled my server from scratch to start working on clean image. Nevertheless, I am experiencing several issues but I’ll try to focus on a specific one:

From the Sonarr GUI I handpick a TV show and ask to download it via SAB, the download appears in SAB, verified, unpacked and flagued as “completed”. When I have a look at the “Completed” folder, the TV show folder is there with a video file in there waiting for Sonarr to come and pick it up … which unfortunately never happens …

I had a look at the logs but I can’t find anything useful so far … all I can see is a shit load of the following entry: https://drive.google.com/file/d/1bU1SieVGAUAB3GSB_3eFVv95uLgidyrw/view?usp=sharing

If someone could help me out or point me to the right direction, it would be appreciated :slight_smile:

FYI:
Sonarr v2.0.0.5228
Mono v4.2.3
SAB v2.3.4
OS Debian GNU/Linux 7 (wheezy)
Complete download handling : YES
Skip Free Space Check : YES (just in case)

If it can help pin pointing the problem, I also have the following issues:

  1. Performance issues, as soon as I restart the service, the website isn’t responding anymore and I am not able to SSH to my server (time outs). When I finally do, mono is taking 100% CPU

  2. TV Show scanning takes a lot of time and seems stuck on the same TV Shows. Some other TV shows are never refreshed.

  3. Automatic search for TV shows runs endlessly

Maybe some (or all) are related to the same root cause.

Please post the debug logs, not just one error from the logs table. You also should be running mono with the --debug switch.

It looks like the task queue in the DB might be in state where it can’t properly run, restarting Sonarr may help (outside of the Sonarr UI), but updating the DB in a sqlite editor would definitely do it. DELETE FROM Commands will clear it out.

Hello Markus,

I was facing some other issues today, nevertheless here is the log : https://drive.google.com/open?id=1sbuuX17TBuPn2TqGWn_CK2QPWhUAPl2T

As you can see I started Sonarr manually with the switch --debug but there is nothing usefull. Maybe the problem comes from the TV Show after Bleach ?

regarding the “DELETE * FROM Commands” (I guess you forgot the *) Would it be possible to perform that command right from a SSH shell ?

Those aren’t debug logs.

Also you should add the --debug switch to however you start Sonarr normally.

Which problem? Based on your second post there are a couple other possible issues, if it’s crashing during a disk rescan it could be an old, outdated libmediainfo running into a file that causes it to crash.

That I did. If you have sqlite installed then you should be able to do it via SSH (stop Sonarr first), I don’t know the commands for that though.

My bad, find here the debug logs : https://drive.google.com/open?id=1ePcL4OQ85V0F7GNTJEiJ5WzTLMyh8ZW3

Sonarr seems to scan all TV Shows and when it hits Broadchurch nothing more happens, mono takes 100%, the UI doesn’t respond anymore and the machine is extremly sluggish.

Ahh, in that case, enable trace logging then capture the standard output and error of the mono process, either via your startup script or starting Sonarr via ssh and redirecting the output to a file.

Also check which version of libmediainfo is installed, if it’s 0.7.x install the latest from the mediainfo repo (instead of whatever repo it’s coming from currently): https://mediaarea.net/en/MediaInfo

Actually MediaInfo is at the following version : MediaInfoLib - v0.7.58

I tried to follow their tuto but they don’t seem to have an ARM repo and my server has an ARM CPU :confused: : https://mediaarea.net/en/Repos

Regarding the trace logs, here they are : https://drive.google.com/open?id=1eT3zs1gnabDRs3sgPJoMrhZ3XHR7KqIB

Actually everthing goes pretty quickly and then the logging stops on the same episode as usual Broadchurch s01e03. I was surprised to received a notification on the phone for Money Heist saying it has imported an episode, and indeed as we can see in the logs that’s the case.

Nevertheless, the service stops responding and the logs don’t go any further than what you can see in my file.

Thanks for helping out !

Based on what the logs have, that ancient version of media info is likely the issue.

These aren’t of the console redirecting standard out and error to a file, but if it always happens on the same file, then it’s going to be an issue with mediainfo.

The fix is to update mediainfo, we can’t help you there, a work around (until Sonarr runs into a file mediainfo can’t handle at import time) is to disable Analyse Video Files (advanced Media Management setting), so the files already sorted can be scanned.

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