From ccdf6a4aecd68231d90c59041684c1037cc6286b Mon Sep 17 00:00:00 2001 From: Hristo Karamanliev Date: Sun, 20 Jul 2025 14:45:00 +0300 Subject: [PATCH] fix openwebui install/update scripts (#6093) --- ct/openwebui.sh | 2 +- install/openwebui-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/openwebui.sh b/ct/openwebui.sh index a1ded95d3..152880868 100644 --- a/ct/openwebui.sh +++ b/ct/openwebui.sh @@ -57,7 +57,7 @@ function update_script() { exit fi systemctl stop open-webui.service - $STD npm install + $STD npm install --force export NODE_OPTIONS="--max-old-space-size=3584" $STD npm run build cd ./backend diff --git a/install/openwebui-install.sh b/install/openwebui-install.sh index af2b36113..8fac9d12e 100644 --- a/install/openwebui-install.sh +++ b/install/openwebui-install.sh @@ -40,7 +40,7 @@ ENV=prod ENABLE_OLLAMA_API=false OLLAMA_BASE_URL=http://0.0.0.0:11434 EOF -$STD npm install +$STD npm install --force export NODE_OPTIONS="--max-old-space-size=3584" $STD npm run build msg_ok "Installed Open WebUI"