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"