In the radarr.service file, Restart=on-failure
is supposed to deal w/ that.
How do you make it happen? Using the restart built into Radarr? Or using the built in updater? I never use either, personally.
Git Clone URL: | https://aur.archlinux.org/radarr-bin.git (read-only, click to copy) |
---|---|
Package Base: | radarr-bin |
Description: | Movie organizer/manager for usenet and torrent users |
Upstream URL: | https://radarr.video |
Licenses: | GPL-3.0-or-later |
Groups: | servarr-bin |
Conflicts: | radarr |
Provides: | radarr |
Submitter: | txtsd |
Maintainer: | txtsd (fryfrog) |
Last Packager: | txtsd |
Votes: | 58 |
Popularity: | 2.22 |
First Submitted: | 2024-10-15 08:17 (UTC) |
Last Updated: | 2024-12-17 09:33 (UTC) |
In the radarr.service file, Restart=on-failure
is supposed to deal w/ that.
How do you make it happen? Using the restart built into Radarr? Or using the built in updater? I never use either, personally.
Any way to keep this from happening? Seems to happen when radarr tries to use it's built-in restarting mechanism rather than the systemd service:
$ ps aux | grep -i radarr
365:radarr 1582 2.5 0.3 2354004 218192 ? Rsl 08:43 0:33 /usr/bin/mono --debug /usr/lib/radarr/Radarr.exe -nobrowser -data=/var/lib/radarr
436:radarr 3495 47.3 0.0 235356 56148 ? Rl 09:05 0:01 /usr/bin/mono --debug /usr/lib/radarr/Radarr.exe /data=/var/lib/radarr /nobrowser /restart
Which causes the logs to fill up with messages that the IP radarr is using is already in use.
Thanks man!
The files had two versions in their name. I talked to @gallileo and he'll flip them from draft -> pre-release when they're ready. :)
Edit: File names are fixed now at least!
No worries, I haven't done a release here in awhile so I didn't want to break things. The only difference I see it not saying develop in the package name.
@onedr0p, the release up on github is a draft and weirdly named. I'm going to see what @gallileo says about it before updating. :/
@nicoulaj: Seems reasonable, updated this package and radarr-develop as well as a couple of the sonarr packages.
I think the service starts too early at boot, I can see this stack trace with the sonarr package that uses the exact systemd service file:
Sep 09 17:53:29 storm sonarr[852]: [Error] TaskExtensions: Task Error
Sep 09 17:53:29 storm sonarr[852]: [v2.0.0.5228] System.Net.WebException: DNS Name Resolution Failure: 'services.sonarr.tv'
Sep 09 17:53:29 storm sonarr[852]: at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x0015e] in <8faeb593f49341d6a7a6d2c3c281887c>:0
Sep 09 17:53:29 storm sonarr[852]: at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x000b5] in <8faeb593f49341d6a7a6d2c3c281887c>:0
Sep 09 17:53:29 storm sonarr[852]: at NzbDrone.Common.Http.HttpClient.ExecuteRequest (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookieContainer) [0x0007e] in <8faeb593f49341d6a7a6d2c3c281887c>:0
Sep 09 17:53:29 storm sonarr[852]: at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00008] in <8faeb593f49341d6a7a6d2c3c281887c>:0
Sep 09 17:53:29 storm sonarr[852]: at NzbDrone.Common.Http.HttpClient.Get (NzbDrone.Common.Http.HttpRequest request) [0x00007] in <8faeb593f49341d6a7a6d2c3c281887c>:0
Sep 09 17:53:29 storm sonarr[852]: at NzbDrone.Common.Http.HttpClient.Get[T] (NzbDrone.Common.Http.HttpRequest request) [0x00000] in <8faeb593f49341d6a7a6d2c3c281887c>:0
Sep 09 17:53:29 storm sonarr[852]: at NzbDrone.Core.Update.UpdatePackageProvider.GetLatestUpdate (System.String branch, System.Version currentVersion) [0x0006c] in <f8c4a2c9e6194b509efc6018724d76df>:0
Sep 09 17:53:29 storm sonarr[852]: at NzbDrone.Core.Update.CheckUpdateService.AvailableUpdate () [0x00016] in <f8c4a2c9e6194b509efc6018724d76df>:0
Sep 09 17:53:29 storm sonarr[852]: at NzbDrone.Core.HealthCheck.Checks.UpdateCheck.Check () [0x000f7] in <f8c4a2c9e6194b509efc6018724d76df>:0
Sep 09 17:53:29 storm sonarr[852]: at NzbDrone.Core.HealthCheck.HealthCheckService+<>c.<PerformHealthCheck>b__11_0 (NzbDrone.Core.HealthCheck.IProvideHealthCheck c) [0x00000] in <f8c4a2c9e6194b509efc6018724d76df>:0
Sep 09 17:53:29 storm sonarr[852]: at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToList () [0x00014] in <55cb1ea97846413983036e5d2581cc09>:0
Sep 09 17:53:29 storm sonarr[852]: at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <55cb1ea97846413983036e5d2581cc09>:0
Sep 09 17:53:29 storm sonarr[852]: at NzbDrone.Core.HealthCheck.HealthCheckService.PerformHealthCheck (NzbDrone.Core.HealthCheck.IProvideHealthCheck[] healthChecks) [0x00025] in <f8c4a2c9e6194b509efc6018724d76df>:0
Sep 09 17:53:29 storm sonarr[852]: at NzbDrone.Core.HealthCheck.HealthCheckService.HandleAsync (NzbDrone.Core.Lifecycle.ApplicationStartedEvent message) [0x00000] in <f8c4a2c9e6194b509efc6018724d76df>:0
Sep 09 17:53:29 storm sonarr[852]: at NzbDrone.Core.Messaging.Events.EventAggregator+<>c__DisplayClass6_2`1[TEvent].<PublishEvent>b__1 () [0x00035] in <f8c4a2c9e6194b509efc6018724d76df>:0
Sep 09 17:53:29 storm sonarr[852]: at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <815942dd495d4ccc954b977c1d4bee11>:0
Sep 09 17:53:29 storm sonarr[852]: at System.Threading.Tasks.Task.Execute () [0x00000] in <815942dd495d4ccc954b977c1d4bee11>:0
It is followed by NetworkManager startup traces. I think the correct way is:
Wants=network-online.target
After=network-online.target
@RenVilo: Are you... running Arch Linux on your QNAP?
I'm running a QNAP NAS with QMono, SABNZBD, Sonarr and Radarr. Everything boots up and is fine except that in Sonarr and Radarr I can't add an Indexer to www.nzbfinder.ws or any other provider. I've tested this from my PC's version and it works fine. I've read that you have to add "Environment=MONO_TLS_PROVIDER=legacy" but I have no idea how to do this and seems Mono vs QMono might have a different file structure. I can't find "sonarr.service" or the path "usr/lib/systemd/system"
Info on my versions:
Sonarr: V2.0.0.5163 QMono: V5.12.0.266 (of TS-X19 but have tried other previous releases of V5. No V4 available) OS: QNAP Version 4.3.3.0546
https://www.dropbox.com/s/xiwzpfgj87mbibx/sonarr.debug.txt?dl=0
https://www.dropbox.com/s/y09dkbz5yq2nw02/sonarr.trace.txt?dl=0
Please can someone assist.
Pinned Comments
txtsd commented on 2024-10-21 03:38 (UTC) (edited on 2024-10-30 12:50 (UTC) by txtsd)
Alternate versions
radarr (source version of this package)
radarr-develop (develop branch)
radarr-develop-bin (binary version of the develop branch)
radarr-nightly-bin (nightly builds)