I have read and followed all the instructions provided in the README.md.
I am on the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
Expected Behavior:
The web interface should be available under the URI /open-webui
Actual Behavior:
The web interface is NOT available under the URI /open-webui
Description
Bug Summary:
Specify a specific URI using ROOT_PATH or WEBUI_BASE_URL environment variables do not work.
Reproduction Details
Steps to Reproduce:
Simply install the latest version of the container using the command above.
Logs and Screenshots
Browser Console Logs:
not relevant
Docker Container Logs:
not relevant
Screenshots/Screen Recordings (if applicable):
not relevant
Additional Information
I am available for any further questions or testing.
Originally created by @hostingnuggets on GitHub (Nov 26, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7377
# Bug Report
## Installation Method
`docker run -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 -e WEBUI_BASE_URL="http://localhost:8080/open-webui" --name open-webui --restart always ghcr.io/open-webui/open-webui:main`
## Environment
- **Open WebUI Version:** [v0.4.4]
- **Operating System:** [Ubuntu 24.04]
- **Browser (if applicable):** [Firefox 128.4]
**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.
- [ ] I have included the browser console logs.
- [ ] I have included the Docker container logs.
- [X] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
The web interface should be available under the URI /open-webui
## Actual Behavior:
The web interface is NOT available under the URI /open-webui
## Description
**Bug Summary:**
Specify a specific URI using `ROOT_PATH` or `WEBUI_BASE_URL` environment variables do not work.
## Reproduction Details
**Steps to Reproduce:**
Simply install the latest version of the container using the command above.
## Logs and Screenshots
**Browser Console Logs:**
not relevant
**Docker Container Logs:**
not relevant
**Screenshots/Screen Recordings (if applicable):**
not relevant
## Additional Information
I am available for any further questions or testing.
@hostingnuggets commented on GitHub (Nov 26, 2024):
@tjbck I don't understand why you closed this issue as not planned? I reported that these variable environments are not working, shouldn't they be working?
<!-- gh-comment-id:2501377462 -->
@hostingnuggets commented on GitHub (Nov 26, 2024):
@tjbck I don't understand why you closed this issue as not planned? I reported that these variable environments are not working, shouldn't they be working?
<!-- gh-comment-id:2502789579 -->
@hostingnuggets commented on GitHub (Nov 27, 2024):
> There's no such thing as `ROOT_PATH`, `WEBUI_BASE_URL`.
What about: https://github.com/search?q=repo%3Aopen-webui%2Fopen-webui%20WEBUI_BASE_URL&type=code
if your open-webui is on a different machine and network you define that in your --network= line, ie; --network=10.10.0.13:8080
<!-- gh-comment-id:2503396519 -->
@alkaris2 commented on GitHub (Nov 27, 2024):
If it's on the same machine and network you're running it on, you only need to do
```
--network=host -v open-webui:/app/backend/data
```
which you already have at the beginning of your command line, so just drop the extra environment variable for;
```
-e WEBUI_BASE_URL="http://localhost:8080/open-webui"
```
if your open-webui is on a different machine and network you define that in your `--network=` line, ie; `--network=10.10.0.13:8080`
@hostingnuggets commented on GitHub (Nov 28, 2024):
Thank you @alkaris2 for your answer but still with your recommendations Open WebUI is not available under the /open-webui path.
<!-- gh-comment-id:2505269353 -->
@hostingnuggets commented on GitHub (Nov 28, 2024):
Thank you @alkaris2 for your answer but still with your recommendations Open WebUI is not available under the `/open-webui` path.
Thank you @alkaris2 for your answer but still with your recommendations Open WebUI is not available under the /open-webui path.
That's because it's a virtual mount point within Docker once it's running, it doesn't actually exist on your / root directory mount point, only within the Docker container that you've created. You can map to a physical mount point, an example if mounting a MySQl Database to a Local Directory you would do something like this -v $(pwd)/datadir:/var/lib/mysql
<!-- gh-comment-id:2505476988 -->
@alkaris2 commented on GitHub (Nov 28, 2024):
> Thank you @alkaris2 for your answer but still with your recommendations Open WebUI is not available under the `/open-webui` path.
That's because it's a virtual mount point within Docker once it's running, it doesn't actually exist on your `/` root directory mount point, only within the Docker container that you've created. You can map to a physical mount point, an example if mounting a MySQl Database to a Local Directory you would do something like this `-v $(pwd)/datadir:/var/lib/mysql`
@hostingnuggets commented on GitHub (Nov 28, 2024):
Sorry for the confusion @alkaris2 but I am not speaking about a filesystem path but about a URL path.
<!-- gh-comment-id:2505725429 -->
@hostingnuggets commented on GitHub (Nov 28, 2024):
Sorry for the confusion @alkaris2 but I am not speaking about a **filesystem** path but about a **URL** path.
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 @hostingnuggets on GitHub (Nov 26, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7377
Bug Report
Installation Method
docker run -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 -e WEBUI_BASE_URL="http://localhost:8080/open-webui" --name open-webui --restart always ghcr.io/open-webui/open-webui:mainEnvironment
Confirmation:
Expected Behavior:
The web interface should be available under the URI /open-webui
Actual Behavior:
The web interface is NOT available under the URI /open-webui
Description
Bug Summary:
Specify a specific URI using
ROOT_PATHorWEBUI_BASE_URLenvironment variables do not work.Reproduction Details
Steps to Reproduce:
Simply install the latest version of the container using the command above.
Logs and Screenshots
Browser Console Logs:
not relevant
Docker Container Logs:
not relevant
Screenshots/Screen Recordings (if applicable):
not relevant
Additional Information
I am available for any further questions or testing.
@hostingnuggets commented on GitHub (Nov 26, 2024):
@tjbck I don't understand why you closed this issue as not planned? I reported that these variable environments are not working, shouldn't they be working?
@tjbck commented on GitHub (Nov 26, 2024):
There's no such thing as
ROOT_PATH,WEBUI_BASE_URL.@hostingnuggets commented on GitHub (Nov 27, 2024):
What about: https://github.com/search?q=repo%3Aopen-webui%2Fopen-webui%20WEBUI_BASE_URL&type=code
@alkaris2 commented on GitHub (Nov 27, 2024):
If it's on the same machine and network you're running it on, you only need to do
which you already have at the beginning of your command line, so just drop the extra environment variable for;
if your open-webui is on a different machine and network you define that in your
--network=line, ie;--network=10.10.0.13:8080@hostingnuggets commented on GitHub (Nov 28, 2024):
Thank you @alkaris2 for your answer but still with your recommendations Open WebUI is not available under the
/open-webuipath.@alkaris2 commented on GitHub (Nov 28, 2024):
That's because it's a virtual mount point within Docker once it's running, it doesn't actually exist on your
/root directory mount point, only within the Docker container that you've created. You can map to a physical mount point, an example if mounting a MySQl Database to a Local Directory you would do something like this-v $(pwd)/datadir:/var/lib/mysql@hostingnuggets commented on GitHub (Nov 28, 2024):
Sorry for the confusion @alkaris2 but I am not speaking about a filesystem path but about a URL path.
@0k00l commented on GitHub (Nov 6, 2025):
Use DNS alias and make catch by host ;)