Sonarr losing connection and crashing

Sonarr version (exact version): 4.0.9.2244
Mono version (if Sonarr is not running on Windows): N/A
OS: MacOS Sonoma 14.6.1
Debug logs:
Description of issue:

I keep getting the “Sonarr has lost its connection to the backend and will need to be reloaded to restore functionality. etc” error.

The Reload button doesn’t do anything. The only way I’ve found to regain access to the Web UI is to force quite Sonarr in Activity Monitor, relaunch the application, and then it’s accessible again (for a brief while) via http://127.0.0.1:8989/

Sonarr is running on a headless machine alongside prowlarr, radarr, bazaar, qbit and plex, none of which are having this issue.

Generally, on relaunch, Sonarr might run seemingly as intended for maybe a day or so, then dies again.

Any ideas on what might be causing this, or what to try to help troubleshoot this?

Thank you

1 Like

Going to need logs as was requested in the post template. Should give some insight into why it is failing.

Here’s the log

Only seems to be about 3 minutes worth of logs during an RSS sync from the looks of it, so nothing pertinent to the issue in question unfortunately. Have to try and dig through all the log files to find the one that mentions the error.

Hm. That was the final log before it crashed (again). Shouldn’t this be the one with the error on it?

Can you provide me some pointers on what exactly I’m meant to be looking for in the log files please?

Sonarr crashes every few days. I’ve been through the most recent log files with a keyword search for ‘error’ and so far finding the below types:

sonarr.debug.txt

  • Error|VideoFileInfoReader|Unable to parse media info from file
  • Error|DetectSample|Failed to get runtime from the file, make sure ffprobe is available

sonarr.txt

  • |Error|RefreshSeriesService|Couldn’t rescan series
  • System.IO.IOException: Input/output error
  • at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
  • at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
  • |Warn|SonarrErrorPipeline|Invalid request Validation failed:
  • – : Query successful, but no results in the configured categories were returned from your indexer. This may be an issue with the indexer or your indexer category settings.

Thank you

Oh I have no idea unfortunately. Just that if anything is going to shed some light on the cause, it should be in the logs. But as to what, yeah I don’t know.

You might need to enable Trace level if there’s nothing apparent showing in Debug

Ok, I’m not sure then what the next steps are to resolve this.

Have enabled trace logs, Sonarr crashed again as usual.

The trace log file is too large to save in Hastebin, but there doesn’t appear to reference to any errors (keyword search “error” as before, and last several lines of log indicate normal processing).

Happy to share here, need to know what’s required though to share the log (or part of?).

Would very much appreciate some pointers here, Sonarr remains unusable until resolved.

Thank you

For anyone else coming across this post: The issue remains unresolved and I cannot share trace logs here without further instruction (refer previous update).

As its stands, Sonarr will crash every few days and is effectively non-functional. Shame, looked really promising at first, and Prowlarr, Radarr, Bazarr all work without a hitch, just need to find an alternative now for TV shows it seems :man_shrugging:

1 Like

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