fix openwebui install/update scripts (#6093)
This commit is contained in:
parent
c2c2e4030e
commit
ccdf6a4aec
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user