watchtower
watchtower copied to clipboard
Watchtower now just removing containers and putting random stuff in it's place
Describe the bug
I have used watchtower for years now without issue but suddenly it started doing weird things. My plex container was suddenly gone one morning and this new container was in it's place (see image)
I am on the DEV branch and have it set to run at 3 AM every morning.
Also note that the image used to create this odd weird container was containrrr/watchtower:latest-dev
Steps to reproduce
Set up watchtower on the dev branch
Set it to run at 3 am at night
Watch the mayhem the next morning
Expected behavior
It should recreate the plex container with the latest image
Screenshots
Environment
- Platform
- Architecture
- Docker Version
Your logs
I don't want to run it again as it would screw up my containers
Additional context
No response
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! 🙏
You should be able to retrieve the logs from the previous run. Just running docker logs watchtower
or similar should show them. We don't have much to go on otherwise...
What time zone is 3 AM in? It could be because of a prior bug that I fixed yesterday that caused watchtower to crash, leaving a temporary container (the random one).
This is CEST +2
time="2023-10-24T03:00:36+02:00" level=info msg="Watchtower v1.6.0-12-g3d1ed23"
time="2023-10-24T03:00:36+02:00" level=info msg="Using no notifications"
time="2023-10-24T03:00:36+02:00" level=info msg="Checking all containers (except explicitly disabled with label)"
time="2023-10-24T03:00:36+02:00" level=info msg="Scheduling first run: 2023-10-25 03:00:00 +0200 CEST"
time="2023-10-24T03:00:36+02:00" level=info msg="Note that the first check will be performed in 23 hours, 59 minutes, 23 seconds"
time="2023-10-24T10:24:13+02:00" level=info msg="Waiting for running update to be finished..."
time="2023-10-24T16:15:38+02:00" level=info msg="Watchtower v1.6.0-12-g3d1ed23"
time="2023-10-24T16:15:38+02:00" level=info msg="Using no notifications"
time="2023-10-24T16:15:38+02:00" level=info msg="Checking all containers (except explicitly disabled with label)"
time="2023-10-24T16:15:38+02:00" level=info msg="Scheduling first run: 2023-10-25 03:00:00 +0200 CEST"
time="2023-10-24T16:15:38+02:00" level=info msg="Note that the first check will be performed in 10 hours, 44 minutes, 21 seconds"
The containers being removed is the same issue as https://github.com/containrrr/watchtower/issues/1809 (and has been resolved), and the randomly named containers should be the old Watchtower container (check its logs) which couldn't be removed, as also reported in that issue.
Issue is now resolved - https://github.com/containrrr/watchtower/issues/1835