[GH-ISSUE #10657] Uninstaller should keep models by default #7006

Closed
opened 2026-04-12 18:53:51 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @adamhj on GitHub (May 11, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10657

What is the issue?

platform: windows 10 21H2

Today when I want to upgrade Ollama, I decide to uninstall the old version first.

But after I uninstall the old version and install the new version, I found that all my models are gone, .ollama\models\manifests and .ollama\models\blobs are both empty. After a test, I found that the uninstaller will remove both directories, while the installer will create them.

I don't think this behavior is acceptable as it may cause data lose. It's better to have an option in uninstaller to keep models and keep it on by default.

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @adamhj on GitHub (May 11, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10657 ### What is the issue? platform: windows 10 21H2 Today when I want to upgrade Ollama, I decide to uninstall the old version first. But after I uninstall the old version and install the new version, I found that all my models are gone, `.ollama\models\manifests` and `.ollama\models\blobs` are both empty. After a test, I found that the uninstaller will remove both directories, while the installer will create them. I don't think this behavior is acceptable as it may cause data lose. It's better to have an option in uninstaller to keep models and keep it on by default. ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the installbugwindows labels 2026-04-12 18:53:51 -05:00
Author
Owner

@jmorganca commented on GitHub (May 11, 2025):

I'm so sorry this happened. We'll revisit the uninstaller.

<!-- gh-comment-id:2869496717 --> @jmorganca commented on GitHub (May 11, 2025): I'm so sorry this happened. We'll revisit the uninstaller.
Author
Owner

@dhiltgen commented on GitHub (Jul 5, 2025):

The latest uninstaller now offers the ability to choose if you want to retain or remove your models.

Image
<!-- gh-comment-id:3040328764 --> @dhiltgen commented on GitHub (Jul 5, 2025): The latest uninstaller now offers the ability to choose if you want to retain or remove your models. <img width="757" height="569" alt="Image" src="https://github.com/user-attachments/assets/7a833e5c-c289-4b9d-a0f5-0843b68670a4" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#7006