[GH-ISSUE #2679] Ollama server needs restart after ollama push #1594

Closed
opened 2026-04-12 11:31:38 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @jahbini on GitHub (Feb 22, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2679

Symptom: first push of models goes OK.

All subsequent model pushes end badly. Push works only when the server is restarted:

ollama is hashed (/usr/local/bin/ollama)
shivia:ollama_stories jahbini$ ~/development/ollama/ollama push geemobeamo/porthos
retrieving manifest
pushing 6504ba23a371... 100% ▕████████████████████████████████████████████▏ 4.1 GB
pushing ecf1d3ca1fb5... 100% ▕████████████████████████████████████████████▏  135 B
pushing de6bcd73f9b4... 100% ▕████████████████████████████████████████████▏   58 B
pushing a925eb6a91c6... 100% ▕████████████████████████████████████████████▏ 1.6 KB
pushing 71cf9eb5fb28... 100% ▕████████████████████████████████████████████▏  483 B
pushing manifest
success
shivia:ollama_stories jahbini$ ~/development/ollama/ollama push geemobeamo/aramis
retrieving manifest
pushing 6504ba23a371... 100% ▕████████████████████████████████████████████▏ 4.1 GB
pushing ecf1d3ca1fb5... 100% ▕████████████████████████████████████████████▏  135 B
pushing de6bcd73f9b4... 100% ▕████████████████████████████████████████████▏   58 B
pushing 376ce78a1f47... 100% ▕████████████████████████████████████████████▏ 1.8 KB
pushing c011426c9891... 100% ▕████████████████████████████████████████████▏  483 B
pushing manifest
Error: 400: {"errors":[{"code":"MANIFEST_BLOB_UNKNOWN","message":"blob unknown to registry","detail":"sha256:6504ba23a37160de70db611212815c9aab171864d206b8c013b72fd0b16e19eb"},{"code":"MANIFEST_BLOB_UNKNOWN","message":"blob unknown to registry","detail":"sha256:ecf1d3ca1fb53d793cbaac0d1928dfa4cfea479cb9c746a09823ec5875cee90c"},{"code":"MANIFEST_BLOB_UNKNOWN","message":"blob unknown to registry","detail":"sha256:de6bcd73f9b4d9c3dd5d86f32c55229125ef49a48487d1b741400cb1ea5991eb"}]}

Restarted the server and tried to push model. It works! IT'S ALIVE!!

shivia:ollama_stories jahbini$ ~/development/ollama/ollama push geemobeamo/aramis
retrieving manifest
pushing 6504ba23a371... 100% ▕████████████████████████████████████████████▏ 4.1 GB
pushing ecf1d3ca1fb5... 100% ▕████████████████████████████████████████████▏  135 B
pushing de6bcd73f9b4... 100% ▕████████████████████████████████████████████▏   58 B
pushing 376ce78a1f47... 100% ▕████████████████████████████████████████████▏ 1.8 KB
pushing c011426c9891... 100% ▕████████████████████████████████████████████▏  483 B
pushing manifest
success
shivia:ollama_stories jahbini$

I have tried this with the Ollama App as well as the Ollama I compiled from the current branch from this repository.

Originally created by @jahbini on GitHub (Feb 22, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2679 ## Symptom: first push of models goes OK. ### All subsequent model pushes end badly. Push works only when the server is restarted: ```shivia:ollama_stories jahbini$ type ollama ollama is hashed (/usr/local/bin/ollama) shivia:ollama_stories jahbini$ ~/development/ollama/ollama push geemobeamo/porthos retrieving manifest pushing 6504ba23a371... 100% ▕████████████████████████████████████████████▏ 4.1 GB pushing ecf1d3ca1fb5... 100% ▕████████████████████████████████████████████▏ 135 B pushing de6bcd73f9b4... 100% ▕████████████████████████████████████████████▏ 58 B pushing a925eb6a91c6... 100% ▕████████████████████████████████████████████▏ 1.6 KB pushing 71cf9eb5fb28... 100% ▕████████████████████████████████████████████▏ 483 B pushing manifest success shivia:ollama_stories jahbini$ ~/development/ollama/ollama push geemobeamo/aramis retrieving manifest pushing 6504ba23a371... 100% ▕████████████████████████████████████████████▏ 4.1 GB pushing ecf1d3ca1fb5... 100% ▕████████████████████████████████████████████▏ 135 B pushing de6bcd73f9b4... 100% ▕████████████████████████████████████████████▏ 58 B pushing 376ce78a1f47... 100% ▕████████████████████████████████████████████▏ 1.8 KB pushing c011426c9891... 100% ▕████████████████████████████████████████████▏ 483 B pushing manifest Error: 400: {"errors":[{"code":"MANIFEST_BLOB_UNKNOWN","message":"blob unknown to registry","detail":"sha256:6504ba23a37160de70db611212815c9aab171864d206b8c013b72fd0b16e19eb"},{"code":"MANIFEST_BLOB_UNKNOWN","message":"blob unknown to registry","detail":"sha256:ecf1d3ca1fb53d793cbaac0d1928dfa4cfea479cb9c746a09823ec5875cee90c"},{"code":"MANIFEST_BLOB_UNKNOWN","message":"blob unknown to registry","detail":"sha256:de6bcd73f9b4d9c3dd5d86f32c55229125ef49a48487d1b741400cb1ea5991eb"}]} ``` ## Restarted the server and tried to push model. It works! IT'S ALIVE!! ``` shivia:ollama_stories jahbini$ ~/development/ollama/ollama push geemobeamo/aramis retrieving manifest pushing 6504ba23a371... 100% ▕████████████████████████████████████████████▏ 4.1 GB pushing ecf1d3ca1fb5... 100% ▕████████████████████████████████████████████▏ 135 B pushing de6bcd73f9b4... 100% ▕████████████████████████████████████████████▏ 58 B pushing 376ce78a1f47... 100% ▕████████████████████████████████████████████▏ 1.8 KB pushing c011426c9891... 100% ▕████████████████████████████████████████████▏ 483 B pushing manifest success shivia:ollama_stories jahbini$ ``` ### I have tried this with the Ollama App as well as the Ollama I compiled from the current branch from this repository.
GiteaMirror added the bugregistry labels 2026-04-12 11:31:38 -05:00
Author
Owner

@pdevine commented on GitHub (May 17, 2024):

Hey @jahbini you just hit a transient error in the registry. You shouldn't need to restart the server, you can push again and it should work. I'll go ahead and close the issue.

<!-- gh-comment-id:2116464099 --> @pdevine commented on GitHub (May 17, 2024): Hey @jahbini you just hit a transient error in the registry. You shouldn't need to restart the server, you can push again and it should work. I'll go ahead and close the issue.
Author
Owner

@RobinBially commented on GitHub (Aug 19, 2024):

This is still happening in v0.3.6. The server needs to be restarted! @pdevine

<!-- gh-comment-id:2296527011 --> @RobinBially commented on GitHub (Aug 19, 2024): This is still happening in v0.3.6. The server needs to be restarted! @pdevine
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#1594