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

Error Handling when running out of Disk Space #1984

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

Error Handling when running out of Disk Space #1984

almostserious opened this issue Jun 12, 2024 · 1 comment

Comments

@almostserious
Copy link

Describe the bug

When running out of Disk Space while pulling an image, watchtower seems to simply give the feedback that no update was found.

Steps to reproduce

Low DiskSpace while running watchtower.
Manual pull will tell the issue of not enough disk space.

Expected behavior

Watchtower should show the error.

Screenshots

No response

Environment

  • Platform
  • Architecture
  • Docker Version

Your logs

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

Additional context

No response

Copy link

Hi there! 👋🏼 As you're new to this repo, we'd like to suggest that you read our code of conduct as well as our contribution guidelines. Thanks a bunch for opening your first issue! 🙏

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

No branches or pull requests

1 participant