From d143cdee661282175cd103f6c70e769b49434226 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 18 Mar 2026 18:57:49 +0100 Subject: [PATCH] Improve Tdarr installer error handling Refine post-update validation and failure behavior in tdarr-install.sh: remove a redundant status message, simplify the updater check to only require the Tdarr_Server binary, and replace the previous fatal path with msg_error plus an explicit exit 250. This makes failures (for example when tdarr.io is blocked by local DNS) clearer and avoids false negatives from the Tdarr_Node existence check. --- install/tdarr-install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install/tdarr-install.sh b/install/tdarr-install.sh index 5359e2ad9..5cc28bfd8 100644 --- a/install/tdarr-install.sh +++ b/install/tdarr-install.sh @@ -24,11 +24,12 @@ RELEASE=$(curl_with_retry "https://f000.backblazeb2.com/file/tdarrs/versions.jso curl_with_retry "$RELEASE" "Tdarr_Updater.zip" $STD unzip Tdarr_Updater.zip chmod +x Tdarr_Updater -msg_info "Running Tdarr_Updater (downloading server/node binaries from tdarr.io)" $STD ./Tdarr_Updater rm -rf /opt/tdarr/Tdarr_Updater.zip -[[ -f /opt/tdarr/Tdarr_Server/Tdarr_Server && -f /opt/tdarr/Tdarr_Node/Tdarr_Node ]] \ - || fatal "Tdarr_Updater did not download server binaries — tdarr.io may be blocked by local DNS" +[[ -f /opt/tdarr/Tdarr_Server/Tdarr_Server ]] || { + msg_error "Tdarr_Updater failed — tdarr.io may be blocked by local DNS" + exit 250 +} msg_ok "Installed Tdarr" setup_hwaccel