From 5ab375fd89850cf14f5720829189ef8155bf8bb0 Mon Sep 17 00:00:00 2001 From: HeedfulCrayon Date: Sun, 21 Sep 2025 10:56:31 -0600 Subject: [PATCH] fix openwebui update and installer (#7788) * Update curl command to support resuming downloads * fix: correct curl command for downloading Ollama to support resuming --- ct/openwebui.sh | 2 +- install/openwebui-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/openwebui.sh b/ct/openwebui.sh index 8d46d5acc..9c66fc2a0 100644 --- a/ct/openwebui.sh +++ b/ct/openwebui.sh @@ -36,7 +36,7 @@ function update_script() { msg_info "Stopping Service" systemctl stop ollama msg_ok "Stopped Service" - curl -fsCSLO https://ollama.com/download/ollama-linux-amd64.tgz + curl -fsSLO -C - https://ollama.com/download/ollama-linux-amd64.tgz rm -rf /usr/lib/ollama rm -rf /usr/bin/ollama tar -C /usr -xzf ollama-linux-amd64.tgz diff --git a/install/openwebui-install.sh b/install/openwebui-install.sh index 8694da970..8a2d311d0 100644 --- a/install/openwebui-install.sh +++ b/install/openwebui-install.sh @@ -48,7 +48,7 @@ msg_ok "Installed Open WebUI" read -r -p "${TAB3}Would you like to add Ollama? " prompt if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then msg_info "Installing Ollama" - curl -fsCSLO https://ollama.com/download/ollama-linux-amd64.tgz + curl -fsSLO -C - https://ollama.com/download/ollama-linux-amd64.tgz tar -C /usr -xzf ollama-linux-amd64.tgz rm -rf ollama-linux-amd64.tgz cat </etc/systemd/system/ollama.service