Getting a 500 error with this Docker run command #979

Closed
opened 2025-11-11 14:34:48 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @DeflateAwning on GitHub (May 20, 2024).

Bug Report

Description

Bug Summary:

# this one works fine, but I can't connect to Ollama, so I'm trying the next one (per the README troubleshooting):
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main

# this results in an error:
docker run -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main

Steps to Reproduce:

  1. Run docker commands above.

Expected Behavior:
I expect the page to load.

Actual Behavior:
I get a 500 error with no description of the error. The docker log output doesn't show anything useful either (no logs related to the error or attempted page load).

Environment

  • Open WebUI Version: 0.1.125

  • Ollama (if applicable): 0.1.38

  • Operating System: Ubuntu

  • Browser (if applicable): N/A

Reproduction Details

Installation Method

See above.

Originally created by @DeflateAwning on GitHub (May 20, 2024). # Bug Report ## Description **Bug Summary:** ```bash # this one works fine, but I can't connect to Ollama, so I'm trying the next one (per the README troubleshooting): docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main # this results in an error: docker run -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main ``` **Steps to Reproduce:** 1. Run docker commands above. **Expected Behavior:** I expect the page to load. **Actual Behavior:** I get a 500 error with no description of the error. The `docker log` output doesn't show anything useful either (no logs related to the error or attempted page load). ## Environment - **Open WebUI Version:** 0.1.125 - **Ollama (if applicable):** 0.1.38 - **Operating System:** Ubuntu - **Browser (if applicable):** N/A ## Reproduction Details ## Installation Method See above.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#979