[GH-ISSUE #683] Please provide simple QuickStart install guide for Ubuntu from clean OS install #12176

Closed
opened 2026-04-19 19:01:50 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @tbendien on GitHub (Feb 9, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/683

Bug Report

Description

I have tried doing a new install of OWUI on my host with a NVIDIA GPU with a clean new install of Ubuntu and just can't get the web ui to connect to the local Ollama. I see from the forums that may people are having issues with the install.

The sad thing is that I got it running on this host before but I did not document my steps, now after several hours I still can't get it to work.

Bug Summary:
Getting Ollama server connection error.
There are no clear step by step instructions on doing a new install on a fresh Ubuntu host.

Steps to Reproduce:
Trying to follow the instructions.

Expected Behavior:
I would love to have a simple docker pull command to fully install Ollama and Ollama Web UI in one command.
I was hoping that the git clone and the single command below would do it...

Actual Behavior:
Can't get OWUI running.

Environment

Ubuntu 22.04 NVIDIA GPU

Reproduction Details

Confirmation:

  • I have read and followed all the instructions provided in the README.md.

Installation Method

git cloned the repo
ran:

docker build -t ollama-webui .
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v ollama-webui:/app/backend/data --name ollama-webui --restart always ollama-webui

Also tried installing Ollama locally, and it ran fine at the CLI with GPU.

Originally created by @tbendien on GitHub (Feb 9, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/683 # Bug Report ## Description I have tried doing a new install of OWUI on my host with a NVIDIA GPU with a clean new install of Ubuntu and just can't get the web ui to connect to the local Ollama. I see from the forums that may people are having issues with the install. The sad thing is that I got it running on this host before but I did not document my steps, now after several hours I still can't get it to work. **Bug Summary:** Getting Ollama server connection error. There are no clear step by step instructions on doing a new install on a fresh Ubuntu host. **Steps to Reproduce:** Trying to follow the instructions. **Expected Behavior:** I would love to have a simple docker pull command to fully install Ollama and Ollama Web UI in one command. I was hoping that the git clone and the single command below would do it... **Actual Behavior:** Can't get OWUI running. ## Environment Ubuntu 22.04 NVIDIA GPU ## Reproduction Details **Confirmation:** - [ ] I have read and followed all the instructions provided in the README.md. ## Installation Method git cloned the repo ran: docker build -t ollama-webui . docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v ollama-webui:/app/backend/data --name ollama-webui --restart always ollama-webui Also tried installing Ollama locally, and it ran fine at the CLI with GPU.
Author
Owner

@tjbck commented on GitHub (Feb 9, 2024):

Duplicate open-webui/docs#44, Please check out our troubleshooting guide as well.

<!-- gh-comment-id:1935339193 --> @tjbck commented on GitHub (Feb 9, 2024): Duplicate open-webui/docs#44, Please check out our troubleshooting guide as well.
Author
Owner

@justinh-rahb commented on GitHub (Feb 9, 2024):

Only commands needed if you have already installed Ollama outside Docker and verified with CLI:

OLLAMA_HOST=127.0.0.1:11434 OLLAMA_ORIGINS=* ollama serve
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -e OLLAMA_API_BASE_URL=http://host.docker.internal:11434/api -v ollama-webui:/app/backend/data --name ollama-webui --restart always ghcr.io/ollama-webui/ollama-webui:main

You might also try host networking if the above docker run command still doesn't work:

docker run -d --network=host -e OLLAMA_API_BASE_URL=http://127.0.0.1:11434/api -v ollama-webui:/app/backend/data --name ollama-webui --restart always ghcr.io/ollama-webui/ollama-webui:main
<!-- gh-comment-id:1935340203 --> @justinh-rahb commented on GitHub (Feb 9, 2024): Only commands needed if you have already installed Ollama outside Docker and verified with CLI: ```bash OLLAMA_HOST=127.0.0.1:11434 OLLAMA_ORIGINS=* ollama serve docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -e OLLAMA_API_BASE_URL=http://host.docker.internal:11434/api -v ollama-webui:/app/backend/data --name ollama-webui --restart always ghcr.io/ollama-webui/ollama-webui:main ``` You might also try host networking if the above `docker run` command still doesn't work: ```bash docker run -d --network=host -e OLLAMA_API_BASE_URL=http://127.0.0.1:11434/api -v ollama-webui:/app/backend/data --name ollama-webui --restart always ghcr.io/ollama-webui/ollama-webui:main ```
Author
Owner

@tbendien commented on GitHub (Feb 9, 2024):

@justinh-rahb I would like to ask if I may hire you to help me get this installation done. I am missing something and have to get this working.

<!-- gh-comment-id:1935359415 --> @tbendien commented on GitHub (Feb 9, 2024): @justinh-rahb I would like to ask if I may hire you to help me get this installation done. I am missing something and have to get this working.
Author
Owner

@justinh-rahb commented on GitHub (Feb 9, 2024):

@justinh-rahb I would like to ask if I may hire you to help me get this installation done. I am missing something and have to get this working.

Sorry, I've got a dayjob, and this wouldn't feel right to me since the author of this project accepts sponsorships including tiers that come with support.

<!-- gh-comment-id:1935366240 --> @justinh-rahb commented on GitHub (Feb 9, 2024): > @justinh-rahb I would like to ask if I may hire you to help me get this installation done. I am missing something and have to get this working. Sorry, I've got a dayjob, and this wouldn't feel right to me since the author of this project accepts sponsorships including tiers that come with support.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#12176