# Long running deployments with potential reboots

**URL:** <https://hub.mender.io/t/long-running-deployments-with-potential-reboots/4073>\
**Category:** General Discussions\
**Created:** [September 13, 2021, 2:09pm UTC](https://hub.mender.io/t/long-running-deployments-with-potential-reboots/4073 "2021-09-13T14:09:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [September 13, 2021, 2:09pm UTC](https://hub.mender.io/t/long-running-deployments-with-potential-reboots/4073/1 "2021-09-13T14:09:06Z")

</div>

I’m starting to investigate a usage scenario where devices may have deployments created for them but due to usage of the device (a medical device), it is unable to actually do the install and reboot for a potentially long time; possibly multiple months. What is the server-side timeout on a long-running deployment like this?

Have there been any improvements to resuming a deployment across a reboot? Ideally once the download has completed, we could at least resume from there but experimenting with state scripts seems to indicate that this is still considered a deployment failure.

Drew

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [September 14, 2021, 7:16am UTC](https://hub.mender.io/t/long-running-deployments-with-potential-reboots/4073/2 "2021-09-14T07:16:13Z")

</div>

> [@drewmoseley](#):
>
> I’m starting to investigate a usage scenario where devices may have deployments created for them but due to usage of the device (a medical device), it is unable to actually do the install and reboot for a potentially long time; possibly multiple months. What is the server-side timeout on a long-running deployment like this?

None, as far as I know.

> [@drewmoseley](#):
>
> Have there been any improvements to resuming a deployment across a reboot? Ideally once the download has completed, we could at least resume from there but experimenting with state scripts seems to indicate that this is still considered a deployment failure.

No improvements, I’m afraid. There is [a ticket](https://tracker.mender.io/browse/MEN-2293) for the Download case, but in general we suggest using [Deployment retries from the server instead](https://tracker.mender.io/browse/MEN-3568?focusedCommentId=114451&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-114451).
