Skip to content

Can't reach ollama => /ollama/api/api/tags #1136

Closed Answered by justinh-rahb
benjaminantunes asked this question in Q&A
Discussion options

You must be logged in to vote

Try updating again just to be sure you've got the lastest version, and change the OLLAMA_API_BASE_URL=http://localhost:11434/api to OLLAMA_BASE_URL=http://localhost:11434 instead, note that the name of the variable has changed and we no longer put /api on the end of the URL.

Docker (non-Compose method):

docker rm -f open-webui
docker pull ghcr.io/open-webui/open-webui:main
<the docker run command you used previously>

Docker (Compose method):

docker compose down
docker pull ghcr.io/open-webui/open-webui:main
docker compose up -d

Manual (direct method):

cd open-webui
git pull
npm i
npm run build
cd backend
pip3 install -r requirements.txt
bash start.sh

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@benjaminantunes
Comment options

Answer selected by benjaminantunes
Comment options

You must be logged in to vote
1 reply
@benjaminantunes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants