-
Starting watchtower with --run-once does not check all images once, but runs it multiple times (until I stopped the container manually). Interestingly enough, a weekly schedule ("--schedule "@Weekly" ") does not work either. Every single time, watchtower finds "multiple instances" after the first week, restarts itself and resets the timer, thus never updating the actual images. Only an interval setting appears to work correctly. Here is the docker-compose.yml version: '2'
services:
watchtower:
container_name: watchtower
restart: unless-stopped
image: containrrr/watchtower:latest
environment:
- TZ=Europe/Berlin
env_file:
- watchtower_notifications_settings.env
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: watchtower nzbhydra nzbhydra2 lidarr radarr sonarrv3 --run-once --stop-timeout 300s --cleanup --debug ### run once
(removed the server and user settings) Watchtower is running on a Synology diskstation. Server: Engine: Version: 18.09.8, API version: 1.39, Go version: go1.11, Git commit: 3a371f3, Built: Fri Mar 13 06:44:35 2020, OS/Arch: linux/amd64 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 13 replies
-
The message "Running a one time update" is the only message you get in When you use You added a log file at the bottom, which scenario was this logged using? |
Beta Was this translation helpful? Give feedback.
-
Duh, stupid mistake: "restart: unless-stopped". I was re-using my existing yml. But no, I did not get any notifications about the sonarrv3 image that was updated. (I do though when I am using a timer.) Would you also have an idea about the weekly schedule topic? |
Beta Was this translation helpful? Give feedback.
-
As it's not possible to mark nested comments as answers, I'll go ahead and quote @piksel here:
|
Beta Was this translation helpful? Give feedback.
-
Hello again, after all my mistakes und knowledge gaps in the configuration, I just wanted to point out that I have re-tested: Here a log: time="2020-07-01T13:36:31+02:00" level=info msg="Running a one time update." The notification for it only reads: "2020-07-01 13:36:31 (info): Running a one time update." |
Beta Was this translation helpful? Give feedback.
As it's not possible to mark nested comments as answers, I'll go ahead and quote @piksel here: