mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-03 07:24:59 -05:00
ollama version 0 ? #214
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 @iplayfast on GitHub (Jan 19, 2024).
Bug Report
Description
Bug Summary:
Your "effortless setup" is false advertising.
Basically other then getting a web interface up, I'm finding that it is totally unusable. It does not find my locally installed ollama or find the locally installed models. I've spent an hour trying various things to get it talking to my working ollama.
When I run
./run-ollama-docker.sh
Do you want ollama in Docker with GPU support? (y/n): y
Error response from daemon: No such container: ollama
latest: Pulling from ollama/ollama
Digest: sha256:74b2ac9790e07ff5871398a75eee42b758c7353ecc6579a4108a4b0de9bd78b2
Status: Image is up to date for ollama/ollama:latest
docker.io/ollama/ollama:latest
What's Next?
View a summary of image vulnerabilities and recommendations → docker scout quickview ollama/ollama:latest
unknown shorthand flag: ' ' in - -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama --gpus=all
See 'docker run --help'.
Total reclaimed space: 0B
No idea what this means. I normally run ollama as a server on my system.
It is running, as I can do "ollama run phi" and be talking to ollama.
However when I go to the web browser at http://localhost:3000/ it finds ollama version 0, says it can't connect and basically is non-responsive.
Assuming that it is a connection issue I went to the troubleshooting guide and found
If you're experiencing connection issues, it’s often due to the WebUI docker container not being able to reach the Ollama server at 127.0.0.1:11434 (host.docker
.internal:11434) inside the container . Use the
--network=hostflag in your docker command to resolve this. Note that the port changes from 3000 to 8080, resulting in the link:http://localhost:8080.so does that mean I need to edit my run-ollama-docker.sh file?
I've also tried the run.sh and after downloading a bunch of software when to the system and logging in, found that it still had no connection.
Steps to Reproduce:
git clone
Expected Behavior:
[Describe what you expected to happen.]
Actual Behavior:
[Describe what actually happened.]
Environment
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
git clone https://github.com/ollama-webui/ollama-webui.git
chmod +x *.sh
./run-ollama-docker.sh
./run.sh
./run-compose.sh
(all fail)
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@justinh-rahb commented on GitHub (Jan 19, 2024):
You can try running the following command instead of using the
run-ollama-docker.shscript:This command will run the Docker container with the necessary configuration to connect to your locally installed Ollama server. Make sure to clean up any existing containers, stacks, and volumes before running this command.
Regarding the troubleshooting guide's recommendation to use the
--network=hostflag, this is only necessary if the WebUI docker container cannot reach the Ollama server at127.0.0.1:11434 (host.docker.internal:11434)inside the container. However, since you are running Ollama on your system and not in a Docker container, this is not necessary.I hope this helps you get Ollama up and running! If you continue to experience issues, please let me know.
@0xb15d3 commented on GitHub (Jan 19, 2024):
You should at least include what command you used to install webui. Is there a reason why you're not using the command provided in the readme?
./run-ollama-docker.shinstalls ollama on your system not the webui.