[GH-ISSUE #4480] Ollama tries to re-create existing models path #28561

Closed
opened 2026-04-22 06:49:45 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @LumiWasTaken on GitHub (May 16, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4480

What is the issue?

When starting the ollama service, i have a env variable set OLLAMA_MODELS=/mnt/storage/fast/ollama_models

Ollama fails to start, it attempts to mkdir /mnt/storage/fast it fails (oviously) and crashes.

I assume there to be some kind of permission issue as the drive is a ntfs drive (due to it being a Removeable Media

I'm on the latest version using the Linux installer Script on EndavourOS.
the ollama user has full access to all drives folders as they have rwx rw rw permissions.
Thanks!

OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

0.1.38

Originally created by @LumiWasTaken on GitHub (May 16, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4480 ### What is the issue? When starting the ollama service, i have a env variable set OLLAMA_MODELS=/mnt/storage/fast/ollama_models Ollama fails to start, it attempts to mkdir /mnt/storage/fast it fails (oviously) and crashes. I assume there to be some kind of permission issue as the drive is a ntfs drive (due to it being a Removeable Media I'm on the latest version using the Linux installer Script on EndavourOS. the ollama user has full access to all drives folders as they have rwx rw rw permissions. Thanks! ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.1.38
GiteaMirror added the bug label 2026-04-22 06:49:45 -05:00
Author
Owner

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

@LumiWasTaken can you post the logs?

<!-- gh-comment-id:2116429307 --> @pdevine commented on GitHub (May 17, 2024): @LumiWasTaken can you post the logs?
Author
Owner

@followsound commented on GitHub (Jun 1, 2024):

Think this might be similar to #4732

<!-- gh-comment-id:2143594951 --> @followsound commented on GitHub (Jun 1, 2024): Think this might be similar to #4732
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#28561