ollama - 💡(How to fix) Fix Ubuntu and ollama [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
ollama/ollama#15801Fetched 2026-04-25 06:03:26
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Participants
Timeline (top)
labeled ×1

Root Cause

Having two versions of Ollama on Ubuntu usually happens because of a transition in how the software is installed. Older versions of the official install script (and many manual guides) placed the binary in /usr/local/bin, while the newer standard installation (and the official Debian package) prefers /usr/bin.

Code Example

Having two versions of Ollama on Ubuntu usually happens because of a transition in how the software is installed. Older versions of the official install script (and many manual guides) placed the binary in /usr/local/bin, while the newer standard installation (and the official Debian package) prefers /usr/bin.

s aux | grep -i ollama
ollama    322176  0.0  0.1 2530472 38148 ?       Ssl  19:57   0:00 /usr/local/bin/ollama serve
ubuntu    343756  0.0  0.0   6740  2668 pts/1    S+   20:04   0:00 grep --color=auto -i ollama
RAW_BUFFERClick to expand / collapse

What is the issue?

I installed ollama set external drive and folder to store models. It was working. Until i have to reintall ubuntu or just ollama. After that i have 2 ollamas running neither of whom can find an old folder models from previous installation.folder permission was later resolved somehow but even with path given dont see old models. It happened always. If you could do after uninstall even completely removed ollama still cant find an old model folder which takes a lot of time to download again. Just insane. Would be nice if you could fix only one place can install itself never move to another and have access to external drives. Thanks. Still dont work.

Relevant log output

Having two versions of Ollama on Ubuntu usually happens because of a transition in how the software is installed. Older versions of the official install script (and many manual guides) placed the binary in /usr/local/bin, while the newer standard installation (and the official Debian package) prefers /usr/bin.

s aux | grep -i ollama
ollama    322176  0.0  0.1 2530472 38148 ?       Ssl  19:57   0:00 /usr/local/bin/ollama serve
ubuntu    343756  0.0  0.0   6740  2668 pts/1    S+   20:04   0:00 grep --color=auto -i ollama

OS

Linux

GPU

Nvidia

CPU

AMD

Ollama version

Latest

extent analysis

TL;DR

The issue can be resolved by ensuring that the Ollama installation is properly removed and reinstalled to a single location, allowing access to the external drive and previous model folders.

Guidance

  • Verify that only one version of Ollama is installed and running by checking the process list with ps aux | grep -i ollama and stopping any unnecessary instances.
  • Check the installation location of Ollama and ensure it is consistent with the official installation guidelines, which prefer /usr/bin over /usr/local/bin.
  • After reinstalling Ollama, try providing the full path to the external drive and model folder to see if it can be detected.
  • Consider setting environment variables or configuration files to point to the external drive and model folder to ensure consistency across installations.

Example

No code snippet is provided as it is not clearly supported by the issue.

Notes

The issue seems to be related to the installation and removal process of Ollama, and the fact that the model folder is not being detected after reinstallation. The provided log output suggests that there are two versions of Ollama running, which could be causing the issue.

Recommendation

Apply a workaround by ensuring a clean installation and removal process, and providing the full path to the external drive and model folder. This should help resolve the issue until a more permanent fix is available.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

ollama - 💡(How to fix) Fix Ubuntu and ollama [1 participants]