It is just that the UI part (code) is left unfixed.
Originally created by @chitoku on GitHub (May 15, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/2292
# Bug Report
## Description
**Bug Summary:**
When env variable `DOCS_DIR` is supplied, the UI does not reflect the supplied value but still shows the default value (`/data/docs`).
**Steps to Reproduce:**
```
docker run --rm --network=host \
-e OLLAMA_BASE_URL=http://127.0.0.1:11434 \
-e DOCS_DIR=/data/documents \
-v ${PWD}/documents/:/data/documents/ \
ghcr.io/open-webui/open-webui:dev
```
**Expected Behavior:**
When env variable `DOCS_DIR` is supplied, the UI shows that value.
**Actual Behavior:**
The UI still shows `/data/docs`.
(When pressed `Scan` button, 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:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on the latest version of both Open WebUI and Ollama.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
## 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](https://github.com/open-webui/open-webui/blob/dev/src/lib/components/documents/Settings/General.svelte#L199)) is left unfixed.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @chitoku on GitHub (May 15, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/2292
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.