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 …
If it can help pin pointing the problem, I also have the following issues:
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
TV Show scanning takes a lot of time and seems stuck on the same TV Shows. Some other TV shows are never refreshed.
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.
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.
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 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.
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.