From e3aabd81a35bb62a1529f8e44d3ba37ecb3e3580 Mon Sep 17 00:00:00 2001 From: HeedfulCrayon Date: Sun, 21 Sep 2025 03:40:33 -0600 Subject: [PATCH] Update Ollama Installer in OpenWebUI to resume downloads if interrupted (#7779) * Fix curl command options for downloading file * Update curl command for Ollama installation --- 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 ac7596f62..8d46d5acc 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 -fsSLO https://ollama.com/download/ollama-linux-amd64.tgz + curl -fsCSLO 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 8fac9d12e..8694da970 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 -fsSLO https://ollama.com/download/ollama-linux-amd64.tgz + curl -fsCSLO 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