Update oweb

This commit is contained in:
tremor021 2025-05-20 11:20:04 +02:00
parent 98368bdd1b
commit 8e1d8bdefa
2 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,7 @@ function update_script() {
cd /opt/openwebui
$STD npm install
export NODE_OPTIONS="--max-old-space-size=3584"
sed -i "s/git rev-parse HEAD/openssl rand -hex 20/g" /opt/openwebui/svelte.config.js
$STD npm run build
cd ./backend
$STD pip install -r requirements.txt -U

View File

@ -49,6 +49,7 @@ ENABLE_OLLAMA_API=false
EOF
$STD npm install
export NODE_OPTIONS="--max-old-space-size=3584"
sed -i "s/git rev-parse HEAD/openssl rand -hex 20/g" /opt/openwebui/svelte.config.js
$STD npm run build
msg_ok "Installed Open WebUI"