Originally created by @odonnja on GitHub (Apr 19, 2024).
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:
In Document settings > General > Update Embedding Model. Set the "Embedding Model Engine" to "Ollama" and the model was chose an embedding model that has been previously downloaded. (in this case "snowflake-arctic-embed:335m". Click the check mark next to the dropdown box to select the model. Click the "Save" button at the bottom of the window.
Logout of Open WebUI and close the browser.
In Docker Desktop. Stop the container and then start the container.
Log back into Open WebUI in the web browser.
Go to the Document > Document settings > General and you will see that the default settings have returned and replaced the custom ones that were set in step 1.
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
Operating System: [Windows Server 2022 Data Center Edition(
Browser (if applicable): Chrome Version 124.0.6367.61
Reproduction Details
Confirmation:
[ X] I have read and followed all the instructions provided in the README.md.
[ X] I am on the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
Logs and Screenshots
Installation Method
Installed WebUI with the standard Docker Command included in the instructions.
Originally created by @odonnja on GitHub (Apr 19, 2024).
# 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:**
1. In Document settings > General > Update Embedding Model. Set the "Embedding Model Engine" to "Ollama" and the model was chose an embedding model that has been previously downloaded. (in this case "snowflake-arctic-embed:335m". Click the check mark next to the dropdown box to select the model. Click the "Save" button at the bottom of the window.
2. Logout of Open WebUI and close the browser.
3. In Docker Desktop. Stop the container and then start the container.
4. Log back into Open WebUI in the web browser.
5. Go to the Document > Document settings > General and you will see that the default settings have returned and replaced the custom ones that were set in step 1.
**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
- **Operating System:** [Windows Server 2022 Data Center Edition(
- **Browser (if applicable):** Chrome Version 124.0.6367.61
## Reproduction Details
**Confirmation:**
- [ X] I have read and followed all the instructions provided in the README.md.
- [ X] I am on the latest version of both Open WebUI and Ollama.
- [ ] I have included the browser console logs.
- [ ] I have included the Docker container logs.
## Logs and Screenshots
## Installation Method
Installed WebUI with the standard Docker Command included in the instructions.
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.
@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.
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.
@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.

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.
unfortunately did not work on my side.
@Erik262 commented on GitHub (Apr 22, 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.
>
> 
unfortunately did not work on my side.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @odonnja on GitHub (Apr 19, 2024).
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.