Sonarr command line?

Hi folks,

Recently I’ve found that my indexers from Jackett go offline fairly regularly, usually overnight while I sleep. Neither Sonarr or Jackett have updated recently and I’ve changed nothing else, so hopefully just some passng weirdness - but I’ve found when it happens that the only way to get the indexers to test ok when it happens is to restart both Jackett and Sonarr, and then manually test them.

I’ve made a bash shortcut to automate restarting Jackett and Sonarr - I wondered though if there was a way to tell Sonarr from the commandline to test all indexers to save me going in and manually clicking on them all?

Thanks!

You can do it via the API.

How are they failing? (debug logs will tell you)

Hi Markus,

Thanks! I had a look in the logs - there’s basically a warn level event for each torznab component saying “x server is currently unavailable”, “the operation has timed out.” Will debug level provide more detail?

EDIT: just checked - I had my logs already set at debug level. Do I need trace?

You’ll get some more information from trace, but debug should be sufficient. Post logs that include that error and link them here, that’ll give us some insight, as will the information requested when opening a support thread (OS, Sonarr version, mono version, etc).

Thanks Markus - ok, let’s see:

Sonarr version: 2.0.0.5252
Mono version:: 5.16.0.179
OS: Ubuntu 18.04 LTS
Debug logs: https://www.dropbox.com/s/uli050g0x43ntlk/sonarr.txt?dl=0

Hopefully that all makes sense! Thanks for your help.

Jackett is returning an error to Sonarr for RARBG.

Based on the logs that’s the only one with issues, have you tried disabling it and using RARBG in Sonarr directly?

Hi Markus,

I actually have RARBG set up both natively and via jackett - thought that was another good way to mitigate the issues of jackett going down! I’m fairly sure (although not 100%) that there have been times since I’ve done that when the built-in RARBG support has also gone down with jackett, but that could just be coincidental.

I think the log file I passed along before happened to be from a fairly unexciting period, error wise. I’ve updated the link with the active log from yesterday, when the jackett indexers definitely all went down for a while. That said, I can’t say I see anything illuminating myself - other than it looks as if the built-in RARBG throws an error a view times as well?

Thanks again for your help, much appreciated :slight_smile:

Looks like it’s the same as this issue:

Downgrading mono would be the best step for now.

Interesting! I hadn’t considered the issue being Mono. Thanks, I’ll give that a try!

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