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

Having issues with your DietPi installation, or, found a bug? Post it here.
nicheplayer
Posts: 39
Joined: Sat Jan 12, 2019 11:06 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by nicheplayer »

Joulinar wrote: Sat May 16, 2020 1:04 pm 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)
Found this on github: https://github.com/mono/mono/issues/19024

EDIT: Also noticed that apt update && apt install --reinstall nzbdrone grabs 2.0.0.5343 and not 2.0.0.5344.
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 »

nicheplayer wrote: Sat May 16, 2020 5:07 pm EDIT: Also noticed that apt update && apt install --reinstall nzbdrone grabs 2.0.0.5343 and not 2.0.0.5344.
Does this fix the issue?
User avatar
Joulinar
Posts: 2074
Joined: Sat Nov 16, 2019 12:49 am

Re: Sonarr/Radarr services failed on v6.29.2

Post by Joulinar »

usually packages should be installed from http://apt.sonarr.tv/

according Sonarr GitHub, there did not exist a version 2.0.0.5343
https://github.com/Sonarr/Sonarr/releases

Maybe the issue should be reported at Sonarr and ask for assistance.
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 »

lpuerto wrote: Sat May 16, 2020 9:17 pm
nicheplayer wrote: Sat May 16, 2020 5:07 pm EDIT: Also noticed that apt update && apt install --reinstall nzbdrone grabs 2.0.0.5343 and not 2.0.0.5344.
Does this fix the issue?
No. I installed the latest version of Sonarr from the web frontend and then ssshed into my pi to restart the service. Web frontend is now reporting I'm running 2.0.0.5344, so we'll see if it manages to stay up.
kazgor
Posts: 28
Joined: Sun Dec 17, 2017 10:18 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by kazgor »

nicheplayer wrote: Sun May 17, 2020 5:03 am No. I installed the latest version of Sonarr from the web frontend and then ssshed into my pi to restart the service. Web frontend is now reporting I'm running 2.0.0.5344, so we'll see if it manages to stay up.
Thats the version i am running that giving me theses crashes.. but i think it all started to happen so after 6.29.2.. what i can't
remember if these two updates happened relatively at the same time so can't point fingers at one or the other really.

So to stop me having to keep manually restart the service each time i've added a couple of extra lines into the Sonarr.service file.
a Fresh install would have these anyway but doesnt when upgrade from say V6.28

edit /etc/systemd/system/sonarr.service

under [Service] add

TimeoutStopSec=20
KillMode=process
Restart=on-failure


then restart the service

service sonarr restart


as i type this i can see uptime as been 54mins.. so yeah still crashing.
User avatar
Joulinar
Posts: 2074
Joined: Sat Nov 16, 2019 12:49 am

Re: Sonarr/Radarr services failed on v6.29.2

Post by Joulinar »

just for the records. Before any dietpi update, scripts will call apt-get update && apt-get upgrade. This way all available apt packages will be updated. Means it will update Sonarr as well. Probably someone of you could try to downgrade to a lower version and check how it will behave?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
kazgor
Posts: 28
Joined: Sun Dec 17, 2017 10:18 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by kazgor »

Joulinar wrote: Sun May 17, 2020 12:26 pm just for the records. Before any dietpi update, scripts will call apt-get update && apt-get upgrade. This way all available apt packages will be updated. Means it will update Sonarr as well. Probably someone of you could try to downgrade to a lower version and check how it will behave?
Hi ya.. im happy to downgrade but no idea how to do it.. any tips ?

Side note.. does apt update && apt install --reinstall nzbdrone remove anything, ie would i have to set everything back up.



some debug from latest.

saw the following the the debug below.

Could not exec mono-hang-watchdog, expected on path '/etc/../bin/mono-hang-watchdog' (errno 2)

Code: Select all

May 17 11:13:05 DietPi mono[15993]: [Debug] Parser: Parsing string 'Jade.Fever.S02E01.Mountains.to.Climb.720p.WEB.h264-CAFFEiNE-xpost'
May 17 11:13:05 DietPi mono[15993]: [Debug] Parser: Episode Parsed. Jade Fever - S02E01
May 17 11:13:05 DietPi mono[15993]: [Debug] Parser: Language parsed: English
May 17 11:13:05 DietPi mono[15993]: [Debug] QualityParser: Trying to parse quality for Jade.Fever.S02E01.Mountains.to.Climb.720p.WEB.h264-CAFFEiNE-xpost
May 17 11:13:05 DietPi mono[15993]: [Debug] Parser: Quality parsed: WEBDL-720p v1
May 17 11:13:05 DietPi mono[15993]: [Debug] Parser: Release Group parsed: CAFFEiNE
May 17 11:13:05 DietPi mono[15993]: [Debug] ParsingService: No matching series Jade Fever
May 17 11:13:05 DietPi mono[15993]: [Debug] DownloadDecisionMaker: Release rejected for the following reasons: [Permanent] Unknown Series
May 17 11:13:05 DietPi mono[15993]: [Debug] DownloadDecisionMaker: Processing release 'Jade.Fever.S01E12.Its.Not.Easy.Finding.Green.720p.WEB.h264-CAFFEiNE-xpost' from 'Nzb.su'
May 17 11:13:05 DietPi mono[15993]: [Debug] Parser: Parsing string 'Jade.Fever.S01E12.Its.Not.Easy.Finding.Green.720p.WEB.h264-CAFFEiNE-xpost'
May 17 11:13:05 DietPi mono[15993]: [Debug] Parser: Episode Parsed. Jade Fever - S01E12
May 17 11:13:05 DietPi mono[15993]: [Debug] Parser: Language parsed: English
May 17 11:13:05 DietPi mono[15993]: [Debug] QualityParser: Trying to parse quality for Jade.Fever.S01E12.Its.Not.Easy.Finding.Green.720p.WEB.h264-CAFFEiNE-xpost
May 17 11:13:05 DietPi mono[15993]: [Debug] Parser: Quality parsed: WEBDL-720p v1
May 17 11:13:05 DietPi mono[15993]: [Debug] Parser: Release Group parsed: CAFFEiNE
May 17 11:13:05 DietPi mono[15993]: [Debug] ParsingService: No matching series Jade Fever
May 17 11:13:05 DietPi mono[15993]: [Debug] DownloadDecisionMaker: Release rejected for the following reasons: [Permanent] Unknown Series
May 17 11:13:05 DietPi mono[15993]: [Info] RssSyncService: RSS Sync Completed. Reports found: 66, Reports grabbed: 0
May 17 11:13:05 DietPi mono[15993]: [Debug] PendingReleaseService: Removing failed releases from pending
May 17 11:28:35 DietPi mono[15993]: [Info] RssSyncService: Starting RSS Sync
May 17 11:28:35 DietPi mono[15993]: [Debug] FetchAndParseRssService: Available indexers 1
May 17 11:28:35 DietPi mono[15993]: [Debug] Newznab: Downloading Feed https://api.nzb.su/api?t=tvsearch&cat=5030,5040&extended=1&apikey=REMOVED&offset=0&limit=100
May 17 11:28:35 DietPi mono[15993]: =================================================================
May 17 11:28:35 DietPi mono[15993]:         Native Crash Reporting
May 17 11:28:35 DietPi mono[15993]: =================================================================
May 17 11:28:35 DietPi mono[15993]: Got a SIGSEGV while executing native code. This usually indicates
May 17 11:28:35 DietPi mono[15993]: a fatal error in the mono runtime or one of the native libraries
May 17 11:28:35 DietPi mono[15993]: used by your application.
May 17 11:28:35 DietPi mono[15993]: =================================================================
May 17 11:28:35 DietPi mono[15993]:         Native stacktrace:
May 17 11:28:35 DietPi mono[15993]: =================================================================
May 17 11:28:35 DietPi mono[15993]:          (No frames)
May 17 11:28:35 DietPi mono[15993]: =================================================================
May 17 11:28:35 DietPi mono[15993]:         Telemetry Dumper:
May 17 11:28:35 DietPi mono[15993]: =================================================================
May 17 11:28:35 DietPi mono[15993]: Pkilling 0x709fb440 from 0x70afc440
May 17 11:28:35 DietPi mono[15993]: Pkilling 0x710ff440 from 0x70afc440
May 17 11:28:35 DietPi mono[15993]: Pkilling 0x719ff440 from 0x70afc440
May 17 11:28:35 DietPi mono[15993]: Pkilling 0x70bfd440 from 0x70afc440
May 17 11:28:35 DietPi mono[15993]: Pkilling 0x70dff440 from 0x70afc440
May 17 11:28:35 DietPi mono[15993]: Pkilling 0x76917440 from 0x70afc440
May 17 11:28:35 DietPi mono[15993]: Pkilling 0x71fff440 from 0x70afc440
May 17 11:28:35 DietPi mono[15993]: Pkilling 0x716ff440 from 0x70afc440
May 17 11:28:35 DietPi mono[15993]: Pkilling 0x702ff440 from 0x70afc440
May 17 11:28:35 DietPi mono[15993]: Pkilling 0x76f728e0 from 0x70afc440
May 17 11:28:35 DietPi mono[15993]: Pkilling 0x713ff440 from 0x70afc440
May 17 11:28:35 DietPi mono[15993]: Pkilling 0x71cff440 from 0x70afc440
May 17 11:28:35 DietPi mono[15993]: Pkilling 0x70cfe440 from 0x70afc440
May 17 11:28:35 DietPi mono[15993]: Pkilling 0x72705440 from 0x70afc440
May 17 11:28:35 DietPi mono[15993]: Could not exec mono-hang-watchdog, expected on path '/etc/../bin/mono-hang-watchdog' (errno 2)
May 17 11:28:35 DietPi mono[15993]: Entering thread summarizer pause from 0x70afc440
May 17 11:28:35 DietPi mono[15993]: Finished thread summarizer pause from 0x70afc440.
May 17 11:28:35 DietPi mono[15993]: [Debug] FetchAndParseRssService: Found 82 from Newznab
May 17 11:28:35 DietPi mono[15993]: [Debug] FetchAndParseRssService: Found 82 reports
May 17 11:28:35 DietPi mono[15993]: [Info] DownloadDecisionMaker: Processing 82 releases


then once is starts up again... seems to do some Migration process... does this all the time after a crash.
Appreciate this is all probable Sonarr and not really something you guys should be supporting.

Code: Select all

ay 17 11:28:36 DietPi mono[15993]: [Debug] Parser: Parsing string 'Jade.Fever.S03E06.Eyes.on.the.Prize.720p.WEB.h264-CAFFEiNE-xpost'
May 17 11:28:36 DietPi mono[15993]: [Debug] Parser: Episode Parsed. Jade Fever - S03E06
May 17 11:28:36 DietPi mono[15993]: =================================================================
May 17 11:28:36 DietPi mono[15993]:         External Debugger Dump:
May 17 11:28:36 DietPi mono[15993]: =================================================================
May 17 11:28:36 DietPi mono[15993]: mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb
May 17 11:28:36 DietPi mono[15993]: [Debug] Parser: Language parsed: English
May 17 11:28:36 DietPi mono[15993]: [Debug] QualityParser: Trying to parse quality for Jade.Fever.S03E06.Eyes.on.the.Prize.720p.WEB.h264-CAFFEiNE-xpost
May 17 11:28:36 DietPi mono[15993]: [Debug] Parser: Quality parsed: WEBDL-720p v1
May 17 11:28:36 DietPi mono[15993]: [Debug] Parser: Release Group parsed: CAFFEiNE
May 17 11:28:36 DietPi mono[15993]: =================================================================
May 17 11:28:36 DietPi systemd[1]: sonarr.service: Main process exited, code=killed, status=6/ABRT
May 17 11:28:36 DietPi systemd[1]: sonarr.service: Unit entered failed state.
May 17 11:28:36 DietPi systemd[1]: sonarr.service: Failed with result 'signal'.
May 17 11:28:36 DietPi systemd[1]: sonarr.service: Service hold-off time over, scheduling restart.
May 17 11:28:36 DietPi systemd[1]: Stopped Sonarr (NzbDrone) Daemon.
May 17 11:28:36 DietPi systemd[1]: Started Sonarr (NzbDrone) Daemon.
May 17 11:28:39 DietPi mono[16881]: [Info] Bootstrap: Starting Sonarr - /opt/NzbDrone/NzbDrone.exe - Version 2.0.0.5344
May 17 11:28:41 DietPi mono[16881]: [Info] AppFolderInfo: Data directory is being overridden to [/mnt/dietpi_userdata/sonarr]
May 17 11:28:42 DietPi mono[16881]: [Debug] ProcessProvider: Found 0 processes with the name: NzbDrone.Console
May 17 11:28:42 DietPi mono[16881]: [Debug] ProcessProvider: Found 1 processes with the name: NzbDrone
May 17 11:28:42 DietPi mono[16881]: [Debug] ProcessProvider:  - [16881] NzbDrone
May 17 11:28:42 DietPi mono[16881]: [Info] Router: Application mode: Interactive
May 17 11:28:42 DietPi mono[16881]: [Debug] Router: Tray selected
May 17 11:28:43 DietPi mono[16881]: [Info] MigrationLogger: *** Migrating data source=/mnt/dietpi_userdata/sonarr/nzbdrone.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
May 17 11:28:44 DietPi mono[16881]: [Debug] MigrationLogger: Took: 00:00:01.1122444
May 17 11:28:44 DietPi mono[16881]: [Info] MigrationLogger: *** Migrating data source=/mnt/dietpi_userdata/sonarr/logs.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
May 17 11:28:44 DietPi mono[16881]: [Info] MigrationLogger: *** VersionMigration migrating ***
May 17 11:28:44 DietPi mono[16881]: [Debug] MigrationLogger: Beginning Transaction
May 17 11:28:44 DietPi mono[16881]: [Debug] MigrationLogger: CreateTable VersionInfo
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: CREATE TABLE "VersionInfo" ("Version" INTEGER NOT NULL)
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Took: 00:00:00.0550970
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Committing Transaction
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: VersionMigration migrated
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Took: 00:00:00.0673490
May 17 11:28:45 DietPi mono[16881]: [Info] MigrationLogger: *** VersionUniqueMigration migrating ***
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Beginning Transaction
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: CreateIndex VersionInfo (Version)
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: CREATE UNIQUE INDEX "UC_Version" ON "VersionInfo" ("Version" ASC)
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Took: 00:00:00.0090220
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: AlterTable VersionInfo
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger:
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Took: 00:00:00.0021350
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: CreateColumn VersionInfo AppliedOn DateTime
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: ALTER TABLE "VersionInfo" ADD COLUMN "AppliedOn" DATETIME
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Took: 00:00:00.0053310
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Committing Transaction
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: VersionUniqueMigration migrated
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Took: 00:00:00.0077250
May 17 11:28:45 DietPi mono[16881]: [Info] MigrationLogger: *** VersionDescriptionMigration migrating ***
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Beginning Transaction
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: AlterTable VersionInfo
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger:
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Took: 00:00:00.0009000
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: CreateColumn VersionInfo Description String
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: ALTER TABLE "VersionInfo" ADD COLUMN "Description" TEXT
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Took: 00:00:00.0022750
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Committing Transaction
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: VersionDescriptionMigration migrated
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Took: 00:00:00.0046080
May 17 11:28:45 DietPi mono[16881]: [Info] MigrationLogger: *** 1: InitialSetup migrating ***
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Beginning Transaction
May 17 11:28:45 DietPi mono[16881]: [Info] InitialSetup: Starting migration to 1
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: CreateTable Logs
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: CREATE TABLE "Logs" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Message" TEXT NOT NULL, "Time" DATETIME NOT NULL, "Logger" TEXT NOT NULL, "Method" TEXT, "Exception" TEXT, "ExceptionType" TEXT, "Level" TEXT NOT NULL)
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Took: 00:00:00.0046850
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: INSERT INTO "VersionInfo" ("Version", "AppliedOn", "Description") VALUES (1, '2020-05-17T10:28:45', 'InitialSetup')
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Committing Transaction
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: 1: InitialSetup migrated
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Took: 00:00:00.0419040
May 17 11:28:45 DietPi mono[16881]: [Info] MigrationLogger: *** 2: remove_tvrage_imdb_unique_constraint migrating ***
May 17 11:28:45 DietPi mono[16881]: [Debug] MigrationLogger: Beginning Transaction
User avatar
Joulinar
Posts: 2074
Joined: Sat Nov 16, 2019 12:49 am

Re: Sonarr/Radarr services failed on v6.29.2

Post by Joulinar »

easiest way would be to get the Debian package from Sonarr. But not sure if they offer old and archived versions.
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 »

Joulinar wrote: Sun May 17, 2020 12:26 pm just for the records. Before any dietpi update, scripts will call apt-get update && apt-get upgrade. This way all available apt packages will be updated. Means it will update Sonarr as well. Probably someone of you could try to downgrade to a lower version and check how it will behave?
I ran that, and it didn't get me to the latest version of Sonarr. I had to run the installer from the Sonarr web interface and then go into the terminal and restart the app.
nicheplayer
Posts: 39
Joined: Sat Jan 12, 2019 11:06 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by nicheplayer »

kazgor wrote: Sun May 17, 2020 12:40 pm
some debug from latest.

saw the following the the debug below.

Could not exec mono-hang-watchdog, expected on path '/etc/../bin/mono-hang-watchdog' (errno 2)
I've taken the problem over to the Sonarr discord. Their best suggestion thus far is to run sonarr in the console with

Code: Select all

mono --trace
, whatever that means.
Post Reply