# Problems with balena push

**URL:** <https://forums.balena.io/t/problems-with-balena-push/247082>\
**Category:** Product support\
**Tags:** raspberrypi4\
**Created:** [February 2, 2021, 5:35am UTC](https://forums.balena.io/t/problems-with-balena-push/247082 "2021-02-02T05:35:01Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![adolfaka](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@adolfaka](https://forums.balena.io/u/adolfaka)\
**Post date:** [February 2, 2021, 5:35am UTC](https://forums.balena.io/t/problems-with-balena-push/247082/1 "2021-02-02T05:35:01Z")

</div>

Running command `balena push <app_name> --emulated --convert-eol` I get the following error:

`qemu-arm-static: Unable to reserve 0xffff0000 bytes of virtual address space at 0x1000 (Success) for use as guest address space (check yourvirtual memory ulimit setting, min_mmap_addr or reserve less using -R option)`  
…  
`The command '/bin/sh -c install_packages -y modemmanager bash supervisor gpsd' returned a non-zero code: 1`

---

<div class="post-metadata">

**Author:** ![anujdeshpande](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/anujdeshpande/32/3155_2.png) [@anujdeshpande](https://forums.balena.io/u/anujdeshpande)\
**Post date:** [February 2, 2021, 10:44am UTC](https://forums.balena.io/t/problems-with-balena-push/247082/4 "2021-02-02T10:44:58Z")

</div>

Hi Can you tell us what version of the balena-cli you are using?

---

<div class="post-metadata">

**Author:** ![adolfaka](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@adolfaka](https://forums.balena.io/u/adolfaka)\
**Post date:** [February 2, 2021, 11:12am UTC](https://forums.balena.io/t/problems-with-balena-push/247082/7 "2021-02-02T11:12:53Z")

</div>

`C:\WINDOWS\system32>balena -v`  
`12.38.8`

---

<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:** [February 2, 2021, 11:17am UTC](https://forums.balena.io/t/problems-with-balena-push/247082/8 "2021-02-02T11:17:02Z")

</div>

Thanks, we’ll have a look and let you know. Is it an open application that you are pushing, or can you potentially share it with us?

---

<div class="post-metadata">

**Author:** ![adolfaka](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@adolfaka](https://forums.balena.io/u/adolfaka)\
**Post date:** [February 2, 2021, 11:26am UTC](https://forums.balena.io/t/problems-with-balena-push/247082/10 "2021-02-02T11:26:17Z")

</div>

Unfortunately, this application is private and has been used for a long time, but I have never seen such an error. The extreme change in the code cannot be related to the assembly in any way, the changes were only in the application logic itself and were quite insignificant.

---

<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:** [February 2, 2021, 11:32am UTC](https://forums.balena.io/t/problems-with-balena-push/247082/11 "2021-02-02T11:32:11Z")

</div>

In the latest CLI version we updated the QEMU version, which is likely what’s causing this problem. We’ll investigate and get back to you soon.

---

<div class="post-metadata">

**Author:** ![adolfaka](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@adolfaka](https://forums.balena.io/u/adolfaka)\
**Post date:** [February 2, 2021, 12:37pm UTC](https://forums.balena.io/t/problems-with-balena-push/247082/12 "2021-02-02T12:37:31Z")

</div>

I have pushed using the balena-cli of the following versions v12.35.0…12.37.0, but I always get an error related to qemu-arm-static

---

<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:** [February 2, 2021, 12:39pm UTC](https://forums.balena.io/t/problems-with-balena-push/247082/13 "2021-02-02T12:39:08Z")

</div>

My bad for not explaining it well, we also updated the QEMU in our builders, which is probably why you’re getting the error. We’ll investigate further and get back to you as soon as we have more information

---

<div class="post-metadata">

**Author:** ![projecttwo](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@projecttwo](https://forums.balena.io/u/projecttwo)\
**Post date:** [February 2, 2021, 1:03pm UTC](https://forums.balena.io/t/problems-with-balena-push/247082/14 "2021-02-02T13:03:23Z")

</div>

hey,  
i also have problems with balena push on windows cli…

i always got the following error-codes:

[Error] The included balena.yml is not a valid contract, allowed types are sw.application,sw.block,sw.hal-module, stopping build  
[Error] Some services failed to build:  
[Error] Not deploying release.  
[Error] Upstream API server/DB error:  
Remote build failed

my container shouldn’t be the problem cause i dont changed anything 🙂

thanks for your help.

BR Bernd

---

<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:** [February 2, 2021, 1:07pm UTC](https://forums.balena.io/t/problems-with-balena-push/247082/16 "2021-02-02T13:07:13Z")

</div>

Do you have a `balena.yml` file at the root of the application? If so, what do you have inside?

---

<div class="post-metadata">

**Author:** ![projecttwo](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@projecttwo](https://forums.balena.io/u/projecttwo)\
**Post date:** [February 2, 2021, 1:08pm UTC](https://forums.balena.io/t/problems-with-balena-push/247082/17 "2021-02-02T13:08:53Z")

</div>

yes…

the lines are not touched:

applicationEnvironmentVariables:

- PORT: 80

my cli also load a update on the first login. now i am on version 12.38.3

---

<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:** [February 2, 2021, 1:13pm UTC](https://forums.balena.io/t/problems-with-balena-push/247082/18 "2021-02-02T13:13:19Z")

</div>

Interesting, what’s the reason for using `balena.yml` in a private application? The reason it’s failing is because we deprecated the old format of the balena.yml, you can find the new format here: [Deploy with balena button - Balena Documentation](https://www.balena.io/docs/learn/deploy/deploy-with-balena-button/). You can also remove it if you don’t have use for it by the way.

---

<div class="post-metadata">

**Author:** ![ab77](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/ab77/32/2870_2.png) [@ab77](https://forums.balena.io/u/ab77)\
**Post date:** [February 2, 2021, 8:56pm UTC](https://forums.balena.io/t/problems-with-balena-push/247082/25 "2021-02-02T20:56:51Z")

</div>

Hi there, we rolled back to a previous version of QEMU, bundled with the cloud builder code. We’ve now rolled back this update while we investigate further. Can you please verify you can (re)build your app(s)?

---

<div class="post-metadata">

**Author:** ![adolfaka](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@adolfaka](https://forums.balena.io/u/adolfaka)\
**Post date:** [February 3, 2021, 6:10am UTC](https://forums.balena.io/t/problems-with-balena-push/247082/27 "2021-02-03T06:10:28Z")

</div>

Thx! Successfully built)

---

<div class="post-metadata">

**Author:** ![rahul-thakoor](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@rahul-thakoor](https://forums.balena.io/u/rahul-thakoor)\
**Post date:** [February 3, 2021, 6:12am UTC](https://forums.balena.io/t/problems-with-balena-push/247082/28 "2021-02-03T06:12:32Z")

</div>

Hey there

Thanks for reporting and confirming.

Cheers

---

<div class="post-metadata">

**Author:** ![klutchell](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/klutchell/32/861_2.png) [@klutchell](https://forums.balena.io/u/klutchell)\
**Post date:** [February 5, 2021, 7:57pm UTC](https://forums.balena.io/t/problems-with-balena-push/247082/30 "2021-02-05T19:57:55Z")

</div>

Hey @adolfaka, thanks again for reporting this issue!

Is there a specific reason you use the `--emulated` flag with the push command? For most arm device types if that flag is not provided it will actually use our dedicated arm builders, which are usually much faster than emulation.

If there is a current reason not to use our arm builders, we would love to know so we can look at improving them!

---

<div class="post-metadata">

**Author:** ![klutchell](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/klutchell/32/861_2.png) [@klutchell](https://forums.balena.io/u/klutchell)\
**Post date:** [February 22, 2021, 7:49pm UTC](https://forums.balena.io/t/problems-with-balena-push/247082/34 "2021-02-22T19:49:52Z")

</div>

Hey @adolfaka, is there any additional information you can provide about your emulated docker push process that could help us improve the product? Is there a reason you don’t use the dedicated arm builders?

---

<div class="post-metadata">

**Author:** ![adolfaka](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@adolfaka](https://forums.balena.io/u/adolfaka)\
**Post date:** [February 22, 2021, 9:36pm UTC](https://forums.balena.io/t/problems-with-balena-push/247082/36 "2021-02-22T21:36:05Z")

</div>

Hi, @klutchell! Sorry for the long answer, only now I noticed the messages on e-mail. It turned out that there was no need to use the `--emulated` flag, I misinterpreted the description in the documentation and thought that pushing an application on ARM bases was impossible on AMD64. Many thanks! You saved me a lot of time 🎉

---

<div class="post-metadata">

**Author:** ![klutchell](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/klutchell/32/861_2.png) [@klutchell](https://forums.balena.io/u/klutchell)\
**Post date:** [February 22, 2021, 9:57pm UTC](https://forums.balena.io/t/problems-with-balena-push/247082/37 "2021-02-22T21:57:32Z")

</div>

That’s excellent to hear! Thanks for reaching out! 🎉

---

<div class="post-metadata">

**Author:** ![paulpraveen23](https://avatars.discourse-cdn.com/v4/letter/p/73ab20/32.png) [@paulpraveen23](https://forums.balena.io/u/paulpraveen23)\
**Post date:** [May 25, 2021, 10:54am UTC](https://forums.balena.io/t/problems-with-balena-push/247082/39 "2021-05-25T10:54:39Z")

</div>

Thank you so much team:)

[Next page](https://forums.balena.io/t/problems-with-balena-push/247082.md?page=2)
