Merge remote-tracking branch 'upstream/main' into main_local

This commit is contained in:
Sam Heinz
2025-03-11 11:35:37 +10:00
443 changed files with 3089 additions and 1330 deletions
+7
View File
@@ -29,6 +29,11 @@ function update_script() {
fi
msg_info "Updating ${APP} (Patience)"
cd /opt/open-webui
mkdir /opt/open-webui-backup
cp -rf /opt/open-webui/backend/data /opt/open-webui-backup
git add -A
$STD git stash
$STD git reset --hard
output=$(git pull --no-rebase)
if echo "$output" | grep -q "Already up to date."; then
msg_ok "$APP is already up to date."
@@ -40,6 +45,8 @@ function update_script() {
$STD npm run build
cd ./backend
$STD pip install -r requirements.txt -U
cp -rf /opt/open-webui-backup/* /opt/open-webui/backend
$STD git stash pop
systemctl start open-webui.service
msg_ok "Updated Successfully"
exit