From 3915f7a5c0c7c06538cd9d832e3f0c798fd2f02a Mon Sep 17 00:00:00 2001 From: Rene Nulsch <33263735+ReneNulschDE@users.noreply.github.com> Date: Tue, 22 Sep 2026 12:32:24 +0700 Subject: [PATCH] Umami: Align pnpm with engines.pnpm on update (#17404) Umami 3.4.0 pins engines.pnpm to 12.3.4. update_script() never refreshed pnpm, so containers installed with pnpm < 12 fail at pnpm install with ERR_PNPM_UNSUPPORTED_ENGINE after the service was already stopped and the old release replaced. Read engines.pnpm from the deployed package.json and pass it to setup_nodejs (same approach as ct/seerr.sh), falling back to latest. Co-authored-by: Claude Opus 5 --- ct/umami.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ct/umami.sh b/ct/umami.sh index 8fe23658a..ab7113e6c 100644 --- a/ct/umami.sh +++ b/ct/umami.sh @@ -40,6 +40,9 @@ function update_script() { CLEAN_INSTALL=1 fetch_and_deploy_gh_release "umami" "umami-software/umami" "tarball" restore_backup + PNPM_VERSION=$(jq -r '.engines.pnpm // "latest"' /opt/umami/package.json) + NODE_VERSION="22" NODE_MODULE="pnpm@${PNPM_VERSION}" setup_nodejs + msg_info "Updating Umami" cd /opt/umami $STD pnpm install