mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #263] BUG: Ollama does not report correct version properly, so ollama-webui errors when loading the interface #12010
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 @sjclayton on GitHub (Dec 22, 2023).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/263
Describe the bug
When I open the web UI, I am greeted with this error message
Connection Issue or Update Neededfollowed byOops! It seems like your Ollama needs a little attention. We've detected either a connection hiccup or observed that you're using an older version. Ensure you're on the latest Ollama version (version 0.1.16 or higher) or check your connection.If I close this pop-up, everything works normally.Running a test connection to
http://127.0.0.1:11434/api/versionreports0.0.0It would appear that Ollama does not actually report the current version as of this time through the API, also I get the same result from running
ollama --versionon the command line.To Reproduce
Steps to reproduce the behavior:
Environment
@tjbck commented on GitHub (Dec 22, 2023):
Hi! Could you tell us more about your installation method that was required in the form? Also, if the version api route doesn't output the correct ollama version, that might be ollama's issue not the webui. Thanks!
@sjclayton commented on GitHub (Dec 22, 2023):
I am running the Web-UI only through Docker, Ollama is installed via Pacman.
Yes, the issue might be theirs... but from what I can tell they have never reported any version but 0.0.0 through that API call... so having the Web-UI check for something that it won't get seems like an issue.
EDIT: They added the initial code for a version string like 4 months ago, but it has never been set to an actual version number.
@tjbck commented on GitHub (Dec 23, 2023):
Hi, The desktop/docker version of Ollama include the api route that functions properly, so maybe pacman might be the culprit here? Could you try installing Ollama using other installation methods? Thanks!
FYI, here's a screenshot of what it should look like:
@melanopsis commented on GitHub (Dec 23, 2023):
I can confirm that this is a packaging issue on Arch. The webui works fine if I pull and run the ollama docker image.
@anuraagdjain commented on GitHub (Dec 23, 2023):
Same issue with home-brew on Mac. Had to uninstall the home-brew version and install the app from the official website.
@nerdenough commented on GitHub (Dec 23, 2023):
Same issue when cloning Ollama manually and building Ollama's Dockerfile. Can be worked around by replacing
0.0.0with an actual version number isollama/version/version.goand rebuilding.@tjbck commented on GitHub (Dec 23, 2023):
Seems like we might have to create this issue on the Ollama GitHub repo as well. If anyone creates one, please link this issue!
@sjclayton commented on GitHub (Dec 24, 2023):
Same here, have it running fine now using the docker image for ollama with the web-ui also running in docker.
@tjbck commented on GitHub (Dec 25, 2023):
I'll close this issue for now, but if anyone wants to create an issue on Ollama repo, feel free to link this issue! Thanks!
@ThatOneCalculator commented on GitHub (Dec 27, 2023):
Can
0.0.0be whitelisted as a version?@tjbck commented on GitHub (Dec 27, 2023):
@ThatOneCalculator, will try to whitelist w/ #216, Stay tuned!
@ThatOneCalculator commented on GitHub (Dec 27, 2023):
Awesome, thank you!