How to Keep Your Private AI Chat Up to Date (Open WebUI, Ollama, and Docker Update Guide)


If you haven’t set up your private AI chat yet, start with our How to Run Your Own Private AI Chat Locally (Beginner Guide). This tutorial assumes you already have Open WebUI, Ollama, and Docker installed and focuses on how to update Open WebUI, Ollama, and Docker safely, keeping your AI environment current.

Once you’ve set up your private AI chat, keeping it up to date is just as important as installing it correctly.

Open WebUI, Ollama, and Docker regularly release updates that fix bugs, improve performance, introduce new features, and address security issues. Running outdated versions can lead to compatibility problems, missing functionality, or an unstable AI environment over time.

This guide shows you how to update Open WebUI, Ollama, and Docker step by step, while minimizing the risk of losing your chat history, settings, or existing AI models.

Before You Begin

Here, we’ll focus on updating local AI on Windows. Before updating your private AI chat, ensure you have the following:

  • Internet connection — Required to download updates for Open WebUI, Ollama, and Docker
  • Open WebUI closed — Exit any active AI chat sessions before updating. Leave Ollama and Docker running
  • Backup (optional) — If you have important chats or settings, consider backing them up before proceeding

What You’ll Update

This guide covers updating these components:

  • Ollama — updates the AI runtime
  • Docker — updates the container platform
  • Open WebUI — updates the web-based chat interface

The sections below show how to update each component safely.

Step-by-Step Update

This section shows how to check for updates and install the latest version of each component.

Step 1 – Check for Ollama Updates

Ollama automatically checks for updates in the background by default through the Auto-download updates setting in Settings, unless you disable it. Go to Settings to confirm this is on.

A.

Open Ollama. Click on the Ollama icon in the System Tray, and select Settings.

Ollama system tray menu with the Settings option selected

B.

Ensure the Auto-download updates toggle is on.

Ollama Settings showing the Auto-download updates option enabled

C.

If an update is available, Ollama will download it automatically in the background and display a notification banner above the Ollama icon in the System Tray. Notice that the Ollama icon now has a small arrow indicating that an update is available.

Ollama system tray showing an available update notification

The Ollama download may take some time, depending on your internet speed. If you don’t see an update notification (a notification banner or an Ollama icon with an arrow), your Ollama installation is likely already up to date.

Step 2 – Update Ollama

If an update is available, install it.

A.

Click on the Ollama icon in the System Tray, and select Restart to update.

Ollama system tray menu with the Restart to update option

B.

Wait until the Ollama update finishes installing.

Ollama installing the latest update

C.

Once completed, the arrow on the Ollama icon will disappear. To verify that Ollama is up to date, paste the following into your Command Prompt:

Command Prompt

ollama --version

and hit Enter.

Command Prompt displaying the installed Ollama version using the ollama --version command

Your Ollama update is complete. Next, we’ll update Docker.

Step 3 – Check for Docker Updates

A.

Docker automatically checks for updates in the background. If an update is available, you’ll see notifications at the top and bottom of your Docker window. Click the Update available notification at the bottom to open the Software Update window.

Docker Desktop showing an Update available notification

B.

Alternatively, if you’ve disabled automatic checks, click the version number at the bottom right instead to open the Software Update window.

Docker Desktop showing the version number used to manually check for updates

If there is no update in the Software Update window, you can skip to Step 5. Otherwise, continue to Step 4 to update Docker.

Step 4 – Update Docker

A.

In the Software Update window, click Download update to download the update.

Docker Desktop Software Update window with the Download update button

B.

Once the download is complete, click Install and restart.

Docker Desktop Software Update window with the Install and restart button

C.

Click Yes if it asks you to allow the installer to make changes.

Windows User Account Control prompt for the Docker Desktop update

D.

Wait for the installation to complete.

Docker Desktop installing an update

E.

Once completed, Docker will restart. Docker may have multiple updates. If another update notification appears, repeat the process. Click the Update available notification to open the Software Update window.

Docker Desktop showing another available update after restarting

F.

In the Software Update window click Update to proceed.

Docker Desktop Software Update window with the Update button

G.

Once the update is completed, click Check for updates once more. If there is no more update, you can close the Software Update window.

Docker Desktop Software Update window showing the Check for updates option

Docker update is complete. Next, we’ll update Open WebUI.

Step 5 – Check for Open WebUI Updates

A.

Open WebUI automatically checks for a new version each time it starts and shows a notification if an update is available.

Open WebUI showing a notification that a new version is available

B.

Alternatively, you can check manually. Click the user profile icon, then select Settings.

Open WebUI user menu with the Settings option

C.

Click About, then Check for updates to see if a new Open WebUI version is available.

Open WebUI About page showing the Check for updates button

Next, we’ll update Open WebUI using Docker.

Step 6 – Update Open WebUI

This section shows how to update Open WebUI safely while preserving your existing chat history and settings.

A.

Before you update Open WebUI, check your current version. Paste the following command into Command Prompt:

Command Prompt

docker images ghcr.io/open-webui/open-webui

and hit Enter.

Command Prompt displaying the installed Open WebUI Docker image

B.

Note down the current Open WebUI Image ID (in this example b8095f79a6a8—yours may be different). You’ll remove this old image later after confirming the new one works correctly.

Docker image list showing the current Open WebUI Image ID

C.

Download the latest Open WebUI image. Paste the following command into your Command Prompt:

Command Prompt

docker pull ghcr.io/open-webui/open-webui:main

and hit Enter.

Command Prompt downloading the latest Open WebUI Docker image

D.

Wait until Docker finishes downloading Open WebUI. Depending on your internet speed, this may take a while.

Docker downloading the latest Open WebUI image

E.

Stop the existing Open WebUI container. Paste the following command into your Command Prompt:

Command Prompt

docker stop open-webui

and hit Enter.

Command Prompt stopping the Open WebUI Docker container

F.

Remove the old container. Removing the container does not delete your chats or settings. They are stored separately in the Docker volume. Run the following command in your Command Prompt:

Command Prompt

docker rm open-webui

and hit Enter.

Command Prompt removing the Open WebUI Docker container

G.

Create a new container using the latest Open WebUI image. Paste the following command into your Command Prompt:

Command Prompt

docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --restart always --name open-webui ghcr.io/open-webui/open-webui:main

and hit Enter.

Command Prompt creating a new Open WebUI Docker container

The process should complete quickly since the image was downloaded earlier. For an explanation of each parameter, see How to Run Your Own Private AI Chat Locally (Beginner Guide).

H.

Verify that Open WebUI is running correctly. Go back to your Docker Desktop window and click on the Open WebUI port (or open http://localhost:3000/ in your browser).

Docker Desktop showing the Open WebUI port used to open the application

I.

Sign in to your existing Open WebUI account. Your chat history and settings should load exactly as before, now on the latest version.

Open WebUI showing Release Notes page for the latest version

J.

Type a prompt, then press Enter. You should get a response confirming everything is working correctly end-to-end.

Open WebUI successfully responding to a test prompt after the update

K.

Once everything is working correctly, let’s remove the old image (b8095f79a6a8) to free up disk space. Run the following to list the existing images:

Command Prompt

docker images -a

and hit Enter.

Command Prompt listing all Docker images, including untagged images

Notice that the old image (Image ID b8095f79a6a8) is now labelled as untagged, while the image with ID a26effeb220e is the new Open WebUI image that we just downloaded.

L.

Now run the following to remove the old image (replace with your own old image ID from Step 6B):

Command Prompt

docker image rm b8095f79a6a8

and hit Enter.

Command Prompt removing the old Open WebUI Docker image

M.

Verify that the old untagged image (Image ID b8095f79a6a8) has been removed and no longer in the list. Run the following:

Command Prompt

docker images -a

and hit Enter.

Command Prompt showing the Docker image list after removing the old Open WebUI image

You’ve successfully updated Open WebUI, Ollama, and Docker. Your private AI chat is now running the latest versions of all three components.

Common Issues & Fixes

If you encounter any issues during the update, here are some of the most common problems and their solutions.

Docker/Open WebUI Issues

●

Open WebUI shows “500: Internal Error” (http://localhost:3000/error)

Give it a few extra seconds. Open WebUI can take 10–30s to fully start after a restart or update; hitting the port too early causes this.

●

WSL needs updating. Your version of Windows Subsystem for Linux (WSL) is too old

Run in command prompt:
wsl --update
wsl --shutdown
Then restart Docker Desktop.

●

Ports are not available (already in use)

Run in command prompt:
net stop winnat
net start winnat
Then restart Docker Desktop.

Leave a Reply

Your email address will not be published. Required fields are marked *