[GH-ISSUE #10847] [Documentation] OLLAMA_MODELS missing info in FAQ for Linux #32881

Closed
opened 2026-04-22 14:47:37 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @GeneralProtectionFault on GitHub (May 24, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10847

For setting the folder which stores the models, there is information in the FAQ, and even Linux-specific information for setting the access to the folder, but does not mention the need to set the variable in the service.

The solution is only buried in an issue here: https://github.com/ollama/ollama/pull/897#issuecomment-1793790339

...making one have to dig for it. This information could be added to the FAQ as a further instruction for Linux users.

Originally created by @GeneralProtectionFault on GitHub (May 24, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10847 For setting the folder which stores the models, there is information in the FAQ, and even Linux-specific information for setting the access to the folder, but does not mention the need to set the variable in the service. The solution is only buried in an issue here: https://github.com/ollama/ollama/pull/897#issuecomment-1793790339 ...making one have to dig for it. This information could be added to the FAQ as a further instruction for Linux users.
Author
Owner

@rick-github commented on GitHub (May 24, 2025):

Setting environment variables in the service file is documented here. The purpose of OLLAMA_MODELS is documented here, where it's referred to as an environment variable. By the transitive property, OLLAMA_MODELS needs to be set in the service file.

<!-- gh-comment-id:2907188923 --> @rick-github commented on GitHub (May 24, 2025): Setting environment variables in the service file is documented [here](https://github.com/ollama/ollama/blob/main/docs/faq.md#setting-environment-variables-on-linux). The purpose of `OLLAMA_MODELS` is documented [here](https://github.com/ollama/ollama/blob/main/docs/faq.md#how-do-i-set-them-to-a-different-location), where it's referred to as an environment variable. By the transitive property, `OLLAMA_MODELS` needs to be set in the service file.
Author
Owner

@GeneralProtectionFault commented on GitHub (May 24, 2025):

Sorry, didn't see the link to the section above.

<!-- gh-comment-id:2907247520 --> @GeneralProtectionFault commented on GitHub (May 24, 2025): Sorry, didn't see the link to the section above.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#32881