[GH-ISSUE #4346] Ollama does not list installed models #49220

Closed
opened 2026-04-28 10:57:06 -05:00 by GiteaMirror · 8 comments
Owner

Originally created by @javiergcim on GitHub (May 11, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4346

Originally assigned to: @mxyng on GitHub.

What is the issue?

The command "ollama list" does not list the installed models on the system (at least those created from a local GGUF file), which prevents other utilities (for example, WebUI) from discovering them.

However, the models are there and can be invoked by specifying their name explicitly. For example: "ollama run MyModel".

OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

0.1.35

Originally created by @javiergcim on GitHub (May 11, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4346 Originally assigned to: @mxyng on GitHub. ### What is the issue? The command "ollama list" does not list the installed models on the system (at least those created from a local GGUF file), which prevents other utilities (for example, WebUI) from discovering them. However, the models are there and can be invoked by specifying their name explicitly. For example: "ollama run MyModel". ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.1.35
GiteaMirror added the bug label 2026-04-28 10:57:06 -05:00
Author
Owner

@BarcodeQH commented on GitHub (May 11, 2024):

Have same issue.
All models customized by modelfile are not showing by ollama list. But can still be found by ollama show --modelfile

<!-- gh-comment-id:2105657640 --> @BarcodeQH commented on GitHub (May 11, 2024): Have same issue. All models customized by modelfile are not showing by ollama list. But can still be found by ollama show --modelfile
Author
Owner

@javiergcim commented on GitHub (May 11, 2024):

The problem persist in 0.1.36

<!-- gh-comment-id:2105992470 --> @javiergcim commented on GitHub (May 11, 2024): The problem persist in 0.1.36
Author
Owner

@123LiVo321 commented on GitHub (May 11, 2024):

yeah, me to... also it shows models I tried 2 months ago and long time ago deleted...

client version is 0.1.36

after restarting ollama it went back to normal. for me solved

<!-- gh-comment-id:2105994259 --> @123LiVo321 commented on GitHub (May 11, 2024): yeah, me to... also it shows models I tried 2 months ago and long time ago deleted... client version is 0.1.36 after restarting ollama it went back to normal. for me solved
Author
Owner

@mxyng commented on GitHub (May 11, 2024):

Hi can you provide server logs for when you run ollama list?

<!-- gh-comment-id:2105994350 --> @mxyng commented on GitHub (May 11, 2024): Hi can you provide server logs for when you run `ollama list`?
Author
Owner

@javiergcim commented on GitHub (May 11, 2024):

Log after the command "ollama list":

may 11 13:35:04 dellypop ollama[1320]: [GIN] 2024/05/11 - 13:35:04 | 200 | 22.625µs | 127.0.0.1 | HEAD "/"
may 11 13:35:04 dellypop ollama[1320]: time=2024-05-11T13:35:04.315-06:00 level=WARN source=routes.go:749 msg="bad manifest" name=registry.ollama.ai/library/Llama-3-CoderV2-Fast:latest error="open /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/llama-3-coderv2-fast/latest: no such file or directory"
may 11 13:35:04 dellypop ollama[1320]: [GIN] 2024/05/11 - 13:35:04 | 200 | 167.327µs | 127.0.0.1 | GET "/api/tags"

I only have one model called 'Llama-3-CoderV2-Fast', which was created with the command 'ollama create Llama-3-CoderV2-Fast -f Modelfile'. I notice that the capitalization is not being respected in the name of the directory "/usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/Llama-3-CoderV2-Fast"

<!-- gh-comment-id:2106001783 --> @javiergcim commented on GitHub (May 11, 2024): Log after the command "ollama list": may 11 13:35:04 dellypop ollama[1320]: [GIN] 2024/05/11 - 13:35:04 | 200 | 22.625µs | 127.0.0.1 | HEAD "/" may 11 13:35:04 dellypop ollama[1320]: time=2024-05-11T13:35:04.315-06:00 level=WARN source=routes.go:749 msg="bad manifest" name=registry.ollama.ai/library/Llama-3-CoderV2-Fast:latest error="open /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/llama-3-coderv2-fast/latest: no such file or directory" may 11 13:35:04 dellypop ollama[1320]: [GIN] 2024/05/11 - 13:35:04 | 200 | 167.327µs | 127.0.0.1 | GET "/api/tags" I only have one model called 'Llama-3-CoderV2-Fast', which was created with the command 'ollama create Llama-3-CoderV2-Fast -f Modelfile'. I notice that the capitalization is not being respected in the name of the directory "/usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/Llama-3-CoderV2-Fast"
Author
Owner

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

will reopen this until it's addressed in a release

<!-- gh-comment-id:2106034666 --> @jmorganca commented on GitHub (May 11, 2024): will reopen this until it's addressed in a release
Author
Owner

@lengrongfu commented on GitHub (May 13, 2024):

I use the main branch build, but I can't find this problem.

  • Modelfile-gguf
FROM ./Phi-3-mini-4k-instruct-q4.gguf
image
<!-- gh-comment-id:2106543721 --> @lengrongfu commented on GitHub (May 13, 2024): I use the main branch build, but I can't find this problem. - Modelfile-gguf ``` FROM ./Phi-3-mini-4k-instruct-q4.gguf ``` <img width="1062" alt="image" src="https://github.com/ollama/ollama/assets/15009201/1b56ab78-5113-4766-9be6-18a5364e95c9">
Author
Owner

@mxyng commented on GitHub (May 13, 2024):

This has been fixed and release in 0.1.37

<!-- gh-comment-id:2108195148 --> @mxyng commented on GitHub (May 13, 2024): This has been fixed and release in 0.1.37
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#49220