llm
install_error
ai_generated
true
Error: pull model manifest: file does not exist: /usr/share/ollama/.ollama/models/blobs/sha256-...
ID: llm/ollama-model-not-found-pull-failed
88%Fix Rate
86%Confidence
1Evidence
2024-02-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| Ollama 0.1.20 | active | — | — | — |
| Ollama 0.1.25 | active | — | — | — |
| Ollama 0.1.30 | active | — | — | — |
| Linux amd64 | active | — | — | — |
| macOS arm64 | active | — | — | — |
Root Cause
Ollama model pull fails because a required blob file is missing from the local model cache, often due to incomplete download, disk corruption, or permission issues in the model storage directory.
generic中文
Ollama模型拉取失败,因为本地模型缓存中缺少所需的blob文件,通常是由于下载不完整、磁盘损坏或模型存储目录的权限问题。
Official Documentation
https://github.com/ollama/ollama/blob/main/docs/faq.mdWorkarounds
-
90% success Remove the corrupted model and re-pull it cleanly: ollama rm llama2 rm -rf ~/.ollama/models/blobs/sha256-* ollama pull llama2
Remove the corrupted model and re-pull it cleanly: ollama rm llama2 rm -rf ~/.ollama/models/blobs/sha256-* ollama pull llama2
-
85% success Check disk space and permissions, then restart Ollama service before retrying: df -h /usr/share/ollama/ sudo chown -R ollama:ollama /usr/share/ollama/.ollama sudo systemctl restart ollama ollama pull llama2
Check disk space and permissions, then restart Ollama service before retrying: df -h /usr/share/ollama/ sudo chown -R ollama:ollama /usr/share/ollama/.ollama sudo systemctl restart ollama ollama pull llama2
中文步骤
删除损坏的模型并重新拉取: ollama rm llama2 rm -rf ~/.ollama/models/blobs/sha256-* ollama pull llama2
检查磁盘空间和权限,然后重启Ollama服务并重试: df -h /usr/share/ollama/ sudo chown -R ollama:ollama /usr/share/ollama/.ollama sudo systemctl restart ollama ollama pull llama2
Dead Ends
Common approaches that don't work:
-
100% fail
Creates an empty file that fails integrity checks; Ollama will still error on hash verification.
-
50% fail
Changes file ownership to root, causing subsequent permission errors for non-root Ollama processes.