[GH-ISSUE #6293] "The model you are attempting to pull requires a newer version of Ollama" when Ollama is built from the latest source #65980

Closed
opened 2026-05-03 23:26:27 -05:00 by GiteaMirror · 8 comments
Owner

Originally created by @sammcj on GitHub (Aug 9, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6293

What is the issue?

When trying to pull models from the official Ollama registry - if you're building Ollama from source it now seems to fail with an error that your Ollama version is too old.

ollama pull llama3.1:8b-instruct-q8_0
pulling manifest
Error: pull model manifest: 412:

The model you are attempting to pull requires a newer version of Ollama.

Please download the latest version at:

	https://ollama.com/download

However I highly doubt my Ollama version is too old as I bought it from source every day.

ollama --version
ollama version is e9aa5117c409c94861af1c50b246f29a72d05147

OS

Linux, Docker

GPU

Nvidia

CPU

AMD

Ollama version

e9aa5117c4

Originally created by @sammcj on GitHub (Aug 9, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6293 ### What is the issue? When trying to pull models from the official Ollama registry - if you're building Ollama from source it now seems to fail with an error that your Ollama version is too old. ``` ollama pull llama3.1:8b-instruct-q8_0 pulling manifest Error: pull model manifest: 412: The model you are attempting to pull requires a newer version of Ollama. Please download the latest version at: https://ollama.com/download ``` However I highly doubt my Ollama version is too old as I bought it from source every day. ``` ollama --version ollama version is e9aa5117c409c94861af1c50b246f29a72d05147 ``` ### OS Linux, Docker ### GPU Nvidia ### CPU AMD ### Ollama version e9aa5117c409c94861af1c50b246f29a72d05147
GiteaMirror added the needs more info label 2026-05-03 23:26:27 -05:00
Author
Owner

@dhiltgen commented on GitHub (Aug 9, 2024):

Typically the default version for local builds shows up as 0.0.0

./ollama --version
Warning: could not connect to a running Ollama instance
Warning: client version is 0.0.0

Are you doing anything special to get the hash version string? How did you build?

(we do handle the 0.0.0 version properly and bypass the version checks for model compatibility)

<!-- gh-comment-id:2278829503 --> @dhiltgen commented on GitHub (Aug 9, 2024): Typically the default version for local builds shows up as 0.0.0 ``` ./ollama --version Warning: could not connect to a running Ollama instance Warning: client version is 0.0.0 ``` Are you doing anything special to get the hash version string? How did you build? (we do handle the 0.0.0 version properly and bypass the version checks for model compatibility)
Author
Owner

@sammcj commented on GitHub (Aug 9, 2024):

Ah, yes indeed - I am setting it to the commit SHA as I thought 0.0.0 was a bug actually!

FYI 0.0.0 was causing some Ollama clients (I can't remember which right now) to error stating the version was too old as I'm assuming they're doing something simple like checking =< .

Thanks for the tip Daniel :)

<!-- gh-comment-id:2278832130 --> @sammcj commented on GitHub (Aug 9, 2024): Ah, yes indeed - I am setting it to the commit SHA as I thought 0.0.0 was a bug actually! FYI 0.0.0 was causing some Ollama clients (I can't remember which right now) to error stating the version was too old as I'm assuming they're doing something simple like checking =< <version>. Thanks for the tip Daniel :)
Author
Owner

@dhiltgen commented on GitHub (Aug 9, 2024):

Check out the various ./scripts/build* scripts for how we set the version using git describe which will incorporate the nearest git tag, plus your hash, so that can be useful if you want a more "real" version string.

<!-- gh-comment-id:2278833807 --> @dhiltgen commented on GitHub (Aug 9, 2024): Check out the various `./scripts/build*` scripts for how we set the version using `git describe` which will incorporate the nearest git tag, plus your hash, so that can be useful if you want a more "real" version string.
Author
Owner

@sammcj commented on GitHub (Aug 9, 2024):

That's actually really useful, thank you.

Can confirm swapping back to 0.0.0 works for pulling now as well.

ollama pull llama3.1:8b-instruct-q8_0
pulling manifest
...
<!-- gh-comment-id:2278875094 --> @sammcj commented on GitHub (Aug 9, 2024): That's actually really useful, thank you. Can confirm swapping back to 0.0.0 works for pulling now as well. ``` ollama pull llama3.1:8b-instruct-q8_0 pulling manifest ... ```
Author
Owner

@jvel07 commented on GitHub (Aug 13, 2024):

Hi @dhiltgen!
On a fresh install docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama and then docker exec -it ollama ollama pull llama3.1 I get:

pulling manifest 
Error: pull model manifest: 412: 

The model you are attempting to pull requires a newer version of Ollama.

Please download the latest version at:

        https://ollama.com/download

Am I missing something?

<!-- gh-comment-id:2286135993 --> @jvel07 commented on GitHub (Aug 13, 2024): Hi @dhiltgen! On a fresh install `docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama` and then `docker exec -it ollama ollama pull llama3.1` I get: ``` pulling manifest Error: pull model manifest: 412: The model you are attempting to pull requires a newer version of Ollama. Please download the latest version at: https://ollama.com/download ``` Am I missing something?
Author
Owner

@darkstar1227 commented on GitHub (Aug 14, 2024):

你好@dhiltgen! 全新安裝docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollamadocker exec -it ollama ollama pull llama3.1我得到:

pulling manifest 
Error: pull model manifest: 412: 

The model you are attempting to pull requires a newer version of Ollama.

Please download the latest version at:

        https://ollama.com/download

我錯過了什麼嗎?

I am also facing this problem for pulling llama3.1 and I just pull the newest ollama docker.
May I ask whether you figure it out?

<!-- gh-comment-id:2288084549 --> @darkstar1227 commented on GitHub (Aug 14, 2024): > 你好@dhiltgen! 全新安裝`docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama`後`docker exec -it ollama ollama pull llama3.1`我得到: > > ``` > pulling manifest > Error: pull model manifest: 412: > > The model you are attempting to pull requires a newer version of Ollama. > > Please download the latest version at: > > https://ollama.com/download > ``` > > 我錯過了什麼嗎? I am also facing this problem for pulling llama3.1 and I just pull the newest ollama docker. May I ask whether you figure it out?
Author
Owner

@dhiltgen commented on GitHub (Aug 14, 2024):

Can you check which version of Ollama is in your container image? Have you run a docker pull ollama/ollama to update the image to the latest version? I just pulled ollama/ollama:latest which contains version 0.3.5 and was able to pull llama3.1.

<!-- gh-comment-id:2289241265 --> @dhiltgen commented on GitHub (Aug 14, 2024): Can you check which version of Ollama is in your container image? Have you run a `docker pull ollama/ollama` to update the image to the latest version? I just pulled `ollama/ollama:latest` which contains version 0.3.5 and was able to pull llama3.1.
Author
Owner

@darkstar1227 commented on GitHub (Aug 15, 2024):

Hi, I just recompose again today, and it is working now. Thank you very much.

<!-- gh-comment-id:2290395087 --> @darkstar1227 commented on GitHub (Aug 15, 2024): Hi, I just recompose again today, and it is working now. Thank you very much.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#65980