You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set up PrivateGPT using the Default/Ollama CPU setup with Docker as per the [PrivateGPT Quickstart Docs](https://privategpt.dev). The installation completed successfully, and I see three containers running inside the private-gpt container:
private-gpt-private-gpt-ollama-1
private-gpt-ollama-cpu-1
private-gpt-ollama-1
However, when I click the Start button, all the containers start exceptprivate-gpt-private-gpt-ollama-1. It starts for a moment and then immediately shuts down.
The error log shows:
2025-03-14 11:38:52 private-gpt-ollama-1 | 10:38:52.849 [INFO ] httpx - HTTP Request: GET http://ollama:11434/api/tags "HTTP/1.1 403 Forbidden"
2025-03-14 11:38:52 private-gpt-ollama-1 | 10:38:52.850 [ERROR ] private_gpt.utils.ollama - Failed to connect to Ollama
This is followed by a long traceback of KeyError exceptions related to private_gpt.components.llm.llm_component.LLMComponent, PrivateGptUi, and IngestService.
It seems like private-gpt-private-gpt-ollama-1 is unable to connect to Ollama.
Has anyone encountered this before? Any ideas on how to fix it? Would appreciate any help!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
I'm trying to set up PrivateGPT using the Default/Ollama CPU setup with Docker as per the [PrivateGPT Quickstart Docs](https://privategpt.dev). The installation completed successfully, and I see three containers running inside the
private-gpt
container:private-gpt-private-gpt-ollama-1
private-gpt-ollama-cpu-1
private-gpt-ollama-1
However, when I click the Start button, all the containers start except
private-gpt-private-gpt-ollama-1
. It starts for a moment and then immediately shuts down.The error log shows:
This is followed by a long traceback of
KeyError
exceptions related toprivate_gpt.components.llm.llm_component.LLMComponent
,PrivateGptUi
, andIngestService
.It seems like
private-gpt-private-gpt-ollama-1
is unable to connect to Ollama.Has anyone encountered this before? Any ideas on how to fix it? Would appreciate any help!
Beta Was this translation helpful? Give feedback.
All reactions