Closed shlatchz closed 1 month ago
reinstalling didn't help
Hmm, the executable /opt/radarr/Radarr
is missing or not seen by the service in your case. Can you check this:
ls -dl /opt/radarr/Radarr /opt/radarr
systemctl cat radarr
On a test install it works fine here.
root@DietPi:~# ls -dl /opt/radarr/Radarr /opt/radarr
systemctl cat radarr
ls: cannot access '/opt/radarr/Radarr': No such file or directory
drwxr-xr-x 2 radarr dietpi 32768 Oct 2 15:35 /opt/radarr
# /etc/systemd/system/radarr.service
[Unit]
Description=Radarr (DietPi)
Wants=network-online.target
After=network-online.target remote-fs.target transmission-daemon.service qbittorrent.service rtorrent.service nzbget.service deluged.service aria2.service sabnzbd.service
[Service]
SyslogIdentifier=Radarr
User=radarr
UMask=002
LogsDirectory=radarr
ExecStart=/opt/radarr/Radarr -nobrowser -data=/mnt/dietpi_userdata/radarr
TimeoutStopSec=20
KillMode=process
Restart=on-failure
# Hardening
ProtectSystem=strict
ProtectHome=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectControlGroups=true
ReadWritePaths=-/opt/radarr -/mnt -/media -/var/log/radarr -/tmp
[Install]
WantedBy=multi-user.target
# /etc/systemd/system/radarr.service.d/dietpi-process_tool.conf
# WARNING: Do not manually edit this file, use "dietpi-services" to adjust values!
[Service]
CPUSchedulingPolicy=idle
IOSchedulingClass=idle
# /etc/systemd/system/radarr.service.d/dietpi-services_edit.conf
[Unit]
#Description=Radarr Daemon (DietPi)
#Wants=network-online.target
#After=network-online.target dietpi-boot.service
[Service]
#SyslogIdentifier=Radarr
User=radarr
#UMask=002
Environment="TMPDIR=/tmp"
#ExecStart=/usr/bin/mono -O=-aot /opt/Radarr/Radarr.exe -nobrowser -data=/mnt/dietpi_userdata/radarr
#TimeoutStopSec=20
#KillMode=process
#Restart=on-failure
# Hardening
#ProtectSystem=strict
#ProtectHome=true
#PrivateDevices=true
#ProtectKernelTunables=true
#ProtectControlGroups=true
#ReadWritePaths=/opt/Radarr /mnt /media /var/log/radarr /tmp
[Install]
#WantedBy=multi-user.target
how can I fix this without losing my metadata?
can you share following pls
ls la /opt/radarr/
You can reinstall it to fix it, which preserves config and data:
dietpi-software reinstall 145
However, would be indeed interesting to see the content of the directory, to maybe get a clue why the executable is missing.
@Joulinar
root@DietPi:~# ls -\la /opt/radarr/
total 40384
drwxr-xr-x 2 radarr dietpi 32768 Oct 2 15:35 .
drwxrwxr-x 4 root root 4096 Oct 12 14:23 ..
-rw-rw-r-- 1 radarr dietpi 20480 Aug 21 00:27 Diacritical.dll
-rw-rw-r-- 1 radarr dietpi 18432 Aug 21 00:27 DryIoc.Microsoft.DependencyInjection.dll
-rw-rw-r-- 1 radarr dietpi 18432 Aug 21 00:27 Equ.dll
-rwxr-xr-x 1 radarr dietpi 16792976 Aug 21 00:27 ffprobe
-rw-rw-r-- 1 radarr dietpi 33792 Aug 21 00:27 FluentMigrator.Runner.Db2.dll
-rw-rw-r-- 1 radarr dietpi 75776 Aug 21 00:27 FluentMigrator.Runner.Firebird.dll
-rw-rw-r-- 1 radarr dietpi 26112 Aug 21 00:27 FluentMigrator.Runner.MySql.dll
-rw-rw-r-- 1 radarr dietpi 37376 Aug 21 00:27 FluentMigrator.Runner.SqlAnywhere.dll
-rw-rw-r-- 1 radarr dietpi 431104 Aug 21 00:27 FluentValidation.dll
-rw-rw-r-- 1 radarr dietpi 3359640 Aug 21 00:27 libclrjit.so
-rw-rw-r-- 1 radarr dietpi 747936 Aug 21 00:27 libcoreclrtraceptprovider.so
-rw-rw-r-- 1 radarr dietpi 383328 Aug 21 00:27 libhostpolicy.so
-rw-rw-r-- 1 radarr dietpi 357728 Aug 21 00:27 libMonoPosixHelper.so
-rw-rw-r-- 1 radarr dietpi 72104 Aug 21 00:27 libSystem.Globalization.Native.so
-rw-rw-r-- 1 radarr dietpi 92272 Aug 21 00:27 libSystem.Native.so
-rw-rw-r-- 1 radarr dietpi 88344 Aug 21 00:27 Microsoft.AspNetCore.Authorization.dll
-rw-rw-r-- 1 radarr dietpi 557832 Aug 21 00:27 Microsoft.AspNetCore.Components.dll
-rw-rw-r-- 1 radarr dietpi 23816 Aug 21 00:27 Microsoft.AspNetCore.Diagnostics.Abstractions.dll
-rw-rw-r-- 1 radarr dietpi 34064 Aug 21 00:27 Microsoft.AspNetCore.Hosting.Abstractions.dll
-rw-rw-r-- 1 radarr dietpi 284320 Aug 21 00:27 Microsoft.AspNetCore.Http.Connections.dll
-rw-rw-r-- 1 radarr dietpi 265904 Aug 21 00:27 Microsoft.AspNetCore.Http.dll
-rw-rw-r-- 1 radarr dietpi 311048 Aug 21 00:27 Microsoft.AspNetCore.Http.Extensions.dll
-rw-rw-r-- 1 radarr dietpi 41136 Aug 21 00:27 Microsoft.AspNetCore.HttpsPolicy.dll
-rw-rw-r-- 1 radarr dietpi 57104 Aug 21 00:27 Microsoft.AspNetCore.Localization.dll
-rw-rw-r-- 1 radarr dietpi 104712 Aug 21 00:27 Microsoft.AspNetCore.Mvc.DataAnnotations.dll
-rw-rw-r-- 1 radarr dietpi 33040 Aug 21 00:27 Microsoft.AspNetCore.Mvc.dll
-rw-rw-r-- 1 radarr dietpi 114336 Aug 21 00:27 Microsoft.AspNetCore.Mvc.Formatters.Xml.dll
-rw-rw-r-- 1 radarr dietpi 457392 Aug 21 00:27 Microsoft.AspNetCore.Mvc.RazorPages.dll
-rw-rw-r-- 1 radarr dietpi 279728 Aug 21 00:27 Microsoft.AspNetCore.Mvc.TagHelpers.dll
-rw-rw-r-- 1 radarr dietpi 805024 Aug 21 00:27 Microsoft.AspNetCore.Mvc.ViewFeatures.dll
-rw-rw-r-- 1 radarr dietpi 558752 Aug 21 00:27 Microsoft.AspNetCore.Server.HttpSys.dll
-rw-rw-r-- 1 radarr dietpi 23712 Aug 21 00:27 Microsoft.AspNetCore.Server.Kestrel.dll
-rw-rw-r-- 1 radarr dietpi 84144 Aug 21 00:27 Microsoft.AspNetCore.Session.dll
-rw-rw-r-- 1 radarr dietpi 75424 Aug 21 00:27 Microsoft.AspNetCore.SignalR.Common.dll
-rw-rw-r-- 1 radarr dietpi 403616 Aug 21 00:27 Microsoft.AspNetCore.SignalR.Core.dll
-rw-rw-r-- 1 radarr dietpi 31496 Aug 21 00:27 Microsoft.Extensions.Configuration.KeyPerFile.dll
-rw-rw-r-- 1 radarr dietpi 432920 Aug 21 00:27 Microsoft.Extensions.Identity.Core.dll
-rw-rw-r-- 1 radarr dietpi 76056 Aug 21 00:27 Microsoft.Extensions.Identity.Stores.dll
-rw-rw-r-- 1 radarr dietpi 37128 Aug 21 00:27 Microsoft.Extensions.Logging.EventLog.dll
-rw-rw-r-- 1 radarr dietpi 27808 Aug 21 00:27 Microsoft.Extensions.Logging.TraceSource.dll
-rw-rw-r-- 1 radarr dietpi 24952 Aug 21 00:27 Microsoft.IdentityModel.Logging.dll
-rw-rw-r-- 1 radarr dietpi 32632 Aug 21 00:27 Microsoft.IdentityModel.Protocols.dll
-rw-rw-r-- 1 radarr dietpi 131744 Aug 21 00:27 Microsoft.JSInterop.dll
-rw-rw-r-- 1 radarr dietpi 233408 Aug 21 00:27 Microsoft.OpenApi.dll
-rw-rw-r-- 1 radarr dietpi 24848 Aug 21 00:27 Microsoft.Win32.Primitives.dll
-rw-rw-r-- 1 radarr dietpi 26224 Aug 21 00:27 Microsoft.Win32.SystemEvents.dll
-rw-rw-r-- 1 radarr dietpi 68608 Aug 21 00:27 Mono.Nat.dll
-rw-rw-r-- 1 radarr dietpi 645632 Aug 21 00:27 MonoTorrent.dll
-rw-rw-r-- 1 radarr dietpi 948224 Aug 21 00:27 NLog.dll
-rw-rw-r-- 1 radarr dietpi 8192 Aug 21 00:27 NLog.Layouts.ClefJsonLayout.dll
-rw-rw-r-- 1 radarr dietpi 1313280 Aug 21 00:27 Npgsql.dll
-rw-rw-r-- 1 radarr dietpi 243248 Aug 21 00:27 Polly.Core.dll
-rw-rw-r-- 1 radarr dietpi 86528 Aug 21 00:27 Radarr.Http.dll
-rw-rw-r-- 1 radarr dietpi 136 Aug 21 00:27 Radarr.Mono.xml
-rw-rw-r-- 1 radarr dietpi 9728 Aug 21 00:27 Radarr.SignalR.dll
-rw-rw-r-- 1 radarr dietpi 142840 Aug 21 00:27 ServiceInstall
-rw-rw-r-- 1 radarr dietpi 15624 Aug 21 00:27 System.AppContext.dll
-rw-rw-r-- 1 radarr dietpi 269064 Aug 21 00:27 System.Collections.dll
-rw-rw-r-- 1 radarr dietpi 18696 Aug 21 00:27 System.ComponentModel.dll
-rw-rw-r-- 1 radarr dietpi 3016984 Aug 21 00:27 System.Data.Common.dll
-rw-rw-r-- 1 radarr dietpi 25880 Aug 21 00:27 System.Data.dll
-rw-rw-r-- 1 radarr dietpi 16136 Aug 21 00:27 System.Diagnostics.Contracts.dll
-rw-rw-r-- 1 radarr dietpi 384784 Aug 21 00:27 System.Diagnostics.DiagnosticSource.dll
-rw-rw-r-- 1 radarr dietpi 61192 Aug 21 00:27 System.Diagnostics.EventLog.dll
-rw-rw-r-- 1 radarr dietpi 53512 Aug 21 00:27 System.IO.Compression.ZipFile.dll
-rw-rw-r-- 1 radarr dietpi 78088 Aug 21 00:27 System.IO.FileSystem.DriveInfo.dll
-rw-rw-r-- 1 radarr dietpi 195336 Aug 21 00:27 System.IO.Pipelines.dll
-rw-rw-r-- 1 radarr dietpi 24752 Aug 21 00:27 System.IO.Pipes.AccessControl.dll
-rw-rw-r-- 1 radarr dietpi 539912 Aug 21 00:27 System.Linq.dll
-rw-rw-r-- 1 radarr dietpi 177424 Aug 21 00:27 System.Memory.dll
-rw-rw-r-- 1 radarr dietpi 87312 Aug 21 00:27 System.Net.NameResolution.dll
-rw-rw-r-- 1 radarr dietpi 166576 Aug 21 00:27 System.Net.NetworkInformation.dll
-rw-rw-r-- 1 radarr dietpi 36528 Aug 21 00:27 System.Net.ServicePoint.dll
-rw-rw-r-- 1 radarr dietpi 2098952 Aug 21 00:27 System.Private.DataContractSerialization.dll
-rw-rw-r-- 1 radarr dietpi 414984 Aug 21 00:27 System.Private.Xml.Linq.dll
-rw-rw-r-- 1 radarr dietpi 66824 Aug 21 00:27 System.Reflection.DispatchProxy.dll
-rw-rw-r-- 1 radarr dietpi 16136 Aug 21 00:27 System.Reflection.Emit.Lightweight.dll
-rw-rw-r-- 1 radarr dietpi 1115408 Aug 21 00:27 System.Reflection.Metadata.dll
-rw-rw-r-- 1 radarr dietpi 15632 Aug 21 00:27 System.Resources.Reader.dll
-rw-rw-r-- 1 radarr dietpi 15536 Aug 21 00:27 System.Runtime.Handles.dll
-rw-rw-r-- 1 radarr dietpi 219296 Aug 21 00:27 System.Runtime.Numerics.dll
-rw-rw-r-- 1 radarr dietpi 16648 Aug 21 00:27 System.Runtime.Serialization.Xml.dll
-rw-rw-r-- 1 radarr dietpi 94368 Aug 21 00:27 System.Security.Claims.dll
-rw-rw-r-- 1 radarr dietpi 16136 Aug 21 00:27 System.Text.Encoding.Extensions.dll
-rw-rw-r-- 1 radarr dietpi 130720 Aug 21 00:27 System.Text.Encodings.Web.dll
-rw-rw-r-- 1 radarr dietpi 16144 Aug 21 00:27 System.Threading.Tasks.Extensions.dll
-rw-rw-r-- 1 radarr dietpi 15520 Aug 21 00:27 System.ValueTuple.dll
-rw-rw-r-- 1 radarr dietpi 53408 Aug 21 00:27 System.Web.HttpUtility.dll
-rw-rw-r-- 1 radarr dietpi 16136 Aug 21 00:27 System.Xml.XDocument.dll
-rw-rw-r-- 1 radarr dietpi 16032 Aug 21 00:27 System.Xml.XmlDocument.dll
-rw-rw-r-- 1 radarr dietpi 17176 Aug 21 00:27 WindowsBase.dll
@MichaIng I reisnstalled several times with this command... had the same outcome
Ah right there is a message that an existing installation was found an will be preserved, right? We really need a repair command, or do it OOTB incase of Servarr apps. Please do this:
rm -R /opt/radarr
dietpi-software reinstall 145
It still preserves all data and configs which are stored in /mnt/dietpi_userdata/radarr
.
works! thx
Great, I'll mark the issue as closed then.
Creating a bug report/issue
Required Information
cat /boot/dietpi/.version
echo $G_DISTRO_NAME $G_RASPBIAN
bookwormuname -a
Linux DietPi 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux
echo $G_HW_MODEL_NAME
or (EG: RPi3) Native PC (x86_64)Additional Information (if applicable)
echo $G_HW_UUID
3b0cd5c5-8000-40c6-ac83-14972cc6877b