[GH-ISSUE #6785] Ollama model custom model download directory not running #30037

Closed
opened 2026-04-22 09:27:22 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @aksk01 on GitHub (Sep 13, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6785

What is the issue?

In Ubuntu earlier Ollama downloaded models in home directory and can download multiple models but now it is downloading in /usr/share/ollama/.ollama/ directory only no matter what please fix this, and even after trying out the steps mentioned in the repository it does not run ollama properly. It should be like windows as it allows you to download in any custom path

OS

Linux

GPU

No response

CPU

No response

Ollama version

latest

Originally created by @aksk01 on GitHub (Sep 13, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6785 ### What is the issue? In Ubuntu earlier Ollama downloaded models in home directory and can download multiple models but now it is downloading in /usr/share/ollama/.ollama/ directory only no matter what please fix this, and even after trying out the steps mentioned in the repository it does not run ollama properly. It should be like windows as it allows you to download in any custom path ### OS Linux ### GPU _No response_ ### CPU _No response_ ### Ollama version latest
GiteaMirror added the bug label 2026-04-22 09:27:22 -05:00
Author
Owner

@rick-github commented on GitHub (Sep 13, 2024):

If it's downloading to /usr/share/ollama/.ollama it's because it's running as a service (/etc/systemd/system/ollama.service). When it downloaded to the home directory, ollama had been started as a user process ($ ollama serve). You can override the download location by editing the service file and setting a new download location. If you find this doesn't work for you, you will need to include more information: what you did, why you think it's not working, what error messages you received, server logs, etc.

<!-- gh-comment-id:2348281131 --> @rick-github commented on GitHub (Sep 13, 2024): If it's downloading to /usr/share/ollama/.ollama it's because it's running as a service (/etc/systemd/system/ollama.service). When it downloaded to the home directory, ollama had been started as a user process (`$ ollama serve`). You can override the download location by editing the service file and [setting a new download location](https://github.com/ollama/ollama/blob/main/docs/faq.md#how-do-i-set-them-to-a-different-location). If you find this doesn't work for you, you will need to include more information: what you did, why you think it's not working, what error messages you received, [server logs](https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md#how-to-troubleshoot-issues), etc.
Author
Owner

@pdevine commented on GitHub (Sep 13, 2024):

@rick-github 's answer is correct. I'll go ahead and close this, but @aksk01 we can reopen if the above steps didn't work.

<!-- gh-comment-id:2349663997 --> @pdevine commented on GitHub (Sep 13, 2024): @rick-github 's answer is correct. I'll go ahead and close this, but @aksk01 we can reopen if the above steps didn't work.
Author
Owner

@aksk01 commented on GitHub (Sep 17, 2024):

Yes the method @rick-github suggested have worked... thanks

<!-- gh-comment-id:2356422710 --> @aksk01 commented on GitHub (Sep 17, 2024): Yes the method @rick-github suggested have worked... thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#30037