mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-12 01:54:38 -05:00
Open WebUI errors when Ollama server version isn't an integer (e.g. SHA builds, RCs etc...) #744
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 @sammcj on GitHub (Apr 27, 2024).
Bug Report
Description
Bug Summary:
If you're building Ollama yourself, by default it doesn't generate a version the same as the release versions, it either generates its version as 0.0.0, as the SHA of the branch/tag you're on (e.g.
a2d24d5) or a pre-release RC version (e.g.v0.1.33-RC5).This seems to cause Open WebUI to experience a crash when checking the Ollama server.
For example, my Ollama build is:
Which causes an error in Open WebUI when checking the server:
Logs:
Steps to Reproduce:
Expected Behaviour:
Actual Behaviour:
Environment
Open WebUI Version: v0.1.121
Ollama (if applicable): v0.1.33-rc5
Operating System: Linux/Container
Browser (if applicable): Firefox 125
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
Screenshots (if applicable):
As above
Installation Method
Docker
Additional Information
Feel free to ask for any additional info, happy to help
This was the cause of https://github.com/open-webui/open-webui/issues/1591 / https://github.com/open-webui/open-webui/discussions/1592
@tjbck commented on GitHub (Apr 27, 2024):
Thanks for letting us know! Should be fixed on our dev branch, let me know if the issue persists!
@sammcj commented on GitHub (Apr 28, 2024):
Confirmed fixed, thank you!