[GH-ISSUE #9239] Changed OLLAMA INSTALL_DIR ,but it can't run #52531

Closed
opened 2026-04-28 23:36:53 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @ROBODRILL on GitHub (Feb 20, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/9239

execute
curl -fsSL https://ollama.com/install.sh > install.sh;
I changed the OLLAMA INSTALL_DIR ,then modify OLLAMA_MODEL; now it can't started ,the log is:
Error: could not create directory mkdir /usr/share/ollama/.ollama:permission denied

the user is not the root.

Originally created by @ROBODRILL on GitHub (Feb 20, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/9239 execute curl -fsSL https://ollama.com/install.sh > install.sh; I changed the OLLAMA INSTALL_DIR ,then modify OLLAMA_MODEL; now it can't started ,the log is: Error: could not create directory mkdir /usr/share/ollama/.ollama:permission denied the user is not the root.
GiteaMirror added the feature request label 2026-04-28 23:36:53 -05:00
Author
Owner

@hczs commented on GitHub (Feb 25, 2025):

same problem

<!-- gh-comment-id:2681364154 --> @hczs commented on GitHub (Feb 25, 2025): same problem
Author
Owner

@ROBODRILL commented on GitHub (Feb 27, 2025):

I had solve the problems . close it

<!-- gh-comment-id:2686728765 --> @ROBODRILL commented on GitHub (Feb 27, 2025): I had solve the problems . close it
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#52531