Ollama removed when update openWebUI #1201

Closed
opened 2026-02-04 23:37:14 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @JohanHardy on GitHub (Jun 30, 2025).

Originally assigned to: @tremor021 on GitHub.

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/openwebui.sh

📂 What was the exact command used to execute the script?

update in proxmox console for openwebui

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

In the update script there is an error : https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/openwebui.sh

The ollama binary is removed before checking its version. Please move the "rm -rf" commands on lib and bin within the IF release is different than current.

Otherwise, the ollama is removed and no more update is feasible on ollama afterward.

🔄 Steps to reproduce the issue.

execute "update" with an ollama instance in Linux console from proxmox.

Paste the full error output (if available).

Error at OLLAMA_VERSION=$(ollama -v | awk '{print $NF}') because ollama is removed just above

🖼️ Additional context (optional).

Work around, make your own update script for ollama 👍

root@HOME-LLM:~# cat ./update_ollama.sh #!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) OLLAMA_VERSION=$(ollama -v | awk '{print $NF}') RELEASE=$(curl -s https://api.github.com/repos/ollama/ollama/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4)}') if [ "$OLLAMA_VERSION" != "$RELEASE" ]; then rm -rf /usr/lib/ollama rm -rf /usr/bin/ollama curl -fsSLO https://ollama.com/download/ollama-linux-amd64.tgz tar -C /usr -xzf ollama-linux-amd64.tgz rm -rf ollama-linux-amd64.tgz msg_ok "Ollama updated to version $RELEASE" else msg_ok "Ollama is already up to date." fi

Originally created by @JohanHardy on GitHub (Jun 30, 2025). Originally assigned to: @tremor021 on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/openwebui.sh ### 📂 What was the exact command used to execute the script? update in proxmox console for openwebui ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. In the update script there is an error : https://[raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/openwebui.sh](https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/openwebui.sh) The ollama binary is removed before checking its version. Please move the "rm -rf" commands on lib and bin within the IF release is different than current. Otherwise, the ollama is removed and no more update is feasible on ollama afterward. ### 🔄 Steps to reproduce the issue. execute "update" with an ollama instance in Linux console from proxmox. ### ❌ Paste the full error output (if available). Error at OLLAMA_VERSION=$(ollama -v | awk '{print $NF}') because ollama is removed just above ### 🖼️ Additional context (optional). Work around, make your own update script for ollama 👍 `root@HOME-LLM:~# cat ./update_ollama.sh #!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) OLLAMA_VERSION=$(ollama -v | awk '{print $NF}') RELEASE=$(curl -s https://api.github.com/repos/ollama/ollama/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4)}') if [ "$OLLAMA_VERSION" != "$RELEASE" ]; then rm -rf /usr/lib/ollama rm -rf /usr/bin/ollama curl -fsSLO https://ollama.com/download/ollama-linux-amd64.tgz tar -C /usr -xzf ollama-linux-amd64.tgz rm -rf ollama-linux-amd64.tgz msg_ok "Ollama updated to version $RELEASE" else msg_ok "Ollama is already up to date." fi`
OVERLORD added the bug label 2026-02-04 23:37:14 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1201