[Resolved] Radarr and Sonarr services failed Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
michtuffnel
Posts: 9
Joined: Mon Apr 06, 2020 1:39 am

[Resolved] Radarr and Sonarr services failed

Post by michtuffnel »

Hi,

I'm having some trouble with a fresh install of DietPi onto my Odroid N2, where previously the error has never occurred.

I've installed Radarr and Sonarr, but on reboot the following journalctl entries occur:

Code: Select all

Jul 16 10:21:51 DietPi systemd[1]: Stopped Sonarr Daemon (DietPi).
Jul 16 10:21:51 DietPi systemd[1]: Started Sonarr Daemon (DietPi).
Jul 16 10:21:51 DietPi systemd[1]: Stopped Radarr Daemon (DietPi).
Jul 16 10:21:51 DietPi systemd[1]: Started Radarr Daemon (DietPi).
Jul 16 10:21:52 DietPi systemd[3293]: sonarr.service: Failed to set up mount namespacing: No such file or directory
Jul 16 10:21:52 DietPi systemd[3293]: sonarr.service: Failed at step NAMESPACE spawning /usr/bin/mono: No such file or directory
Jul 16 10:21:52 DietPi systemd[3295]: radarr.service: Failed to set up mount namespacing: No such file or directory
Jul 16 10:21:52 DietPi systemd[3295]: radarr.service: Failed at step NAMESPACE spawning /opt/radarr/Radarr: No such file or directory
Jul 16 10:21:52 DietPi systemd[1]: sonarr.service: Main process exited, code=exited, status=226/NAMESPACE
Jul 16 10:21:52 DietPi systemd[1]: sonarr.service: Failed with result 'exit-code'.
Jul 16 10:21:52 DietPi systemd[1]: radarr.service: Main process exited, code=exited, status=226/NAMESPACE
Jul 16 10:21:52 DietPi systemd[1]: radarr.service: Failed with result 'exit-code'.
Jul 16 10:21:52 DietPi systemd[1]: sonarr.service: Service RestartSec=100ms expired, scheduling restart.
Jul 16 10:21:52 DietPi systemd[1]: sonarr.service: Scheduled restart job, restart counter is at 5.
Jul 16 10:21:52 DietPi systemd[1]: radarr.service: Service RestartSec=100ms expired, scheduling restart.
Jul 16 10:21:52 DietPi systemd[1]: radarr.service: Scheduled restart job, restart counter is at 5.
Jul 16 10:21:52 DietPi systemd[1]: Stopped Radarr Daemon (DietPi).
Jul 16 10:21:52 DietPi systemd[1]: radarr.service: Start request repeated too quickly.
Jul 16 10:21:52 DietPi systemd[1]: radarr.service: Failed with result 'exit-code'.
Jul 16 10:21:52 DietPi systemd[1]: Failed to start Radarr Daemon (DietPi).
Jul 16 10:21:52 DietPi systemd[1]: Stopped Sonarr Daemon (DietPi).
Jul 16 10:21:52 DietPi systemd[1]: sonarr.service: Start request repeated too quickly.
Jul 16 10:21:52 DietPi systemd[1]: sonarr.service: Failed with result 'exit-code'.
Jul 16 10:21:52 DietPi systemd[1]: Failed to start Sonarr Daemon (DietPi).
Not 100% sure on what is required to fix, so hopefully something simple as both services show as failed.
Last edited by michtuffnel on Fri Jul 23, 2021 1:37 pm, edited 1 time in total.
User avatar
Joulinar
Posts: 5927
Joined: Sat Nov 16, 2019 12:49 am

Re: Radarr and Sonarr services failed

Post by Joulinar »

Hi,

basically you are missing both executables according the log

Code: Select all

Jul 16 10:21:52 DietPi systemd[3293]: sonarr.service: Failed at step NAMESPACE spawning /usr/bin/mono: No such file or directory
Jul 16 10:21:52 DietPi systemd[3295]: radarr.service: Failed at step NAMESPACE spawning /opt/radarr/Radarr: No such file or directory
Can you check if both files are present?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
michtuffnel
Posts: 9
Joined: Mon Apr 06, 2020 1:39 am

Re: Radarr and Sonarr services failed

Post by michtuffnel »

Thanks for this, it certainly seems like /usr/bin/mono and opt/radarr/Radarr are present. Could it be a permissions issue?
User avatar
Joulinar
Posts: 5927
Joined: Sat Nov 16, 2019 12:49 am

Re: Radarr and Sonarr services failed

Post by Joulinar »

can you share

Code: Select all

ls -la /usr/bin/mono
ls -la /opt/radarr/Radarr
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
michtuffnel
Posts: 9
Joined: Mon Apr 06, 2020 1:39 am

Re: Radarr and Sonarr services failed

Post by michtuffnel »

Code: Select all

lrwxrwxrwx 1 root root 9 Feb 22 17:12 /usr/bin/mono -> mono-sgen
-rwxr-xr-x 1 radarr dietpi 77288 Jun  3 12:51 /opt/radarr/Radarr
User avatar
Joulinar
Posts: 5927
Joined: Sat Nov 16, 2019 12:49 am

Re: Radarr and Sonarr services failed

Post by Joulinar »

we had a couple of cases in past but no real solution except performing a reinstall

Code: Select all

dietpi-software reinstall 144 145
viewtopic.php?f=9&t=8993
viewtopic.php?f=11&t=8894

@MichaIng
any ideas how it could happen that Radarr and Sonarr are not able to start via service even if files are present?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
michtuffnel
Posts: 9
Joined: Mon Apr 06, 2020 1:39 am

Re: Radarr and Sonarr services failed

Post by michtuffnel »

I've now reinstalled Radarr and Sonarr and the services are running without issue, however I will try to update over the next few days as this isn't the first reinstall, thanks for your help so far
User avatar
Joulinar
Posts: 5927
Joined: Sat Nov 16, 2019 12:49 am

Re: Radarr and Sonarr services failed

Post by Joulinar »

what do you like to update? And did you perform a reboot already?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
michtuffnel
Posts: 9
Joined: Mon Apr 06, 2020 1:39 am

Re: Radarr and Sonarr services failed

Post by michtuffnel »

Sorry I didn't make myself clear, I meant update the thread! The processes are working after a reboot so I'm holding out hope
User avatar
Joulinar
Posts: 5927
Joined: Sat Nov 16, 2019 12:49 am

Re: Radarr and Sonarr services failed

Post by Joulinar »

ok pls keep us in loop. Quite strange behaviour.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply