fix openwebui install/update scripts (#6093)

This commit is contained in:
Hristo Karamanliev 2025-07-20 14:45:00 +03:00 committed by GitHub
parent c2c2e4030e
commit ccdf6a4aec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"