Skip to content

Update not working, its always say: Skipped another update already running #2105

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

Open
agostop opened this issue May 11, 2025 · 3 comments
Open

Comments

@agostop
Copy link

agostop commented May 11, 2025

Describe the bug

I used 2 minutes interval to check the image update, at the start, every thing is ok, but 1 hour ago, the error is coming, the log message is: Skipped another update already running. , and the log will only output this, even if there is an image that needs to be updated, it will still not working, forever, until when I restart it.
I monitored for 8 images, is there too much?

docker-compose.yml

services:
  watchtower:
    image: watchtower:latest
    environment:
      - WATCHTOWER_REMOVE_VOLUMES=true
      - TZ=Asia/Chongqing
      - WATCHTOWER_CLEANUP=true
      - WATCHTOWER_INCLUDE_RESTARTING=true
      - WATCHTOWER_POLL_INTERVAL=120
      - WATCHTOWER_LABEL_ENABLE=true
      - WATCHTOWER_NO_STARTUP_MESSAGE=true
      - WATCHTOWER_DEBUG=true
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ~/.docker/config.json:/config.json

Steps to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Update it when a new image is available

Screenshots

No response

Environment

  • Platform
  • Architecture
  • Docker Version

Your logs

watchtower-1  | time="2025-05-10T17:44:27+08:00" level=debug msg="Got image name: reg/xxxxx/xxxx/xxxxx:test"
watchtower-1  | time="2025-05-10T17:44:27+08:00" level=debug msg="Credentials loaded"
watchtower-1  | time="2025-05-10T17:44:27+08:00" level=debug msg="Checking if pull is needed" container=/xxxxxx image="reg/xxxxx/xxxx/xxxxx:test"
watchtower-1  | time="2025-05-10T17:44:27+08:00" level=debug msg="Built challenge URL" URL="https://xxxxx"
watchtower-1  | time="2025-05-10T17:44:27+08:00" level=debug msg="Got response to challenge request" header="Bearer realm=\"xxxxx\",service=\"docker\"" status="401 Unauthorized"
watchtower-1  | time="2025-05-10T17:44:27+08:00" level=debug msg="Checking challenge header content" realm="https://auth.pkg.coding.net/artifacts-auth/docker/jwt?host=g-gssj2688-docker.pkg.coding.net" service=docker
watchtower-1  | time="2025-05-10T17:44:27+08:00" level=debug msg="Setting scope for auth token" xxx scope="repository:xxxxxx"
watchtower-1  | time="2025-05-10T17:44:27+08:00" level=debug msg="Credentials found."
watchtower-1  | time="2025-05-10T17:46:02+08:00" level=debug msg="Skipped another update already running."
watchtower-1  | time="2025-05-10T17:46:02+08:00" level=debug msg="Scheduled next run: 2025-05-10 17:48:02 +0800 CST"
watchtower-1  | time="2025-05-10T17:48:02+08:00" level=debug msg="Skipped another update already running."
watchtower-1  | time="2025-05-10T17:48:02+08:00" level=debug msg="Scheduled next run: 2025-05-10 17:50:02 +0800 CST"
watchtower-1  | time="2025-05-10T17:50:02+08:00" level=debug msg="Skipped another update already running."
watchtower-1  | time="2025-05-10T17:50:02+08:00" level=debug msg="Scheduled next run: 2025-05-10 17:52:02 +0800 CST"
watchtower-1  | time="2025-05-10T17:52:02+08:00" level=debug msg="Skipped another update already running."
watchtower-1  | time="2025-05-10T17:52:02+08:00" level=debug msg="Scheduled next run: 2025-05-10 17:54:02 +0800 CST"
watchtower-1  | time="2025-05-10T17:54:02+08:00" level=debug msg="Skipped another update already running."
watchtower-1  | time="2025-05-10T17:54:02+08:00" level=debug msg="Scheduled next run: 2025-05-10 17:56:02 +0800 CST"
watchtower-1  | time="2025-05-10T17:56:02+08:00" level=debug msg="Skipped another update already running."
watchtower-1  | time="2025-05-10T17:56:02+08:00" level=debug msg="Scheduled next run: 2025-05-10 17:58:02 +0800 CST"
watchtower-1  | time="2025-05-10T17:58:02+08:00" level=debug msg="Skipped another update already running."
watchtower-1  | time="2025-05-10T17:58:02+08:00" level=debug msg="Scheduled next run: 2025-05-10 18:00:02 +0800 CST"
watchtower-1  | time="2025-05-10T18:00:02+08:00" level=debug msg="Skipped another update already running."
watchtower-1  | time="2025-05-10T18:00:02+08:00" level=debug msg="Scheduled next run: 2025-05-10 18:02:02 +0800 CST"
watchtower-1  | time="2025-05-10T18:02:02+08:00" level=debug msg="Skipped another update already running."
watchtower-1  | time="2025-05-10T18:02:02+08:00" level=debug msg="Scheduled next run: 2025-05-10 18:04:02 +0800 CST"
watchtower-1  | time="2025-05-10T18:04:02+08:00" level=debug msg="Skipped another update already running."
watchtower-1  | time="2025-05-10T18:04:02+08:00" level=debug msg="Scheduled next run: 2025-05-10 18:06:02 +0800 CST"
watchtower-1  | time="2025-05-10T18:06:02+08:00" level=debug msg="Skipped another update already running."
watchtower-1  | time="2025-05-10T18:06:02+08:00" level=debug msg="Scheduled next run: 2025-05-10 18:08:02 +0800 CST"
watchtower-1  | time="2025-05-10T18:08:02+08:00" level=debug msg="Skipped another update already running."
watchtower-1  | time="2025-05-10T18:08:02+08:00" level=debug msg="Scheduled next run: 2025-05-10 18:10:02 +0800 CST"
watchtower-1  | time="2025-05-10T18:10:02+08:00" level=debug msg="Skipped another update already running."
watchtower-1  | time="2025-05-10T18:10:02+08:00" level=debug msg="Scheduled next run: 2025-05-10 18:12:02 +0800 CST"
watchtower-1  | time="2025-05-10T18:12:02+08:00" level=debug msg="Skipped another update already running."
watchtower-1  | time="2025-05-10T18:12:02+08:00" level=debug msg="Scheduled next run: 2025-05-10 18:14:02 +0800 CST"
watchtower-1  | time="2025-05-10T18:14:02+08:00" level=debug msg="Skipped another update already running."
watchtower-1  | time="2025-05-10T18:14:02+08:00" level=debug msg="Scheduled next run: 2025-05-10 18:16:02 +0800 CST"
watchtower-1  | time="2025-05-10T18:16:02+08:00" level=debug msg="Skipped another update already running."

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! 🙏

@bondskin
Copy link

Did you notice
"Got response to challenge request" header="Bearer realm="xxxxx",service="docker"" status="401 Unauthorized""?

@agostop
Copy link
Author

agostop commented May 12, 2025

Did you notice "Got response to challenge request" header="Bearer realm="xxxxx",service="docker"" status="401 Unauthorized""?

Hi, thank you for reply me, I notice that, but it seems not a problem, because when it is working, it will also print this log.

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

2 participants