mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 08:34:32 -05:00
[PR #24683] [MERGED] fix: default WEB_LOADER_ENGINE in start.sh to avoid unbound-variable … #131443
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/24683
Author: @Classic298
Created: 5/13/2026
Status: ✅ Merged
Merged: 5/15/2026
Merged by: @tjbck
Base:
dev← Head:fix/start-sh-unbound-web-loader-engine📝 Commits (1)
ed28ddafix: default optional env vars used with bash,,in start.sh📊 Changes
1 file changed (+6 additions, -0 deletions)
View changed files
📝
backend/start.sh(+6 -0)📄 Description
…crash
start.sh runs with
set -euo pipefail, but the playwright-install branch references${WEB_LOADER_ENGINE,,}without a:-default. Containers that don't set WEB_LOADER_ENGINE in their env — the default for every deployment that isn't explicitly using playwright/firecrawl/tavily — crash on startup with:Introduced by
070ab2650(refac: reorganize scripts and ci workflows). Every other env-var reference in start.sh already uses:-; this one was missed because bash's,,lowercase expansion can't be combined with:-in a single substitution. Splitting into two steps keeps the lowercase comparison intact.Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.