# When updating code for the first time it doesn't go past a certain percentage

**URL:** <https://forums.balena.io/t/when-updating-code-for-the-first-time-it-doesnt-go-past-a-certain-percentage/65230>\
**Category:** Product support\
**Tags:** raspberrypi3\
**Created:** [February 22, 2020, 6:28pm UTC](https://forums.balena.io/t/when-updating-code-for-the-first-time-it-doesnt-go-past-a-certain-percentage/65230 "2020-02-22T18:28:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![SkyStorm348](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@SkyStorm348](https://forums.balena.io/u/SkyStorm348)\
**Post date:** [February 22, 2020, 6:28pm UTC](https://forums.balena.io/t/when-updating-code-for-the-first-time-it-doesnt-go-past-a-certain-percentage/65230/1 "2020-02-22T18:28:46Z")

</div>

I am new to coding in general and was trying out the balenaSound project on my Raspberry Pi 3 model B. After pushing the code from cmd, when i try to upload to balenaCloud, the update keeps restarting after hitting 11%. I am new to coding and don’t know what do in this situation.Looked online but there is no answer. Sry for bad grammar.

Iam on balenaOS 2.47.0+rev1

when I attempt restart it says tunneling socket could not be established

---

<div class="post-metadata">

**Author:** ![thundron](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/thundron/32/1379_2.png) [@thundron](https://forums.balena.io/u/thundron)\
**Post date:** [February 24, 2020, 10:32am UTC](https://forums.balena.io/t/when-updating-code-for-the-first-time-it-doesnt-go-past-a-certain-percentage/65230/3 "2020-02-24T10:32:27Z")

</div>

Hi and welcome to the forums!  
Could you please enable support access on the device and paste here the device UUID?  
You can do so by following the [documentation](https://www.balena.io/docs/learn/manage/support-access/), then we’ll be able to take a look into the device and check what’s happening.

---

<div class="post-metadata">

**Author:** ![hedss](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/hedss/32/210_2.png) [@hedss](https://forums.balena.io/u/hedss)\
**Post date:** [February 28, 2020, 8:54pm UTC](https://forums.balena.io/t/when-updating-code-for-the-first-time-it-doesnt-go-past-a-certain-percentage/65230/5 "2020-02-28T20:54:48Z")

</div>

Hello,

We just wanted to check back in with you, are you still having problems here we might be able to help with?

Best regards,

Heds

---

<div class="post-metadata">

**Author:** ![gsavge](https://avatars.discourse-cdn.com/v4/letter/g/ee7513/32.png) [@gsavge](https://forums.balena.io/u/gsavge)\
**Post date:** [March 31, 2020, 11:18am UTC](https://forums.balena.io/t/when-updating-code-for-the-first-time-it-doesnt-go-past-a-certain-percentage/65230/7 "2020-03-31T11:18:09Z")

</div>

Hello there,

I am having the same issue UID 291d0f6d89a014263d5792f7e31bbf5e  
Everything was fine until the update stage, very slow update and restarted at 16%, then again at 11% at ideas?

---

<div class="post-metadata">

**Author:** ![sradevski](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/sradevski/32/1609_2.png) [@sradevski](https://forums.balena.io/u/sradevski)\
**Post date:** [March 31, 2020, 11:21am UTC](https://forums.balena.io/t/when-updating-code-for-the-first-time-it-doesnt-go-past-a-certain-percentage/65230/8 "2020-03-31T11:21:24Z")

</div>

Hi there, can you please give us a bit more information on what steps you took and what exactly happened? Did the device restart while updating? What device are you using? Have you tried running diagnostics on the device (On the device page, go to the `Diagnostics` tab in the menu)?

---

<div class="post-metadata">

**Author:** ![gsavge](https://avatars.discourse-cdn.com/v4/letter/g/ee7513/32.png) [@gsavge](https://forums.balena.io/u/gsavge)\
**Post date:** [March 31, 2020, 11:40am UTC](https://forums.balena.io/t/when-updating-code-for-the-first-time-it-doesnt-go-past-a-certain-percentage/65230/10 "2020-03-31T11:40:49Z")

</div>

Thanks.

I followed guide verbatim, but unlike the first chap I did not restart. The process is still running.

Raspberry pi model 1 and I connect via wifi - no issues. I am running diagnostics now.

---

<div class="post-metadata">

**Author:** ![gsavge](https://avatars.discourse-cdn.com/v4/letter/g/ee7513/32.png) [@gsavge](https://forums.balena.io/u/gsavge)\
**Post date:** [March 31, 2020, 11:48am UTC](https://forums.balena.io/t/when-updating-code-for-the-first-time-it-doesnt-go-past-a-certain-percentage/65230/11 "2020-03-31T11:48:32Z")

</div>

Ok diagnostic report few error for device health check;

How long should the update last? - already been running for ~30 minutes.

 ![image](https://global.discourse-cdn.com/balena/original/2X/9/96e524ee7d969180c3b0c885506072067b7079ab.png)

---

<div class="post-metadata">

**Author:** ![sradevski](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/sradevski/32/1609_2.png) [@sradevski](https://forums.balena.io/u/sradevski)\
**Post date:** [March 31, 2020, 11:54am UTC](https://forums.balena.io/t/when-updating-code-for-the-first-time-it-doesnt-go-past-a-certain-percentage/65230/12 "2020-03-31T11:54:46Z")

</div>

That would depend on many factors, such as network connection, and if it is a first update or a subsequent one with deltas enabled. In this case a likely issue is a very slow/unstable internet connection and/or low-quality SD card.

---

<div class="post-metadata">

**Author:** ![srlowe](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/srlowe/32/2638_2.png) [@srlowe](https://forums.balena.io/u/srlowe)\
**Post date:** [April 7, 2020, 1:24pm UTC](https://forums.balena.io/t/when-updating-code-for-the-first-time-it-doesnt-go-past-a-certain-percentage/65230/19 "2020-04-07T13:24:38Z")

</div>

Hello, did you have any luck? Just to follow up, could you tell me what manufacturer/model SD card you are using? Poor quality SD cards are the root cause of many failures unfortunately. If you are considering swapping the card, we would recommend SanDisk Extreme Pro, as we have found those to be reliable.
