Compare commits

...

3 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
0bd343bbfa fix(seerr): use ensure_dependencies in update script 2026-03-16 08:51:57 +01:00
CanbiZ (MickLesk)
97e8a6411f fix(seerr): use apt instead of apt-get 2026-03-16 08:46:38 +01:00
CanbiZ (MickLesk)
9888580460 fix(seerr): add python3-setuptools to install and update deps
node-gyp's bundled node-gyp (v8.4.1) uses distutils which was removed
from Python 3.12+. Adding python3-setuptools provides the distutils
shim needed to compile native sqlite3 bindings.

Also adds build-essential + python3-setuptools before pnpm install in
the update function to match the install script's dependency setup.

Fixes #12939
2026-03-16 08:42:44 +01:00
2 changed files with 5 additions and 1 deletions

View File

@@ -128,6 +128,8 @@ EOF
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "seerr" "seerr-team/seerr" "tarball"
ensure_dependencies build-essential python3-setuptools
msg_info "Updating PNPM Version"
pnpm_desired=$(grep -Po '"pnpm":\s*"\K[^"]+' /opt/seerr/package.json)
NODE_VERSION="22" NODE_MODULE="pnpm@$pnpm_desired" setup_nodejs

View File

@@ -14,7 +14,9 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y build-essential
$STD apt install -y \
build-essential \
python3-setuptools
msg_ok "Installed Dependencies"
fetch_and_deploy_gh_release "seerr" "seerr-team/seerr" "tarball"