mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
start.sh cd's to its own directory, so the generated .webui_secret_key lands in
an image layer instead of the mounted volume. It is therefore lost on every
container recreate, signing all users out, and the directory is not writable
when the container does not run as root, which aborts the boot outright:
start.sh: line 46: .webui_secret_key: Permission denied
Resolve to WEBUI_SECRET_KEY_FILE, then an existing ./.webui_secret_key, then
DATA_DIR. Regeneration triggers on missing or empty rather than absent, since an
empty key now persists; an unreadable one is left alone, as it may belong to
another UID and also encrypts OAuth sessions and valves.
Closes #26662
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
21 lines
245 B
Text
21 lines
245 B
Text
.github
|
|
.DS_Store
|
|
docs
|
|
kubernetes
|
|
node_modules
|
|
/.svelte-kit
|
|
/package
|
|
.env
|
|
.env.*
|
|
vite.config.js.timestamp-*
|
|
vite.config.ts.timestamp-*
|
|
__pycache__
|
|
.idea
|
|
venv
|
|
_old
|
|
uploads
|
|
.ipynb_checkpoints
|
|
**/*.db
|
|
_test
|
|
backend/data/*
|
|
backend/.webui_secret_key
|