Go back

How to Upgrade Open WebUI

The “DeepSeek & Llama powered All-in-One LLM Suite” solution provided by techlatest.net comes with an Open WebUI chat interface running in a container. This section describes how to upgrade existing Open WebUI chat interface to the latest version.

Note: Please check our Getting Started Guide pages to learn how to deploy and connect to the ‘DeepSeek & Llama-powered All-in-One LLM Suite’ solution via terminal, as well as how to access the Open WebUI interface. Alternatively, check the GPU-supported DeepSeek & Llama-powered All-in-One LLM Suite if you are using a GPU-based alternative of the same offer.

  1. Let’s check the Open WebUI version first. To do so , login to Open WebUI, navigate to Settings then About tab. Here you can see the existing version of open webui and the available latest release.

/img/azure/multi-llm-vm/open-webui-version.png

2.To upgrade to the latest release, connect via terminal and check the running Container using -

sudo docker ps -a

Here the name of the container is “open-webui”. Remove the container by entering below commands -

/img/azure/multi-llm-vm/running-container.png

sudo docker stop open-webui
sudo docker rm open-webui

/img/azure/multi-llm-vm/stop-and-remove-container.png

  1. Check the docker image and delete it.
sudo docker images
sudo docker rmi ghcr.io/open-webui/open-webui:main

/img/azure/multi-llm-vm/delete-docker-image.png

  1. We will not remove the volume attached to this container to persist our old data. To check the volume run
sudo docker volume ls

/img/azure/multi-llm-vm/check-volume.png

Here we have open-webui volume. If you want to remove the volume as well and start a fresh copy of Open WebUI then run

sudo docker volume rm open-webui
  1. Now pull the latest Open WebUI image.
sudo docker pull ghcr.io/open-webui/open-webui:main

/img/azure/multi-llm-vm/pull-image.png

  1. Once the images is pulled successfully, start the docker container using below command.
sudo docker run -d -v open-webui:/app/backend/data --network host -e OLLAMA_BASE_URL=http://127.0.0.1:11434   --restart always --name open-webui ghcr.io/open-webui/open-webui:main

Note: If you are on GPU based instance, then please run below docker run command to launch the container.

sudo docker run -d --gpus all -v open-webui:/app/backend/data --network host -e OLLAMA_BASE_URL=http://127.0.0.1:11434   --restart always --name open-webui ghcr.io/open-webui/open-webui:main

/img/azure/multi-llm-vm/docker-run.png

  1. Wait for few seconds to start the container completely and then access the Open WebUI in your browser using https://public_ip_of_the_vm . If you have deleted the volume then it will ask you to create/register admin user. If you have continued with the old volume, then you can login here with your old credentials.

/img/azure/multi-llm-vm/new-version.png

Go back