From 62498a99de19c91336f19ed43e426cd3257cf4e9 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 20 Apr 2026 10:47:59 +0200 Subject: [PATCH] fix(node): add setup_nodejs to update scripts for iobroker, kima-hub, myip These three scripts had NODE_VERSION in install but not in update, so running an update would not upgrade Node.js to the correct version. - iobroker: add NODE_VERSION=24 - kima-hub: add NODE_VERSION=22 - myip: add NODE_VERSION=24 --- ct/iobroker.sh | 3 +++ ct/kima-hub.sh | 2 ++ ct/myip.sh | 2 ++ 3 files changed, 7 insertions(+) diff --git a/ct/iobroker.sh b/ct/iobroker.sh index 3856ff335..77d06babb 100644 --- a/ct/iobroker.sh +++ b/ct/iobroker.sh @@ -27,6 +27,9 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi + + NODE_VERSION="24" setup_nodejs + msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade diff --git a/ct/kima-hub.sh b/ct/kima-hub.sh index a1f3da652..d93375e42 100644 --- a/ct/kima-hub.sh +++ b/ct/kima-hub.sh @@ -29,6 +29,8 @@ function update_script() { exit fi + NODE_VERSION="22" setup_nodejs + if check_for_gh_release "kima-hub" "Chevron7Locked/kima-hub"; then msg_info "Stopping Services" systemctl stop kima-frontend kima-backend kima-analyzer kima-analyzer-clap diff --git a/ct/myip.sh b/ct/myip.sh index b648f5f4c..c092a3289 100644 --- a/ct/myip.sh +++ b/ct/myip.sh @@ -28,6 +28,8 @@ function update_script() { exit fi + NODE_VERSION="24" setup_nodejs + if check_for_gh_release "myip" "jason5ng32/MyIP"; then msg_info "Stopping Services" systemctl stop myip