mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-10 23:55:15 -05:00
[PR #16945] [CLOSED] fix: minor shell script fixes for more reliable execution #111598
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/16945
Author: @silentoplayz
Created: 8/27/2025
Status: ❌ Closed
Base:
dev← Head:update-devsh📝 Commits (5)
0ebacd3fix: quote variables in backend/dev.sh to avoid word splitting & globbing6d45acerefac: start.sh1b214b9refac: confirm_remove.sh679b42erefac: run-ollama-docker.sh703df8crefac: update_ollama_models.sh📊 Changes
5 files changed (+41 additions, -23 deletions)
View changed files
📝
backend/dev.sh(+7 -1)📝
backend/start.sh(+4 -2)📝
confirm_remove.sh(+14 -12)📝
run-ollama-docker.sh(+13 -5)📝
update_ollama_models.sh(+3 -3)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Changed
$PORTvariable in double quotes ("$PORT") to avoid word‑splitting when the variable is empty or contains spaces."*"), keeping the style consistent.uvicorncommand with line‑continuations for readability.Fixed
PORTvariable could cause the script to fail or behave unexpectedly.*argument passed to--forwarded-allow-ips.Additional Information
CORS_ALLOW_ORIGINtohttp://localhost:5173for local development and runs the Uvicorn server on the suppliedPORT(default 8080).Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.