Watchtower does nothing

i noticed 1 of my 6 nodes is not updated to latest version and i checked the watchtower, it was stuck at

time="2022-10-02T23:03:01Z" level=info msg="Waiting for running update to be finished..."

i waited 1 day and it was still stuck there, i stopped and removed the container.
i started a new watchtower container and that does nothing now, problem is the log is empty and i have no idea what i can do now:

root@srv:~# docker ps
CONTAINER ID        IMAGE                           COMMAND                  CREATED             STATUS              PORTS                                                                            NAMES
2b72d463e3d7        storjlabs/watchtower            "/watchtower storage…"   9 minutes ago       Up 9 minutes                                                                                         watchtower
fef9597ee612        storjlabs/storagenode:latest    "/entrypoint"            2 weeks ago         Up 16 minutes       127.0.0.1:14002->14002/tcp, 0.0.0.0:28967->28967/tcp, 0.0.0.0:28967->28967/udp   storagenode
f0d3f813b434        anclrii/storj-exporter:latest   "python ./"              2 months ago        Up 3 weeks          0.0.0.0:9651->9651/tcp                                                           storj-exporter
root@srv:~# docker logs 2b72d463e3d7
root@srv:~#

edit:
found a thread with similar problem but this did not help:

root@srv:~# docker stop watchtower
watchtower
root@srv:~# docker rm watchtower
watchtower
root@srv:~# docker rmi storjlabs/watchtower:latest
Untagged: storjlabs/watchtower:latest
Untagged: storjlabs/watchtower@sha256:31c0c558ec8adad5cec6cb86320c58018289ca22dafa019c31cd5d6f65f03655
Deleted: sha256:6af6621e20c1aeba8c90eb20bd439609d1a4c3d350815292c4ac8fba8202af5a
Deleted: sha256:35b4d627963a933b4223debe7e2c553feade76f13d1cd5beeee58a76e3c979d5
Deleted: sha256:a370b93f2a4078f3e05ced04fb124fde95552e23763e5f2cef4783989a80ac40
Deleted: sha256:c3cbbe9ddca606443e9d7135b431c9dc5c6689d59abea5379937d72e224ba302
root@srv:~# docker pull storjlabs/watchtower
Using default tag: latest
latest: Pulling from storjlabs/watchtower
3a807ee5a0f8: Pull complete
b379e8187639: Pull complete
148d951e88d7: Pull complete
Digest: sha256:31c0c558ec8adad5cec6cb86320c58018289ca22dafa019c31cd5d6f65f03655
Status: Downloaded newer image for storjlabs/watchtower:latest
root@srv:~# docker run -d --restart=always --name watchtower -v /var/run/docker.sock:/var/run/docker.sock storjlabs/watchtower storagenode watchtower --stop-timeout 300s
f379817dc718a30ff4f5dce9472da6ed9bb5f5f70f8dc34d78f23426006856c1
root@srv:~# docker ps
CONTAINER ID        IMAGE                           COMMAND                  CREATED             STATUS              PORTS                                                                            NAMES
f379817dc718        storjlabs/watchtower            "/watchtower storage…"   3 seconds ago       Up 2 seconds                                                                                         watchtower
fef9597ee612        storjlabs/storagenode:latest    "/entrypoint"            2 weeks ago         Up About an hour    127.0.0.1:14002->14002/tcp, 0.0.0.0:28967->28967/tcp, 0.0.0.0:28967->28967/udp   storagenode
f0d3f813b434        anclrii/storj-exporter:latest   "python ./"              2 months ago        Up 3 weeks          0.0.0.0:9651->9651/tcp                                                           storj-exporter
root@srv:~# docker logs f379817dc718
root@srv:~#

Watchtower is now updating only the base image. The base image contains Downloader and orchestrator. The update of storagenode performed by the updater inside the container, it’s now follows the update waves, as any binary storagenode version.
So, just keep it running it will be updated automatically when its time to come.

hi thanks for answer
does that mean its no longer needed to run watchtower or did i get it wrong?

We may update the base image, and watchtower will help to update it for you automatically.

i´m not sure if there is a problem with watchtower because just the one node of my 6 is not updated for some days now


i will just wait some day more…
what is normally the time until it should be on the latest version?

A week. One of my nodes still on a previous version

1 Like