[GH-ISSUE #7183] Failed to update all the models downloaded locally #30323

Closed
opened 2026-04-22 09:53:46 -05:00 by GiteaMirror · 7 comments
Owner

Originally created by @qzc438 on GitHub (Oct 12, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7183

What is the issue?

When I use this code in the latest version of ollama: ollama list | cut -f 1 | tail -n +2 | xargs -n 1 ollama pull
There is an error message:
pulling manifest
Error: pull model manifest: file does not exist

OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @qzc438 on GitHub (Oct 12, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7183 ### What is the issue? When I use this code in the latest version of ollama: `ollama list | cut -f 1 | tail -n +2 | xargs -n 1 ollama pull` There is an error message: pulling manifest Error: pull model manifest: file does not exist ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-22 09:53:46 -05:00
Author
Owner

@rick-github commented on GitHub (Oct 12, 2024):

ollama list | cut -f 1 | tail -n +2 | xargs -i@ bash -c 'ollama pull @ 2>&- || echo failed: @'
<!-- gh-comment-id:2408535325 --> @rick-github commented on GitHub (Oct 12, 2024): ``` ollama list | cut -f 1 | tail -n +2 | xargs -i@ bash -c 'ollama pull @ 2>&- || echo failed: @' ```
Author
Owner

@qzc438 commented on GitHub (Oct 12, 2024):

ollama list | cut -f 1 | tail -n +2 | xargs -i@ bash -c 'ollama pull @ 2>&- || echo failed: @'

How do I use this code? It looks like only print logs.

<!-- gh-comment-id:2408541118 --> @qzc438 commented on GitHub (Oct 12, 2024): > ``` > ollama list | cut -f 1 | tail -n +2 | xargs -i@ bash -c 'ollama pull @ 2>&- || echo failed: @' > ``` How do I use this code? It looks like only print logs.
Author
Owner

@rick-github commented on GitHub (Oct 12, 2024):

Run it from the command line. It will update all the models, and print the names of the models that fail. Then you can determine why the failed models weren't updated: old model, not from the ollama library, etc.

<!-- gh-comment-id:2408544020 --> @rick-github commented on GitHub (Oct 12, 2024): Run it from the command line. It will update all the models, and print the names of the models that fail. Then you can determine why the failed models weren't updated: old model, not from the ollama library, etc.
Author
Owner

@qzc438 commented on GitHub (Oct 12, 2024):

Run it from the command line. It will update all the models, and print the names of the models that fail. Then you can determine why the failed models weren't updated: old model, not from the ollama library, etc.

Tested. It shows all model updates have failed.

<!-- gh-comment-id:2408545010 --> @qzc438 commented on GitHub (Oct 12, 2024): > Run it from the command line. It will update all the models, and print the names of the models that fail. Then you can determine why the failed models weren't updated: old model, not from the ollama library, etc. Tested. It shows all model updates have failed.
Author
Owner

@rick-github commented on GitHub (Oct 12, 2024):

Pick a model and run ollama pull $MODEL, post the result. Add the server logs.

<!-- gh-comment-id:2408550778 --> @rick-github commented on GitHub (Oct 12, 2024): Pick a model and run `ollama pull $MODEL`, post the result. Add the [server logs](https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md#how-to-troubleshoot-issues).
Author
Owner

@qzc438 commented on GitHub (Oct 13, 2024):

Error: pull model manifest: file does not exist

This is the server log: Error: pull model manifest: file does not exist

<!-- gh-comment-id:2408816159 --> @qzc438 commented on GitHub (Oct 13, 2024): > Error: pull model manifest: file does not exist This is the server log: Error: pull model manifest: file does not exist
Author
Owner

@jmorganca commented on GitHub (Oct 13, 2024):

Hi @qzc438 sorry this isn't easier today will merge with https://github.com/ollama/ollama/issues/2633 or try @rick-github's script

<!-- gh-comment-id:2408824027 --> @jmorganca commented on GitHub (Oct 13, 2024): Hi @qzc438 sorry this isn't easier today will merge with https://github.com/ollama/ollama/issues/2633 or try @rick-github's script
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#30323