[PR #9894] [MERGED] fix:ct/openwebui.sh adding progressbar and minimize service downtime #8359

Closed
opened 2026-02-26 16:32:38 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/9894
Author: @jobben-2025
Created: 12/11/2025
Status: Merged
Merged: 12/15/2025
Merged by: @tremor021

Base: mainHead: fix/openwebui.sh


📝 Commits (5)

  • 87372c8 fix:ct/openwebui.sh-ollama-progressbar-minimize-downtime
  • 712149f fix:ct/openwebui.sh
  • aa58735 changed curl arguments to -fS#LO and re-tested ok, progress bar runs in new line
  • e9f5ea0 opening if statement on line 95 indentation off, corrected to be same as existing
  • 53ba1dd removed comments

📊 Changes

1 file changed (+27 additions, -13 deletions)

View changed files

📝 ct/openwebui.sh (+27 -13)

📄 Description

✍️ Description

When running ‚update‘ command the ollama service is taken down and then the download runs eventually 'really long' (low speed internet/ollama server connection), this could lead to unnecessary user intervention or even wrongly re-installations.
At least the long service downtime might affect users during daytime.

Fixes #
Adding the curl progress bar using -# and not -s (silent); changing the order of the steps to first download the file and if file is present then taking down ollama service and doing the update procedure.

Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.
  • syntax - Ran syntax and shellcheck.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/community-scripts/ProxmoxVE/pull/9894 **Author:** [@jobben-2025](https://github.com/jobben-2025) **Created:** 12/11/2025 **Status:** ✅ Merged **Merged:** 12/15/2025 **Merged by:** [@tremor021](https://github.com/tremor021) **Base:** `main` ← **Head:** `fix/openwebui.sh` --- ### 📝 Commits (5) - [`87372c8`](https://github.com/community-scripts/ProxmoxVE/commit/87372c8b9b96a32dbf24342cc633936c0c6d2932) fix:ct/openwebui.sh-ollama-progressbar-minimize-downtime - [`712149f`](https://github.com/community-scripts/ProxmoxVE/commit/712149fb7639e76bd3934616d37e6c2e9605bb58) fix:ct/openwebui.sh - [`aa58735`](https://github.com/community-scripts/ProxmoxVE/commit/aa58735a72f1c8da9ff467d24d773d0a7b1887e8) changed curl arguments to -fS#LO and re-tested ok, progress bar runs in new line - [`e9f5ea0`](https://github.com/community-scripts/ProxmoxVE/commit/e9f5ea0c1589863daef44c370d3b6d7110aa380b) opening if statement on line 95 indentation off, corrected to be same as existing - [`53ba1dd`](https://github.com/community-scripts/ProxmoxVE/commit/53ba1ddbf2bd517606f61e868f6e62cfdcc19ae1) removed comments ### 📊 Changes **1 file changed** (+27 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `ct/openwebui.sh` (+27 -13) </details> ### 📄 Description <!--🛑 New scripts must be submitted to [ProxmoxVED](https://github.com/community-scripts/ProxmoxVED) for testing. PRs without prior testing will be closed. --> ## ✍️ Description When running ‚update‘ command the ollama service is taken down and then the download runs eventually 'really long' (low speed internet/ollama server connection), this could lead to unnecessary user intervention or even wrongly re-installations. At least the long service downtime might affect users during daytime. ## 🔗 Related Issue Fixes # Adding the curl progress bar using -# and not -s (silent); changing the order of the steps to first download the file and if file is present then taking down ollama service and doing the update procedure. ## ✅ Prerequisites (**X** in brackets) - [x] **Self-review completed** – Code follows project standards. - [x] **Tested thoroughly** – Changes work as expected. - [x] **No security risks** – No hardcoded secrets, unnecessary privilege escalations, or permission issues. - [x] **syntax** - Ran syntax and shellcheck. --- ## 🛠️ Type of Change (**X** in brackets) - [x] 🐞 **Bug fix** – Resolves an issue without breaking functionality. - [ ] ✨ **New feature** – Adds new, non-breaking functionality. - [ ] 💥 **Breaking change** – Alters existing functionality in a way that may require updates. - [ ] 🆕 **New script** – A fully functional and tested script or script set. - [ ] 🌍 **Website update** – Changes to website-related JSON files or metadata. - [ ] 🔧 **Refactoring / Code Cleanup** – Improves readability or maintainability without changing functionality. - [ ] 📝 **Documentation update** – Changes to `README`, `AppName.md`, `CONTRIBUTING.md`, or other docs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 16:32:38 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#8359
No description provided.