Sonarr/Radarr services failed on v6.29.2 Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
brtravel
Posts: 51
Joined: Sat Sep 16, 2017 2:04 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by brtravel »

MichaIng wrote: Sun May 10, 2020 10:03 pm@brtravel
What does the following show: curl -IL http://services.sonarr.tv/v1/ping

Code: Select all

root@DietPi:~# curl -IL http://services.sonarr.tv/v1/ping
HTTP/1.1 200 OK
Date: Mon, 11 May 2020 09:55:38 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Set-Cookie: __cfduid=dd1b45ea051ea150ef601a2b5eb79a0da1589190937; expires=Wed, 10-Jun-20 09:55:37 GMT; path=/; domain=.sonarr.tv; HttpOnly; SameSite=Lax
Vary: Accept-Encoding
Cache-Control: private
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
CF-Cache-Status: DYNAMIC
Server: cloudflare
CF-RAY: 591b06821f1a0213-SIN
cf-request-id: 02a4c2654b00000213a3aa0200000001
brtravel
Posts: 51
Joined: Sat Sep 16, 2017 2:04 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by brtravel »

MichaIng wrote: Sun May 10, 2020 10:03 pm Sonarr (besides on ARMv8) is an APT package, hence: apt update && apt install --reinstall nzbdrone
This is of course something all of your could try. Probably there was some faulty package or even mono version when DietPi v6.29 has been released. To update/reinstall mono: apt update && apt install --reinstall mono-runtime mono-complete

I tried this, checked Sonarr, updated to v6.30, checked Sonarr, tried the above reinstall again, checked Sonarr. Still the same, connection problems all over, whether on VPN or not.

I am seeing lots of this stuff in the Logs:

Code: Select all

SceneMappingService	Failed to Update Scene Mappings: Error: ConnectFailure (Connection refused): 'http://services.sonarr.tv/v1/scenemapping'	

SceneMappingService	Failed to Update Scene Mappings: Error: ConnectFailure (Connection refused): 'http://thexem.de/map/allNames?seasonNumbers=True&origin=tvdb'	

SceneMappingService	Updating Scene mappings

TaskExtensions	Task Error: Error: ConnectFailure (Connection refused): 'http://services.sonarr.tv/v1/update/master?version=2.0.0.5343&os=linux&runtimeVer=6.8.0.105&active=true'

ProxyCheck	Proxy Health Check failed: Error: ConnectFailure (Connection refused): 'http://services.sonarr.tv/v1/ping'	

MonoDebugCheck	Mono is not running with --debug switch
Is the "Mono is not running with --debug switch" significant?


And the curl command above still seems to have the same results (everything looks good here, right?)

Code: Select all

root@DietPi:~# curl -IL http://services.sonarr.tv/v1/ping
HTTP/1.1 200 OK
Date: Tue, 12 May 2020 12:40:51 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Set-Cookie: __cfduid=da5ee1f6f8132d3d85c1e654e603dd3251589287251; expires=Thu, 11-Jun-20 12:40:51 GMT; path=/; domain=.sonarr.tv; HttpOnly; SameSite=Lax
Vary: Accept-Encoding
Cache-Control: private
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
CF-Cache-Status: DYNAMIC
Server: cloudflare
CF-RAY: 592435e8eccdd9bc-SIN
cf-request-id: 02aa8005910000d9bc1da8d200000001
aftensleuk
Posts: 30
Joined: Sun Jul 21, 2019 8:27 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by aftensleuk »

I too am experiencing problems with halted Sonarr/Radarr services. I am using Dietpi 6.3. The errors have been occuring the last couple of weeks. Any suggestions for solution?

● sonarr.service - Sonarr (NzbDrone) Daemon (DietPi) │
│ Loaded: loaded (/etc/systemd/system/sonarr.service; disabled; vendor preset: enabled) │
│ Active: failed (Result: signal) since Thu 2020-05-14 20:17:44 CEST; 23h ago │
│ Process: 7281 ExecStart=/usr/bin/mono -O=-aot /opt/NzbDrone/NzbDrone.exe -nobrowser │
│ -data=/mnt/dietpi_userdata/sonarr (code=killed, signal=ABRT) │
│ Main PID: 7281 (code=killed, signal=ABRT) │
│ │
│ May 14 20:17:44 DietPi mono[7281]: at NLog.Targets.Wrappers.AsyncTargetWrapper:WriteEventsInQueue │
│ <0x00127> │
│ May 14 20:17:44 DietPi mono[7281]: at NLog.Targets.Wrappers.AsyncTargetWrapper:ProcessPendingEvents │
│ <0x000bb> │
│ May 14 20:17:44 DietPi mono[7281]: at Scheduler:TimerCB <0x0017f> │
│ May 14 20:17:44 DietPi mono[7281]: at │
│ System.Threading.QueueUserWorkItemCallback:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem <0x0005f> │
│ May 14 20:17:44 DietPi mono[7281]: at System.Threading.ThreadPoolWorkQueue:Dispatch <0x00237> │
│ May 14 20:17:44 DietPi mono[7281]: at System.Threading._ThreadPoolWaitCallback:PerformWaitCallback │
│ <0x00037> │
│ May 14 20:17:44 DietPi mono[7281]: at <Module>:runtime_invoke_bool <0x0007b> │
│ May 14 20:17:44 DietPi mono[7281]: ================================================================= │
│ May 14 20:17:44 DietPi systemd[1]: sonarr.service: Main process exited, code=killed, status=6/ABRT │
│ May 14 20:17:44 DietPi systemd[1]: sonarr.service: Failed with result 'signal'. │





● radarr.service - Radarr Daemon (DietPi) │
│ Loaded: loaded (/etc/systemd/system/radarr.service; disabled; vendor preset: enabled) │
│ Active: failed (Result: signal) since Thu 2020-05-14 20:18:20 CEST; 23h ago │
│ Process: 7342 ExecStart=/usr/bin/mono -O=-aot /opt/Radarr/Radarr.exe -nobrowser -data=/mnt/dietpi_userdata/radarr │
│ (code=killed, signal=ABRT) │
│ Main PID: 7342 (code=killed, signal=ABRT) │
│ │
│ May 14 20:18:20 DietPi mono[7342]: at System.Data.SQLite.UnsafeNativeMethods:sqlite3_close_v2 <0x00037> │
│ May 14 20:18:20 DietPi mono[7342]: at System.Data.SQLite.SQLiteBase:CloseConnectionV2 <0x000d3> │
│ May 14 20:18:20 DietPi mono[7342]: at System.Data.SQLite.SQLiteConnectionHandle:ReleaseHandle <0x000ab> │
│ May 14 20:18:20 DietPi mono[7342]: at System.Runtime.InteropServices.CriticalHandle:Cleanup <0x00077> │
│ May 14 20:18:20 DietPi mono[7342]: at System.Runtime.InteropServices.CriticalHandle:Dispose <0x00017> │
│ May 14 20:18:20 DietPi mono[7342]: at System.Runtime.InteropServices.CriticalHandle:Finalize <0x0002f> │
│ May 14 20:18:20 DietPi mono[7342]: at System.Object:runtime_invoke_virtual_void__this__ <0x0008b> │
│ May 14 20:18:20 DietPi mono[7342]: ================================================================= │
│ May 14 20:18:20 DietPi systemd[1]: radarr.service: Main process exited, code=killed, status=6/ABRT │
│ May 14 20:18:20 DietPi systemd[1]: radarr.service: Failed with result 'signal'.
nicheplayer
Posts: 39
Joined: Sat Jan 12, 2019 11:06 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by nicheplayer »

I updated DietPi last night and now can't seem to keep Sonarr running.
sonarr_error.png
User avatar
Joulinar
Posts: 2076
Joined: Sat Nov 16, 2019 12:49 am

Re: Sonarr/Radarr services failed on v6.29.2

Post by Joulinar »

pls can you try to start both manually

Code: Select all

/usr/bin/mono -O=-aot /opt/NzbDrone/NzbDrone.exe -nobrowser -data=/mnt/dietpi_userdata/sonarr
/usr/bin/mono -O=-aot /opt/Radarr/Radarr.exe -nobrowser -data=/mnt/dietpi_userdata/radarr
as well pls can you check log files located at

Code: Select all

/var/log/radarr
/var/log/sonarr
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
nicheplayer
Posts: 39
Joined: Sat Jan 12, 2019 11:06 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by nicheplayer »

I'm not using Radarr, but when I started Sonarr manually using the code below, things seemed to be going well up until:

Code: Select all

[Info] RssSyncService: Starting RSS Sync 

=================================================================
	Native Crash Reporting
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

=================================================================
	Native stacktrace:
=================================================================
	 (No frames) 


=================================================================
	Telemetry Dumper:
=================================================================
Pkilling 0x76fa08e0 from 0x714fd440
Pkilling 0x719ff440 from 0x714fd440
Pkilling 0x722ff440 from 0x714fd440
Pkilling 0x76947440 from 0x714fd440
Pkilling 0x6ed7b440 from 0x714fd440
Pkilling 0x6fbff440 from 0x714fd440
Could not exec mono-hang-watchdog, expected on path '/etc/../bin/mono-hang-watchdog' (errno 2)
Pkilling 0x716ff440 from 0x714fd440
Pkilling 0x71fff440 from 0x714fd440
Pkilling 0x728ff440 from 0x714fd440
Pkilling 0x6d4ff440 from 0x714fd440
Pkilling 0x713fc440 from 0x714fd440
Pkilling 0x6eeff440 from 0x714fd440
Pkilling 0x71cff440 from 0x714fd440
Pkilling 0x725ff440 from 0x714fd440
Pkilling 0x715fe440 from 0x714fd440
Pkilling 0x6fafe440 from 0x714fd440
Entering thread summarizer pause from 0x714fd440
Finished thread summarizer pause from 0x714fd440.

Waiting for dumping threads to resume

=================================================================
	External Debugger Dump:
=================================================================
mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x733d50f4):0x733d50e4  0a c0 a0 e1 30 40 8a e2 08 50 a0 e1 64 20 8d e5  ....0@...P..d ..
0x733d50f4  00 00 9c e5 04 10 9c e5 08 20 9c e5 0c 30 9c e5  ......... ...0..
0x733d5104  05 e0 a0 e1 10 c0 8c e2 04 00 5c e1 0f 00 ae e8  ..........\.....
0x733d5114  0e 50 a0 e1 f5 ff ff 1a 2b 30 d7 e5 02 00 53 e3  .P......+0....S.

=================================================================
	Managed Stacktrace:
=================================================================
	  at <unknown> <0xffffffff>
	  at System.Data.SQLite.UnsafeNativeMethods:sqlite3_step <0x00037>
[Warn] MediaCoverMapper: File /mnt/dietpi_userdata/sonarr/MediaCover/87/poster.jpg not found 
[Info] DownloadDecisionMaker: Processing 100 releases 
	  at System.Data.SQLite.SQLite3:Step <0x00117>
	  at System.Data.SQLite.SQLiteDataReader:NextResult <0x00823>
	  at System.Data.SQLite.SQLiteDataReader:.ctor <0x0031f>
	  at System.Data.SQLite.SQLiteDataReader:.ctor <0x0004f>
	  at System.Data.SQLite.SQLiteCommand:ExecuteReader <0x0004b>
	  at System.Data.SQLite.SQLiteCommand:ExecuteNonQuery <0x00037>
	  at System.Data.SQLite.SQLiteCommand:ExecuteNonQuery <0x0001f>
	  at NzbDrone.Core.Instrumentation.DatabaseTarget:Write <0x008c7>
	  at NLog.Targets.Target:Write <0x00047>
	  at NLog.Targets.Target:Write <0x0005f>
	  at NLog.Targets.Target:Write <0x0002b>
	  at NLog.Targets.Target:WriteAsyncThreadSafe <0x00217>
	  at NLog.Targets.Target:WriteAsyncLogEvents <0x00623>
	  at NLog.Targets.Target:WriteAsyncLogEvents <0x00037>
	  at NLog.Targets.Wrappers.AsyncTargetWrapper:WriteEventsInQueue <0x00127>
	  at NLog.Targets.Wrappers.AsyncTargetWrapper:ProcessPendingEvents <0x000bb>
	  at Scheduler:TimerCB <0x0017f>
	  at System.Threading.QueueUserWorkItemCallback:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem <0x0005f>
	  at System.Threading.ThreadPoolWorkQueue:Dispatch <0x00237>
	  at System.Threading._ThreadPoolWaitCallback:PerformWaitCallback <0x00037>
	  at <Module>:runtime_invoke_bool <0x0007b>
=================================================================
Aborted
root@DietPi:~# 
nicheplayer
Posts: 39
Joined: Sat Jan 12, 2019 11:06 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by nicheplayer »

var/log/sonarr/sonarr.txt contains:

20-5-15 22:17:39.7|Info|RssSyncService|Starting RSS Sync
20-5-15 22:17:44.0|Warn|MediaCoverMapper|File /mnt/dietpi_userdata/sonarr/MediaCover/87/poster.jpg not found
20-5-15 22:17:44.0|Info|DownloadDecisionMaker|Processing 100 releases
aftensleuk
Posts: 30
Joined: Sun Jul 21, 2019 8:27 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by aftensleuk »

Started using the command

Code: Select all

/usr/bin/mono -O=-aot /opt/NzbDrone/NzbDrone.exe -nobrowser -data=/mnt/dietpi_userdata/sonarr
Here's a crash report.

Code: Select all

=================================================================
	Native Crash Reporting
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

=================================================================
	Native stacktrace:
=================================================================
	 (No frames) 


=================================================================
	Telemetry Dumper:
=================================================================
Pkilling 0xb19ff430 from 0xaf1fe430
Pkilling 0xb22ff430 from 0xaf1fe430
Pkilling 0xb12fe430 from 0xaf1fe430
Pkilling 0xb6f56b00 from 0xaf1fe430
Pkilling 0xb08fe430 from 0xaf1fe430
Pkilling 0xb16ff430 from 0xaf1fe430
Pkilling 0xb6607430 from 0xaf1fe430
Pkilling 0xaebf0430 from 0xaf1fe430
Pkilling 0xb07fd430 from 0xaf1fe430
Pkilling 0xb13ff430 from 0xaf1fe430
Pkilling 0xb25ff430 from 0xaf1fe430
Pkilling 0xb09ff430 from 0xaf1fe430
Pkilling 0xaedff430 from 0xaf1fe430
Could not exec mono-hang-watchdog, expected on path '/etc/../bin/mono-hang-watchdog' (errno 2)
Entering thread summarizer pause from 0xaf1fe430
Finished thread summarizer pause from 0xaf1fe430.

Waiting for dumping threads to resume

=================================================================
	External Debugger Dump:
=================================================================
mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0xb307df6c):0xb307df5c  05 c0 a0 e1 30 40 85 e2 06 a0 a0 e1 64 20 8d e5  ....0@......d ..
0xb307df6c  00 00 9c e5 04 10 9c e5 08 20 9c e5 0c 30 9c e5  ......... ...0..
0xb307df7c  0a e0 a0 e1 10 c0 8c e2 04 00 5c e1 0f 00 ae e8  ..........\.....
0xb307df8c  0e a0 a0 e1 f5 ff ff 1a 2b 30 d7 e5 02 00 53 e3  ........+0....S.

=================================================================
	Managed Stacktrace:
=================================================================
	  at <unknown> <0xffffffff>
	  at System.Data.SQLite.UnsafeNativeMethods:sqlite3_step <0x00037>
	  at System.Data.SQLite.SQLite3:Step <0x00117>
	  at System.Data.SQLite.SQLiteDataReader:NextResult <0x00823>
	  at System.Data.SQLite.SQLiteDataReader:.ctor <0x0031f>
	  at System.Data.SQLite.SQLiteDataReader:.ctor <0x0004f>
	  at System.Data.SQLite.SQLiteCommand:ExecuteReader <0x0004b>
	  at System.Data.SQLite.SQLiteCommand:ExecuteNonQuery <0x00037>
	  at System.Data.SQLite.SQLiteCommand:ExecuteNonQuery <0x0001f>
	  at NzbDrone.Core.Instrumentation.DatabaseTarget:Write <0x008c7>
	  at NLog.Targets.Target:Write <0x00047>
	  at NLog.Targets.Target:Write <0x0005f>
	  at NLog.Targets.Target:Write <0x0002b>
	  at NLog.Targets.Target:WriteAsyncThreadSafe <0x00217>
	  at NLog.Targets.Target:WriteAsyncLogEvents <0x00623>
	  at NLog.Targets.Target:WriteAsyncLogEvents <0x00037>
	  at NLog.Targets.Wrappers.AsyncTargetWrapper:WriteEventsInQueue <0x00127>
	  at NLog.Targets.Wrappers.AsyncTargetWrapper:ProcessPendingEvents <0x000bb>
	  at Scheduler:TimerCB <0x0017f>
	  at System.Threading.QueueUserWorkItemCallback:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem <0x0005f>
	  at System.Threading.ThreadPoolWorkQueue:Dispatch <0x00237>
	  at System.Threading._ThreadPoolWaitCallback:PerformWaitCallback <0x00037>
	  at <Module>:runtime_invoke_bool <0x0007b>
=================================================================
Aborted
User avatar
Joulinar
Posts: 2076
Joined: Sat Nov 16, 2019 12:49 am

Re: Sonarr/Radarr services failed on v6.29.2

Post by Joulinar »

looks like this could be the issue.

Code: Select all

Could not exec mono-hang-watchdog, expected on path '/etc/../bin/mono-hang-watchdog' (errno 2)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
lpuerto
Posts: 10
Joined: Fri Mar 02, 2018 9:40 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by lpuerto »

In the same boat as you all. Radarr / Sonarr stop working for not reason at all and they have to be restarted manually or reboot the pi.

Using dietpi 6.3.
Post Reply