mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[GH-ISSUE #8913] Every time I open OpenWebUI, have to redownload the models. #15322
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 @coderyiyang on GitHub (Jan 25, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8913
Bug Report
I have installed Docker on Windows 10 and subsequently set up ollama and openwebui within Docker. The command used to install ollama was:
docker run --gpus all -d -v /opt/ai/ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollamaThe command used to install openwebui was:
docker run -d -p 8080:8080 --gpus all --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:cudaNow I'm encountering an issue where, after the first time opening openwebui and pulling an opensource model (let's assume it is qwen2.5:14b), the model works properly and can utilize the GPU for generation tasks. However, when I close openwebui and restart Docker, the model list becomes empty and the previously pulled model cannot be found in the model list anymore. It requires another download so as to use the model.
I hope that every time I open openwebui, the previously downloaded models will appear in the model list without needing to be re-downloaded. I understand that there might be an issue with parameter settings, but since I am not familiar with Docker, I don't know how to adjust it appropriately.
Installation Method
[Describe the method you used to install the project, e.g., git clone, Docker, pip, etc.]
Environment
Docker Desktop Version: [4.34.3 (170107)]
Open WebUI Version: [latest]
Ollama Version: [latest]
Operating System: [Windows 10]
Browser: [Chrome 131.0.6778.265]