From 3b3af1662fcf47f5f7f17981973ea59584002bd0 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 08:06:21 -0400 Subject: [PATCH 01/15] =?UTF-8?q?chore:=20bump=20debian=20buster=20?= =?UTF-8?q?=E2=86=92=20trixie=20and=20fix=20sources.list=20for=20deb822=20?= =?UTF-8?q?format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Debian Trixie uses the new deb822 format (/etc/apt/sources.list.d/debian.sources) instead of the old /etc/apt/sources.list file. The two sed commands that target sources.list need updating: - Remove archive.debian.org redirect (Trixie is still active on main mirrors) - Add contrib/non-free to the deb822-format sources file --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index dbc277a..ae7fbb9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:buster +FROM debian:trixie-20260610 LABEL maintainer="Julien Cabillot " RUN groupadd -r -g 666 sabnzbd && \ @@ -27,8 +27,7 @@ RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ export BUILD_PACKAGES="automake build-essential python3-dev libffi-dev" && \ export RUNTIME_PACKAGES="ca-certificates p7zip-full python3-yenc unrar unzip libgomp1 openssl python3-openssl curl python3-pip" && \ export PIP_PACKAGES="sabyenc" && \ - sed -i 's|http://deb.debian.org|http://archive.debian.org|g' /etc/apt/sources.list && \ - sed -i "s/ main$/ main contrib non-free/" /etc/apt/sources.list && \ + sed -i "s/Components: main/Components: main contrib non-free/" /etc/apt/sources.list.d/debian.sources && \ apt-get -qq update && \ apt-get -qq --yes install $BUILD_PACKAGES $RUNTIME_PACKAGES && \ #pip3 install $PIP_PACKAGES && \ @@ -82,4 +81,4 @@ RUN chmod +x "/tini" CMD ["/sabnzbd.sh"] HEALTHCHECK --interval=10s \ - CMD curl --fail "http://localhost:8080" || exit 1 + CMD curl --fail "http://localhost:8080" || exit 1 \ No newline at end of file From bba9068158c8e62172cb7dea79d38063ac1d3d45 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 08:08:11 -0400 Subject: [PATCH 02/15] fix: replace python3-yenc with pip sabyenc for Trixie compatibility python3-yenc was removed from Debian Trixie. SABnzbd uses sabyenc (via pip) as the replacement. Uncomment the pip install line and remove python3-yenc from apt RUNTIME_PACKAGES. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ae7fbb9..f05b2e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,12 +25,12 @@ ENV LANG C.UTF-8 RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ export DEBIAN_FRONTEND=noninteractive && \ export BUILD_PACKAGES="automake build-essential python3-dev libffi-dev" && \ - export RUNTIME_PACKAGES="ca-certificates p7zip-full python3-yenc unrar unzip libgomp1 openssl python3-openssl curl python3-pip" && \ + export RUNTIME_PACKAGES="ca-certificates p7zip-full unrar unzip libgomp1 openssl python3-openssl curl python3-pip" && \ export PIP_PACKAGES="sabyenc" && \ sed -i "s/Components: main/Components: main contrib non-free/" /etc/apt/sources.list.d/debian.sources && \ apt-get -qq update && \ apt-get -qq --yes install $BUILD_PACKAGES $RUNTIME_PACKAGES && \ - #pip3 install $PIP_PACKAGES && \ + pip3 install $PIP_PACKAGES && \ curl -SL -o /tmp/sabnzbd.tar.gz https://github.com/sabnzbd/sabnzbd/releases/download/${SABNZBD_VERSION}/SABnzbd-${SABNZBD_VERSION}-src.tar.gz && \ tar xzf /tmp/sabnzbd.tar.gz && \ mv SABnzbd-* sabnzbd && \ From 1e05c40ffc5c5d0d2210a31b25032dea7af6b7ea Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 08:10:46 -0400 Subject: [PATCH 03/15] fix: add PIP_BREAK_SYSTEM_PACKAGES=1 for Debian Trixie PEP 668 Debian Trixie enforces PEP 668 (externally-managed-environment), blocking system-wide pip installs. Export PIP_BREAK_SYSTEM_PACKAGES=1 to allow pip to install sabyenc and other Python deps in the container. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index f05b2e1..2c9e765 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,6 +24,7 @@ ENV LANG C.UTF-8 # hadolint ignore=DL3008,DL3015,SC3009,DL3003,DL3013,DL3042 RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ export DEBIAN_FRONTEND=noninteractive && \ + export PIP_BREAK_SYSTEM_PACKAGES=1 && \ export BUILD_PACKAGES="automake build-essential python3-dev libffi-dev" && \ export RUNTIME_PACKAGES="ca-certificates p7zip-full unrar unzip libgomp1 openssl python3-openssl curl python3-pip" && \ export PIP_PACKAGES="sabyenc" && \ From f505b1cac0d6402a458149fe27bd34691b1483c0 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 08:13:22 -0400 Subject: [PATCH 04/15] fix: remove explicit sabyenc pip install (incompatible with Python 3.13) sabyenc uses deprecated Python 2 C API (PyString_*) removed in Python 3.12+. Debian Trixie ships Python 3.13. The yEnc dependency is handled by SABnzbd's requirements.txt. Remove the outdated explicit pip install. --- Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2c9e765..6bbddae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,11 +27,9 @@ RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ export PIP_BREAK_SYSTEM_PACKAGES=1 && \ export BUILD_PACKAGES="automake build-essential python3-dev libffi-dev" && \ export RUNTIME_PACKAGES="ca-certificates p7zip-full unrar unzip libgomp1 openssl python3-openssl curl python3-pip" && \ - export PIP_PACKAGES="sabyenc" && \ sed -i "s/Components: main/Components: main contrib non-free/" /etc/apt/sources.list.d/debian.sources && \ apt-get -qq update && \ apt-get -qq --yes install $BUILD_PACKAGES $RUNTIME_PACKAGES && \ - pip3 install $PIP_PACKAGES && \ curl -SL -o /tmp/sabnzbd.tar.gz https://github.com/sabnzbd/sabnzbd/releases/download/${SABNZBD_VERSION}/SABnzbd-${SABNZBD_VERSION}-src.tar.gz && \ tar xzf /tmp/sabnzbd.tar.gz && \ mv SABnzbd-* sabnzbd && \ From 2edb1909df09ce1d9de017bf037d158f61f22123 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 08:15:26 -0400 Subject: [PATCH 05/15] fix: remove pip --upgrade pip (Debian's pip 25.1.1 has no RECORD file) Debian's pip 25.1.1 is already installed without a RECORD file, causing the upgrade to fail. The system pip is already recent enough for requirements.txt. --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6bbddae..a164452 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,6 @@ RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ curl -SL -o /tmp/sabnzbd.tar.gz https://github.com/sabnzbd/sabnzbd/releases/download/${SABNZBD_VERSION}/SABnzbd-${SABNZBD_VERSION}-src.tar.gz && \ tar xzf /tmp/sabnzbd.tar.gz && \ mv SABnzbd-* sabnzbd && \ - pip3 install --upgrade pip && \ pip3 install -r /sabnzbd/requirements.txt && \ chown -R sabnzbd: sabnzbd && \ curl -o /tmp/par2cmdline-mt.tar.gz https://codeload.github.com/jkansanen/par2cmdline-mt/tar.gz/${PAR2CMDLINE_VERSION} && \ From bfc1e68e90f8059050d0c0a749ab0d096833eacc Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 08:17:49 -0400 Subject: [PATCH 06/15] fix: pre-install cffi>=1.17 for Python 3.13 compatibility SABnzbd's requirements.txt pins cffi 1.15.1 which uses the removed _PyErr_WriteUnraisableMsg API (Python 3.13+). Pre-install cffi>=1.17 so pip doesn't try to build the incompatible version. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index a164452..ff5c1ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,7 @@ RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ curl -SL -o /tmp/sabnzbd.tar.gz https://github.com/sabnzbd/sabnzbd/releases/download/${SABNZBD_VERSION}/SABnzbd-${SABNZBD_VERSION}-src.tar.gz && \ tar xzf /tmp/sabnzbd.tar.gz && \ mv SABnzbd-* sabnzbd && \ + pip3 install 'cffi>=1.17' && \ pip3 install -r /sabnzbd/requirements.txt && \ chown -R sabnzbd: sabnzbd && \ curl -o /tmp/par2cmdline-mt.tar.gz https://codeload.github.com/jkansanen/par2cmdline-mt/tar.gz/${PAR2CMDLINE_VERSION} && \ From 8572d2e0710c0496166476a9c32269332efe3ae2 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 08:20:41 -0400 Subject: [PATCH 07/15] fix: install python3-cffi from apt (Python 3.13 compatible) The pip cffi package fails to build from source on Python 3.13 (no pre-built wheel). Install python3-cffi from Debian repos instead. Remove the pip cffi>=1.17 workaround. --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ff5c1ea..fb5b20d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,14 +26,13 @@ RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ export DEBIAN_FRONTEND=noninteractive && \ export PIP_BREAK_SYSTEM_PACKAGES=1 && \ export BUILD_PACKAGES="automake build-essential python3-dev libffi-dev" && \ - export RUNTIME_PACKAGES="ca-certificates p7zip-full unrar unzip libgomp1 openssl python3-openssl curl python3-pip" && \ + export RUNTIME_PACKAGES="ca-certificates p7zip-full unrar unzip libgomp1 openssl python3-openssl python3-cffi curl python3-pip" && \ sed -i "s/Components: main/Components: main contrib non-free/" /etc/apt/sources.list.d/debian.sources && \ apt-get -qq update && \ apt-get -qq --yes install $BUILD_PACKAGES $RUNTIME_PACKAGES && \ curl -SL -o /tmp/sabnzbd.tar.gz https://github.com/sabnzbd/sabnzbd/releases/download/${SABNZBD_VERSION}/SABnzbd-${SABNZBD_VERSION}-src.tar.gz && \ tar xzf /tmp/sabnzbd.tar.gz && \ mv SABnzbd-* sabnzbd && \ - pip3 install 'cffi>=1.17' && \ pip3 install -r /sabnzbd/requirements.txt && \ chown -R sabnzbd: sabnzbd && \ curl -o /tmp/par2cmdline-mt.tar.gz https://codeload.github.com/jkansanen/par2cmdline-mt/tar.gz/${PAR2CMDLINE_VERSION} && \ From 50344290221c4c658e19f47b6324a2490c1eb89a Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 08:28:22 -0400 Subject: [PATCH 08/15] fix: unpin cffi from requirements.txt to use system python3-cffi SABnzbd 3.7.2 pins cffi==1.15.1 which is incompatible with Python 3.13 (removed internal API _PyErr_WriteUnraisableMsg). Relax the pin so pip uses the system-installed python3-cffi (Debian Trixie's version). --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index fb5b20d..0ee0c11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,7 @@ RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ curl -SL -o /tmp/sabnzbd.tar.gz https://github.com/sabnzbd/sabnzbd/releases/download/${SABNZBD_VERSION}/SABnzbd-${SABNZBD_VERSION}-src.tar.gz && \ tar xzf /tmp/sabnzbd.tar.gz && \ mv SABnzbd-* sabnzbd && \ + sed -i 's/^cffi==.*/cffi/' /sabnzbd/requirements.txt && \ pip3 install -r /sabnzbd/requirements.txt && \ chown -R sabnzbd: sabnzbd && \ curl -o /tmp/par2cmdline-mt.tar.gz https://codeload.github.com/jkansanen/par2cmdline-mt/tar.gz/${PAR2CMDLINE_VERSION} && \ From 3ea95d1cac8178f8fe61ff9c09afceaf5215e7de Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 08:30:57 -0400 Subject: [PATCH 09/15] fix: unpin all packages in requirements.txt for system compatibility Debian Trixie ships many Python packages (cryptography 43.0.0, cffi, etc.) via apt that conflict with SABnzbd's pinned versions (cryptography==39.0.0, cffi==1.15.1). Pinned deps fail to install because pip can't uninstall the system packages (no RECORD file). Relax all pins so pip uses compatible versions already present. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0ee0c11..01d0638 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ curl -SL -o /tmp/sabnzbd.tar.gz https://github.com/sabnzbd/sabnzbd/releases/download/${SABNZBD_VERSION}/SABnzbd-${SABNZBD_VERSION}-src.tar.gz && \ tar xzf /tmp/sabnzbd.tar.gz && \ mv SABnzbd-* sabnzbd && \ - sed -i 's/^cffi==.*/cffi/' /sabnzbd/requirements.txt && \ + sed -i 's/==.*//' /sabnzbd/requirements.txt && \ pip3 install -r /sabnzbd/requirements.txt && \ chown -R sabnzbd: sabnzbd && \ curl -o /tmp/par2cmdline-mt.tar.gz https://codeload.github.com/jkansanen/par2cmdline-mt/tar.gz/${PAR2CMDLINE_VERSION} && \ From 56c44bd008723b0fb009034ccbe54d2a7627ef31 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 08:33:40 -0400 Subject: [PATCH 10/15] fix: remove pywin32 from requirements.txt (Windows-only package) pywin32 is a Windows-only dependency not available on pip for Linux. Remove it after unpinning to allow requirements install to complete. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 01d0638..b8d981d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,6 +34,7 @@ RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ tar xzf /tmp/sabnzbd.tar.gz && \ mv SABnzbd-* sabnzbd && \ sed -i 's/==.*//' /sabnzbd/requirements.txt && \ + sed -i '/pywin32/d' /sabnzbd/requirements.txt && \ pip3 install -r /sabnzbd/requirements.txt && \ chown -R sabnzbd: sabnzbd && \ curl -o /tmp/par2cmdline-mt.tar.gz https://codeload.github.com/jkansanen/par2cmdline-mt/tar.gz/${PAR2CMDLINE_VERSION} && \ From 26ee42dfa9288d14b71a41231d27d6591cc7f1ea Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 08:36:53 -0400 Subject: [PATCH 11/15] fix: use Python script to filter requirements.txt instead of sed Replace brittle sed patch with a Python script that: 1. Removes Windows/macOS-only packages (pywin32, pyobjc, etc.) 2. Unpins versions to let pip resolve with system packages from apt --- Dockerfile | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b8d981d..e403479 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,8 +33,26 @@ RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ curl -SL -o /tmp/sabnzbd.tar.gz https://github.com/sabnzbd/sabnzbd/releases/download/${SABNZBD_VERSION}/SABnzbd-${SABNZBD_VERSION}-src.tar.gz && \ tar xzf /tmp/sabnzbd.tar.gz && \ mv SABnzbd-* sabnzbd && \ - sed -i 's/==.*//' /sabnzbd/requirements.txt && \ - sed -i '/pywin32/d' /sabnzbd/requirements.txt && \ + python3 -c " +import re +with open('/sabnzbd/requirements.txt') as f: + lines = f.readlines() +filtered = [] +for line in lines: + stripped = line.strip() + # Keep comments and blank lines + if not stripped or stripped.startswith('#'): + filtered.append(line) + continue + # Remove platform-specific packages (Windows, macOS) + if re.search(r'platform_system\s*==\s*[\"\\'](Windows|Darwin)[\"\\']', stripped): + continue + # Unpin to let pip resolve with system versions + line = re.sub(r'(==|>=|<=|!=|~=|<|>)[\d\.\*\+\-a-zA-Z]+', '', line, count=1) + filtered.append(line) +with open('/sabnzbd/requirements.txt', 'w') as f: + f.writelines(filtered) +" && \ pip3 install -r /sabnzbd/requirements.txt && \ chown -R sabnzbd: sabnzbd && \ curl -o /tmp/par2cmdline-mt.tar.gz https://codeload.github.com/jkansanen/par2cmdline-mt/tar.gz/${PAR2CMDLINE_VERSION} && \ From d19dca87152868a2e9cb63329a132ab2cfda2710 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 08:37:50 -0400 Subject: [PATCH 12/15] fix: restore clean Dockerfile, only remove pywin32 from requirements Remove the broken multi-line Python block. Only keep the targeted pywin32 removal (other pins are handled via apt-installed packages python3-cffi). --- Dockerfile | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/Dockerfile b/Dockerfile index e403479..a33e5c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,26 +33,7 @@ RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ curl -SL -o /tmp/sabnzbd.tar.gz https://github.com/sabnzbd/sabnzbd/releases/download/${SABNZBD_VERSION}/SABnzbd-${SABNZBD_VERSION}-src.tar.gz && \ tar xzf /tmp/sabnzbd.tar.gz && \ mv SABnzbd-* sabnzbd && \ - python3 -c " -import re -with open('/sabnzbd/requirements.txt') as f: - lines = f.readlines() -filtered = [] -for line in lines: - stripped = line.strip() - # Keep comments and blank lines - if not stripped or stripped.startswith('#'): - filtered.append(line) - continue - # Remove platform-specific packages (Windows, macOS) - if re.search(r'platform_system\s*==\s*[\"\\'](Windows|Darwin)[\"\\']', stripped): - continue - # Unpin to let pip resolve with system versions - line = re.sub(r'(==|>=|<=|!=|~=|<|>)[\d\.\*\+\-a-zA-Z]+', '', line, count=1) - filtered.append(line) -with open('/sabnzbd/requirements.txt', 'w') as f: - f.writelines(filtered) -" && \ + sed -i '/pywin32/d' /sabnzbd/requirements.txt && \ pip3 install -r /sabnzbd/requirements.txt && \ chown -R sabnzbd: sabnzbd && \ curl -o /tmp/par2cmdline-mt.tar.gz https://codeload.github.com/jkansanen/par2cmdline-mt/tar.gz/${PAR2CMDLINE_VERSION} && \ From 213fcfa08a5cc7567d7828e0ff2369ac472efc98 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 08:38:22 -0400 Subject: [PATCH 13/15] fix: also unpin cffi and cryptography in requirements.txt System python3-cffi (apt) conflicts with cffi==1.15.1 pin; system cryptography conflicts with cryptography==39.0.0 pin. Unpin both so pip uses the Debian-provided versions. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index a33e5c0..5e272cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,6 +34,8 @@ RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ tar xzf /tmp/sabnzbd.tar.gz && \ mv SABnzbd-* sabnzbd && \ sed -i '/pywin32/d' /sabnzbd/requirements.txt && \ + sed -i 's/^cffi==.*/cffi/' /sabnzbd/requirements.txt && \ + sed -i 's/^cryptography==.*/cryptography/' /sabnzbd/requirements.txt && \ pip3 install -r /sabnzbd/requirements.txt && \ chown -R sabnzbd: sabnzbd && \ curl -o /tmp/par2cmdline-mt.tar.gz https://codeload.github.com/jkansanen/par2cmdline-mt/tar.gz/${PAR2CMDLINE_VERSION} && \ From 2d9c22701b0b82b5f93df6518ab2933128837be1 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 08:51:24 -0400 Subject: [PATCH 14/15] =?UTF-8?q?chore:=20bump=20SABnzbd=203.7.2=20?= =?UTF-8?q?=E2=86=92=204.5.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Latest stable 4.x release from https://github.com/sabnzbd/sabnzbd --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5e272cc..de5d2ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ ENV LANG C.UTF-8 # # hadolint ignore=DL3008,DL3015,SC3009,DL3003,DL3013,DL3042 -RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ +RUN export SABNZBD_VERSION=4.5.5 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ export DEBIAN_FRONTEND=noninteractive && \ export PIP_BREAK_SYSTEM_PACKAGES=1 && \ export BUILD_PACKAGES="automake build-essential python3-dev libffi-dev" && \ From f6bf0cf2fa886af1d7aa481bbe8f2efd601aabda Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 09:06:47 -0400 Subject: [PATCH 15/15] fix(test): follow redirect with curl -L in test.sh SABnzbd redirects to /wizard/ on first run (303). Without -L, the test gets the redirect body (no "SABnzbd" text). With -L, curl follows to the wizard page which contains the expected text. --- tests/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.sh b/tests/test.sh index 094729c..de046a4 100644 --- a/tests/test.sh +++ b/tests/test.sh @@ -70,7 +70,7 @@ done echo "" echo "Test: GET / (SABnzbd web UI)" -RESPONSE=$(curl -s -D - "$BASE_URL/") +RESPONSE=$(curl -sL -D - "$BASE_URL/") STATUS=$(echo "$RESPONSE" | head -1 | grep -oP '\d{3}') BODY=$(echo "$RESPONSE" | sed -n '/^\r$/,$p' | tail -n +2) @@ -79,4 +79,4 @@ assert_match "Body contains SABnzbd" "[Ss][Aa][Bb].*[Nn]zbd" "$BODY" echo "" echo "Results: $PASSED/$TOTAL passed, $FAILED failed" -[ "$FAILED" -eq 0 ] +[ "$FAILED" -eq 0 ] \ No newline at end of file