# Error downloading update

**URL:** <https://forums.balena.io/t/error-downloading-update/1049>\
**Category:** Product support\
**Created:** [May 29, 2017, 8:51pm UTC](https://forums.balena.io/t/error-downloading-update/1049 "2017-05-29T20:51:24Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![diegosucaria](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/diegosucaria/32/283_2.png) [@diegosucaria](https://forums.balena.io/u/diegosucaria)\
**Post date:** [May 29, 2017, 8:51pm UTC](https://forums.balena.io/t/error-downloading-update/1049/1 "2017-05-29T20:51:24Z")

</div>

Hi!

devices are having this issue after I pushed an update:  
Failed to download application ‘[registry2.resin.io/enpunto/](http://registry2.resin.io/enpunto/)…’ due to ‘rsync exited. code: 12 signal: null’

Devices are on multiple network so it is not an internet connection related issue.

![](https://global.discourse-cdn.com/balena/original/1X/66b9d940b2ebbddbaad320137ce809a6485b4fec.png)

---

<div class="post-metadata">

**Author:** ![pcarranzav](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/pcarranzav/32/94_2.png) [@pcarranzav](https://forums.balena.io/u/pcarranzav)\
**Post date:** [May 29, 2017, 9:02pm UTC](https://forums.balena.io/t/error-downloading-update/1049/3 "2017-05-29T21:02:09Z")

</div>

Hi @diegosucaria  
What supervisor and OS versions are your devices running? We’ve seen similar bugs in the past and fixed them in newer supervisor versions, but there might be other edge cases that still lead to a scenario like this.

In any case, you can work around the issue temporarily by disabling deltas (RESIN\_SUPERVISOR\_DELTA = 0 in your fleet configuration) so that devices download the image with a regular docker pull.

---

<div class="post-metadata">

**Author:** ![diegosucaria](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/diegosucaria/32/283_2.png) [@diegosucaria](https://forums.balena.io/u/diegosucaria)\
**Post date:** [May 29, 2017, 9:08pm UTC](https://forums.balena.io/t/error-downloading-update/1049/4 "2017-05-29T21:08:36Z")

</div>

![](https://global.discourse-cdn.com/balena/original/1X/3f424054534e53caec4a7f1c3ae5f1825da3c576.png)

Disabled delta updates… the full image started to download fine.

---

<div class="post-metadata">

**Author:** ![pcarranzav](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/pcarranzav/32/94_2.png) [@pcarranzav](https://forums.balena.io/u/pcarranzav)\
**Post date:** [May 29, 2017, 9:24pm UTC](https://forums.balena.io/t/error-downloading-update/1049/5 "2017-05-29T21:24:24Z")

</div>

Glad to hear. We have a few fixes for deltas in progress that should make this errors less likely. After the devices finish the download, you can turn deltas back on - if you hit this error again please let us know so that we can do a deeper dive (it will probably involve us taking a look into what’s going on in the devices).

---

<div class="post-metadata">

**Author:** ![jeff](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/jeff/32/455_2.png) [@jeff](https://forums.balena.io/u/jeff)\
**Post date:** [October 17, 2017, 9:10pm UTC](https://forums.balena.io/t/error-downloading-update/1049/6 "2017-10-17T21:10:11Z")

</div>

I am having a similar issue after having deltas turned off, then turning deltas back on I get the same repetitive messages as above, but with `code 2`.

Turning deltas off will allow the device to successfully download and run the app, but turning deltas back on again yields the same error messages.

Any solutions for `code 2`?

---

<div class="post-metadata">

**Author:** ![willnewton](https://avatars.discourse-cdn.com/v4/letter/w/e9c0ed/32.png) [@willnewton](https://forums.balena.io/u/willnewton)\
**Post date:** [October 18, 2017, 10:59am UTC](https://forums.balena.io/t/error-downloading-update/1049/8 "2017-10-18T10:59:22Z")

</div>

We are experiencing some issues with the delta server at the moment. Unfortunately this isn’t currently reflected by the status page as we don’t have a separate item for that, but we are working on getting the status page and the delta server fixed as soon as possible!

---

<div class="post-metadata">

**Author:** ![willnewton](https://avatars.discourse-cdn.com/v4/letter/w/e9c0ed/32.png) [@willnewton](https://forums.balena.io/u/willnewton)\
**Post date:** [October 18, 2017, 11:22am UTC](https://forums.balena.io/t/error-downloading-update/1049/10 "2017-10-18T11:22:26Z")

</div>

The delta server should now be working OK. Let me know if you’re still experiencing problems.

---

<div class="post-metadata">

**Author:** ![jeff](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/jeff/32/455_2.png) [@jeff](https://forums.balena.io/u/jeff)\
**Post date:** [October 18, 2017, 12:11pm UTC](https://forums.balena.io/t/error-downloading-update/1049/12 "2017-10-18T12:11:23Z")

</div>

I am still experiencing the same issue with error `code 2`

---

<div class="post-metadata">

**Author:** ![willnewton](https://avatars.discourse-cdn.com/v4/letter/w/e9c0ed/32.png) [@willnewton](https://forums.balena.io/u/willnewton)\
**Post date:** [October 18, 2017, 12:28pm UTC](https://forums.balena.io/t/error-downloading-update/1049/14 "2017-10-18T12:28:45Z")

</div>

Could you try pushing an empty commit in order to generate a new delta?

---

<div class="post-metadata">

**Author:** ![jeff](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/jeff/32/455_2.png) [@jeff](https://forums.balena.io/u/jeff)\
**Post date:** [October 18, 2017, 11:51pm UTC](https://forums.balena.io/t/error-downloading-update/1049/16 "2017-10-18T23:51:46Z")

</div>

A new push didn’t work. I am receiving the same messages.

Then I tried the following:

- Changed to RESIN\_SUPERVISOR\_DELTA=0 so the device could get the most recent commit - that succeeded.

- Then changed back to RESIN\_SUPERVISOR\_DELTA=1 and created a new commit - still fails with the same error messages

---

<div class="post-metadata">

**Author:** ![dfunckt](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dfunckt/32/56_2.png) [@dfunckt](https://forums.balena.io/u/dfunckt)\
**Post date:** [October 19, 2017, 9:57am UTC](https://forums.balena.io/t/error-downloading-update/1049/18 "2017-10-19T09:57:29Z")

</div>

Hello @jeff – can you please paste here the Dashboard URL for the device and enable Support Access for a couple of days via the device Actions page?

---

<div class="post-metadata">

**Author:** ![jeff](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/jeff/32/455_2.png) [@jeff](https://forums.balena.io/u/jeff)\
**Post date:** [October 19, 2017, 12:35pm UTC](https://forums.balena.io/t/error-downloading-update/1049/20 "2017-10-19T12:35:28Z")

</div>

@dfunckt All set. Support Access has been granted for [https://dashboard.resin.io/apps/502463/devices/822967/summary](https://dashboard.resin.io/apps/502463/devices/822967/summary)

---

<div class="post-metadata">

**Author:** ![dfunckt](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dfunckt/32/56_2.png) [@dfunckt](https://forums.balena.io/u/dfunckt)\
**Post date:** [October 19, 2017, 2:18pm UTC](https://forums.balena.io/t/error-downloading-update/1049/22 "2017-10-19T14:18:42Z")

</div>

@jeff is that a development device? Do you mind if I stop your application for a bit while I’m looking into it? Do you have network bandwidth limitations (eg. cellular)?

---

<div class="post-metadata">

**Author:** ![jeff](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/jeff/32/455_2.png) [@jeff](https://forums.balena.io/u/jeff)\
**Post date:** [October 19, 2017, 9:50pm UTC](https://forums.balena.io/t/error-downloading-update/1049/24 "2017-10-19T21:50:59Z")

</div>

Yes, that is a development device and has a broadband connection. Feel free to stop and restart the app as you need or reboot the device.

(I am located in Australia, which is why my response times have been slow.)

---

<div class="post-metadata">

**Author:** ![dfunckt](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dfunckt/32/56_2.png) [@dfunckt](https://forums.balena.io/u/dfunckt)\
**Post date:** [October 20, 2017, 8:43am UTC](https://forums.balena.io/t/error-downloading-update/1049/26 "2017-10-20T08:43:57Z")

</div>

The device is fixed now and runs the latest commit.

I updated the device to the latest Supervisor (v6.3.5). That version is more resilient when applying deltas and can better identify and recover from rsync errors like the one you were seeing. `code: 2` suggests the source does not match the source used for generating the delta. This could be due to SD card corruption BTW, and the fact it’s super-slow suggests you might want to use a better card 🙂

---

<div class="post-metadata">

**Author:** ![jeff](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/jeff/32/455_2.png) [@jeff](https://forums.balena.io/u/jeff)\
**Post date:** [October 20, 2017, 9:16pm UTC](https://forums.balena.io/t/error-downloading-update/1049/28 "2017-10-20T21:16:29Z")

</div>

Thank you for the fix! I will update my other devices to the latest Supervisor, as well.

I am not sure what you mean by a super-slow SD card as the device does not have one installed.

---

<div class="post-metadata">

**Author:** ![jeff](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/jeff/32/455_2.png) [@jeff](https://forums.balena.io/u/jeff)\
**Post date:** [October 21, 2017, 11:33am UTC](https://forums.balena.io/t/error-downloading-update/1049/30 "2017-10-21T11:33:17Z")

</div>

I couldn’t find a way to update the Supervisor on its own. Is this possible from our end?

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [October 21, 2017, 2:34pm UTC](https://forums.balena.io/t/error-downloading-update/1049/32 "2017-10-21T14:34:59Z")

</div>

Hi Jeff, sorry, currently the supervisor needs to be updated from our end. I’ve seen that you have a handful of 2.4.2+rev1 devices right? On those we’ve marked the supervisor to update to v6.3.5. That update will automatically happen within the next 24h (the device checks in for an update once every 24h - you can speed this up by rebooting the device and then 15 minutes after reboot a check is performed, so it should update then). 🕰

Let’s see how this above works, and if you need any other devices to be updated just let us know! ❗
