Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watchtower does not update Open Web UI #3052

Closed
almostserious opened this issue Jun 12, 2024 · 1 comment
Closed

Watchtower does not update Open Web UI #3052

almostserious opened this issue Jun 12, 2024 · 1 comment

Comments

@almostserious
Copy link

almostserious commented Jun 12, 2024

The proposed Watchtower Run Once does not update my installation:

This is the Debug Log output of Watchtower:

ollama:~# docker run --rm --volume /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once open-webui --log-level debug
time="2024-06-12T06:28:31Z" level=debug msg="Sleeping for a second to ensure the docker api client has been properly initialized."
time="2024-06-12T06:28:32Z" level=debug msg="Making sure everything is sane before starting"
time="2024-06-12T06:28:32Z" level=info msg="Watchtower 1.7.1"
time="2024-06-12T06:28:32Z" level=info msg="Using no notifications"
time="2024-06-12T06:28:32Z" level=info msg="Only checking containers which name matches \"open-webui\""
time="2024-06-12T06:28:32Z" level=info msg="Running a one time update."
time="2024-06-12T06:28:32Z" level=debug msg="Checking containers for updated images"
time="2024-06-12T06:28:32Z" level=debug msg="Retrieving running containers"
time="2024-06-12T06:28:32Z" level=debug msg="Trying to load authentication credentials." container=/open-webui image="ghcr.io/open-webui/open-webui:ollama"
time="2024-06-12T06:28:32Z" level=debug msg="No credentials for ghcr.io found" config_file=/config.json
time="2024-06-12T06:28:32Z" level=debug msg="Got image name: ghcr.io/open-webui/open-webui:ollama"
time="2024-06-12T06:28:32Z" level=debug msg="Checking if pull is needed" container=/open-webui image="ghcr.io/open-webui/open-webui:ollama"
time="2024-06-12T06:28:32Z" level=debug msg="Built challenge URL" URL="https://ghcr.io/v2/"
time="2024-06-12T06:28:32Z" level=debug msg="Got response to challenge request" header="Bearer realm=\"https://ghcr.io/token\",service=\"ghcr.io\",scope=\"repository:user/image:pull\"" status="401 Unauthorized"
time="2024-06-12T06:28:32Z" level=debug msg="Checking challenge header content" realm="https://ghcr.io/token" service=ghcr.io
time="2024-06-12T06:28:32Z" level=debug msg="Setting scope for auth token" image=ghcr.io/open-webui/open-webui scope="repository:open-webui/open-webui:pull"
time="2024-06-12T06:28:32Z" level=debug msg="No credentials found."
time="2024-06-12T06:28:32Z" level=debug msg="Parsing image ref" host=ghcr.io image=open-webui/open-webui normalized=ghcr.io/open-webui/open-webui tag=ollama
time="2024-06-12T06:28:32Z" level=debug msg="Doing a HEAD request to fetch a digest" url="https://ghcr.io/v2/open-webui/open-webui/manifests/ollama"
time="2024-06-12T06:28:32Z" level=debug msg="Found a remote digest to compare with" remote="sha256:030b1c565b2595ed28a64d8a635090f2aebaaf92542bf7de4c942d74a0dc9a71"
time="2024-06-12T06:28:32Z" level=debug msg=Comparing local="sha256:fa9536b0257c2121667705085328be20a855ff283133e6c2c3763f9f3f6887a1" remote="sha256:030b1c565b2595ed28a64d8a635090f2aebaaf92542bf7de4c942d74a0dc9a71"
time="2024-06-12T06:28:32Z" level=debug msg="Digests did not match, doing a pull."
time="2024-06-12T06:28:32Z" level=debug msg="Pulling image" container=/open-webui image="ghcr.io/open-webui/open-webui:ollama"
time="2024-06-12T06:31:19Z" level=debug msg="No new images found for /open-webui"
time="2024-06-12T06:31:19Z" level=info msg="Session done" Failed=0 Scanned=1 Updated=0 notify=no
time="2024-06-12T06:31:19Z" level=info msg="Waiting for the notification goroutine to finish" notify=no

It says there is no new image found for open-webui. However, when i look at the WebUI it states that I'm on:
image

A Manual Pull:
docker pull ghcr.io/open-webui/open-webui:main works fine.

@almostserious
Copy link
Author

Ok it looks like this is because of not enough Disk Space. After increasing available size, the watchtower command completed successfully. I might raise an issue for better log output to watchtower.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant