Skip to content

Servarr | Update via web UI can fail half way #7251

@Arghh

Description

@Arghh

After updating Radarr over the Web-UI to latest version (from 5.11.0.9244 to 5.12.2.9335 Radarr stopped working.

After reinstalling with:
dietpi-software reinstall 145 the problem still exist.

I uninstalled radarr over dietpi-software menu and installed it again over the same menu. Now it works.

Reporting this issue because this seems to happen now every time radarr has an update.

Service error:

[FAILED] DietPi-Services | × radarr.service - Radarr (DietPi)
     Loaded: loaded (/etc/systemd/system/radarr.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Sat 2024-10-19 14:03:56 CEST; 6min ago
   Duration: 182ms
    Process: 28742 ExecStart=/opt/radarr/Radarr -nobrowser -data=/mnt/dietpi_userdata/radarr (code=exited, status=154)
   Main PID: 28742 (code=exited, status=154)
        CPU: 538ms

In journal I see:

Oct 19 14:03:56 DietPi4 systemd[1]: Failed to start radarr.service - Radarr (DietPi).
Oct 19 14:11:47 DietPi4 systemd[1]: Started radarr.service - Radarr (DietPi).
Oct 19 14:11:47 DietPi4 Radarr[30499]: The application to execute does not exist: '/opt/radarr/Radarr.dll'.
Oct 19 14:11:47 DietPi4 systemd[1]: radarr.service: Main process exited, code=exited, status=154/n/a

Update log:

Oct 19 14:03:49 DietPi4 Radarr[9168]: [Error] CommandExecutor: Error occurred while executing task ApplicationUpdate
Oct 19 14:03:49 DietPi4 Radarr[9168]: [v5.11.0.9244] System.IO.IOException: Directory not empty : '/tmp/radarr_update/'
Oct 19 14:03:49 DietPi4 Radarr[9168]:    at System.IO.FileSystem.RemoveDirectoryInternal(DirectoryInfo directory, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
Oct 19 14:03:49 DietPi4 Radarr[9168]:    at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
Oct 19 14:03:49 DietPi4 Radarr[9168]:    at System.IO.Directory.Delete(String path, Boolean recursive)
Oct 19 14:03:49 DietPi4 Radarr[9168]:    at NzbDrone.Common.Disk.DiskProviderBase.DeleteFolder(String path, Boolean recursive) in ./Radarr.Common/Disk/DiskProviderBase.cs:line 304
Oct 19 14:03:49 DietPi4 Radarr[9168]:    at NzbDrone.Core.Update.InstallUpdateService.InstallUpdate(UpdatePackage updatePackage) in ./Radarr.Core/Update/InstallUpdateService.cs:line 121
Oct 19 14:03:49 DietPi4 Radarr[9168]:    at NzbDrone.Core.Update.InstallUpdateService.Execute(ApplicationUpdateCommand message) in ./Radarr.Core/Update/InstallUpdateService.cs:line 289
Oct 19 14:03:49 DietPi4 Radarr[9168]:    at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand[TCommand](TCommand command, CommandModel commandModel) in ./Radarr.Core/Messaging/Commands/CommandEx>
Oct 19 14:03:49 DietPi4 Radarr[9168]:    at CallSite.Target(Closure , CallSite , CommandExecutor , Object , CommandModel )
Oct 19 14:03:49 DietPi4 Radarr[9168]:    at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2](CallSite site, T0 arg0, T1 arg1, T2 arg2)
Oct 19 14:03:49 DietPi4 Radarr[9168]:    at CallSite.Target(Closure , CallSite , CommandExecutor , Object , CommandModel )
Oct 19 14:03:49 DietPi4 Radarr[9168]:    at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommands() in ./Radarr.Core/Messaging/Commands/CommandExecutor.cs:line 44
Oct 19 14:03:53 DietPi4 systemd[1]: radarr.service: Main process exited, code=killed, status=9/KILL
Oct 19 14:03:53 DietPi4 systemd[1]: radarr.service: Failed with result 'signal'.
Oct 19 14:03:53 DietPi4 systemd[1]: radarr.service: Unit process 28684 (Radarr.Update) remains running after unit stopped.
Oct 19 14:03:53 DietPi4 systemd[1]: radarr.service: Consumed 1h 1min 48.364s CPU time.
Oct 19 14:03:54 DietPi4 systemd[1]: radarr.service: Scheduled restart job, restart counter is at 1.
Oct 19 14:03:54 DietPi4 systemd[1]: Stopped radarr.service - Radarr (DietPi).
Oct 19 14:03:54 DietPi4 systemd[1]: radarr.service: Consumed 1h 1min 48.595s CPU time.
Oct 19 14:03:54 DietPi4 systemd[1]: radarr.service: Found left-over process 28684 (Radarr.Update) in control group while starting unit. Ignoring.
Oct 19 14:03:54 DietPi4 systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Oct 19 14:03:54 DietPi4 systemd[1]: Started radarr.service - Radarr (DietPi).
Oct 19 14:03:54 DietPi4 Radarr[28738]: The application to execute does not exist: '/opt/radarr/Radarr.dll'.
Oct 19 14:03:54 DietPi4 systemd[1]: radarr.service: Main process exited, code=exited, status=154/n/a
Oct 19 14:03:54 DietPi4 systemd[1]: radarr.service: Failed with result 'exit-code'.
Oct 19 14:03:54 DietPi4 systemd[1]: radarr.service: Unit process 28684 (Radarr.Update) remains running after unit stopped.
Oct 19 14:03:54 DietPi4 systemd[1]: radarr.service: Scheduled restart job, restart counter is at 2.
Oct 19 14:03:54 DietPi4 systemd[1]: Stopped radarr.service - Radarr (DietPi).
Oct 19 14:03:54 DietPi4 systemd[1]: radarr.service: Found left-over process 28684 (Radarr.Update) in control group while starting unit. Ignoring.
Oct 19 14:03:54 DietPi4 systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Oct 19 14:03:54 DietPi4 systemd[1]: Started radarr.service - Radarr (DietPi).

Required Information

  • DietPi version | 9.7.1
  • Distro version | bookworm
  • Kernel version | Linux DietPi4 6.1.21-v8+

Additional Information (if applicable)

  • Software title | Radarr
  • updated over Browser UI
  • Can this issue be replicated on a fresh installation of DietPi? - happens while updating. So no.

Steps to reproduce

Update radarr over the UI.

Expected behaviour

Radarr should update without problems.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions