# Watchtower automatic update on Email

**URL:** <https://forum.storj.io/t/watchtower-automatic-update-on-email/643>\
**Category:** Ideas & Suggestions\
**Created:** [July 17, 2019, 2:30pm UTC](https://forum.storj.io/t/watchtower-automatic-update-on-email/643 "2019-07-17T14:30:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Odmin](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/odmin/32/92_2.png) [@Odmin](https://forum.storj.io/u/Odmin)\
**Post date:** [July 17, 2019, 2:30pm UTC](https://forum.storj.io/t/watchtower-automatic-update-on-email/643/1 "2019-07-17T14:30:44Z")

</div>

Today I got email about upgrade storage node to latest version and see that automatic upgrade command is not updated:

 ![image](https://storj-s3.bcdn.literatehosting.net/original/1X/e55a68e3db827dfb391e0aa4438bd2c1f6ae22e7.png)

Please replace it for correct command [from here](https://storj-labs.gitbook.io/docs/getting-started/setup-a-storage-node#running-the-storage-node)

`docker run -d --restart=always --name watchtower -v /var/run/docker.sock:/var/run/docker.sock storjlabs/watchtower storagenode watchtower --stop-timeout 300s`

---

<div class="post-metadata">

**Author:** ![KernelPanick](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kernelpanick/32/62_2.png) [@KernelPanick](https://forum.storj.io/u/KernelPanick)\
**Post date:** [July 17, 2019, 8:03pm UTC](https://forum.storj.io/t/watchtower-automatic-update-on-email/643/2 "2019-07-17T20:03:20Z")

</div>

I was wondering if that would work. As always, you’re on point! Thank you. Wouldn’t it be good to also add --stop-timeout 300s to the run command for storagenode as well?

---

<div class="post-metadata">

**Author:** ![BrightSilence](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brightsilence/32/6048_2.png) [@BrightSilence](https://forum.storj.io/u/BrightSilence)\
**Post date:** [July 17, 2019, 8:37pm UTC](https://forum.storj.io/t/watchtower-automatic-update-on-email/643/3 "2019-07-17T20:37:46Z")

</div>

NOOOoooo… We tried that and it made watchtower stop and remove the container, but never start it again. Learned that the hard way.

Use `docker stop -t 300 storagenode` and `docker restart -t 300 storagenode` instead when stopping or restarting.

---

<div class="post-metadata">

**Author:** ![KernelPanick](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kernelpanick/32/62_2.png) [@KernelPanick](https://forum.storj.io/u/KernelPanick)\
**Post date:** [July 17, 2019, 8:58pm UTC](https://forum.storj.io/t/watchtower-automatic-update-on-email/643/4 "2019-07-17T20:58:34Z")

</div>

Is there a way to force this when doing a reboot, or do you just manually stop before rebooting?

---

<div class="post-metadata">

**Author:** ![BrightSilence](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brightsilence/32/6048_2.png) [@BrightSilence](https://forum.storj.io/u/BrightSilence)\
**Post date:** [July 17, 2019, 9:07pm UTC](https://forum.storj.io/t/watchtower-automatic-update-on-email/643/5 "2019-07-17T21:07:57Z")

</div>

The method you mentioned would be the way to do it while rebooting, but the incompatibility with watchtower makes that not an option. So for now, I would say manually stop. (Don’t forget to manually start again as well)

---

<div class="post-metadata">

**Author:** ![Odmin](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/odmin/32/92_2.png) [@Odmin](https://forum.storj.io/u/Odmin)\
**Post date:** [July 30, 2019, 8:14pm UTC](https://forum.storj.io/t/watchtower-automatic-update-on-email/643/6 "2019-07-30T20:14:37Z")

</div>

Today new release is came, but EMAIL is not changed:

 ![image](https://storj-s3.bcdn.literatehosting.net/original/1X/2cbdfdd29cb42dde9931846a6b4251479bae3d75.png)

@jocelyn can someone update this text or just a past link to the documentation?
