mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #1615] Ollama embedding model selection setting not persistent after Save and Docker container restart #28099
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 @odonnja on GitHub (Apr 19, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1615
Bug Report
Description
Ollama Embedding model selection setting not persistent after save and Docker container restart (resets to default model)
Bug Summary:
In Document settings > General > Update Embedding Model. After the "Embedding Model Engine" was selected as "Ollama" and the model was chosen (in this case "snowflake-arctic-embed:335m". Setting was saved and double checked after the save to make sure it saved. Setting was ok at that point, but after the docker image was shutdown and restarted via Docker Desktop, the "Default (SentienceTransformer" setting of "all-MiniLM-L6-v2" had returned and replaced the custom setting.
Steps to Reproduce:
Expected Behavior:
The saved settings should have remained in place after the Docker container was stopped and restarted.
Actual Behavior:
After the Docker container was stopped and restarted, the saved settings were replaced with the default settings.
Environment
Reproduction Details
Confirmation:
Logs and Screenshots
Installation Method
Installed WebUI with the standard Docker Command included in the instructions.
@c9482 commented on GitHub (Apr 19, 2024):
I am experiencing similar problem but, in addition to that, document settings do not persist event without restarting the container.
I can modify the document settings, click Save, close the dialog, re-open the dialog and all my changes are gone.
@tjbck commented on GitHub (Apr 19, 2024):
Duplicate #1022
@c9482 commented on GitHub (Apr 20, 2024):
For what it's worth, the way to save the document embedding settings is to click the button next to embedding model dropdown rather than clicking the Save button.
@Erik262 commented on GitHub (Apr 22, 2024):
unfortunately did not work on my side.