diff --git a/ct/flowiseai.sh b/ct/flowiseai.sh index 9b79a8a0d..59e068f1e 100644 --- a/ct/flowiseai.sh +++ b/ct/flowiseai.sh @@ -27,9 +27,11 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi + + NODE_VERSION="20" NODE_MODULE="pnpm" setup_nodejs + msg_info "Updating FlowiseAI (this may take some time)" systemctl stop flowise - NODE_VERSION="20" NODE_MODULE="pnpm" setup_nodejs $STD pnpm add -g flowise if grep -q 'ExecStart=npx flowise start' /etc/systemd/system/flowise.service; then sed -i 's|ExecStart=npx flowise start|ExecStart=flowise start|' /etc/systemd/system/flowise.service