mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-16 20:11:53 -05:00
bug: DOCS_DIR env variable not reflected on UI #930
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?
Originally created by @chitoku on GitHub (May 15, 2024).
Bug Report
Description
Bug Summary:
When env variable
DOCS_DIRis supplied, the UI does not reflect the supplied value but still shows the default value (/data/docs).Steps to Reproduce:
Expected Behavior:
When env variable
DOCS_DIRis supplied, the UI shows that value.Actual Behavior:
The UI still shows
/data/docs.(When pressed
Scanbutton, it does scan the correct dir that is specified by the env variable)Environment
Open WebUI Version: v0.1.124
Ollama (if applicable): N/A
Operating System: Ubuntu 22.04
Browser (if applicable): N/A (Chrome)
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
N/A
Docker Container Logs:
N/A
Screenshots (if applicable):

Installation Method
Docker
Additional Information
The implementation is already fixed with this PR (https://github.com/open-webui/open-webui/pull/1734).
It is just that the UI part (code) is left unfixed.