From 8e1d8bdefae816a6b9e17821a097454cf5f49663 Mon Sep 17 00:00:00 2001 From: tremor021 Date: Tue, 20 May 2025 11:20:04 +0200 Subject: [PATCH] Update oweb --- ct/openwebui.sh | 1 + install/openwebui-install.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/ct/openwebui.sh b/ct/openwebui.sh index 71b4431..96647a9 100644 --- a/ct/openwebui.sh +++ b/ct/openwebui.sh @@ -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 diff --git a/install/openwebui-install.sh b/install/openwebui-install.sh index a2100f7..aebb130 100644 --- a/install/openwebui-install.sh +++ b/install/openwebui-install.sh @@ -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"