Localmode push hangs


I’m using localmode to push my application to a raspberry pi 4.

The application is currently very simple, just a single container in a docker compose file:

version: '2'

    build: influxdb
    restart: on-failure
    network_mode: host
      - 'influxdb-data:/var/lib/influxdb'
      - INFLUXDB_DB=...
      - INFLUXDB_USER=...


With influxdb/dockerfile:

FROM arm32v7/influxdb

# Add custom config.
COPY influxdb.conf /etc/influxdb/influxdb.conf

Using “balena push” works great the first time, the database is up and running and a I can query and write to it.

But if I ctrl-c the push process and restart it, it hangs after the following:

[Debug]   Sending request to
[Debug]   Found build tasks:
[Debug]       influxdb: build [influxdb]
[Debug]   Resolving services with [raspberrypi4-64|aarch64]
[Debug]   Found project types:
[Debug]       influxdb: Standard Dockerfile
[Debug]   Probing remote daemon for cache images
[Debug]   Using 7 on-device images for cache...
[Debug]   Starting builds...
[Build]   [influxdb] Step 1/4 : FROM arm32v7/influxdb
[Build]   [influxdb]  ---> 1ca48fe485f8
[Build]   [influxdb] Step 2/4 : COPY influxdb.conf /etc/influxdb/influxdb.conf
[Build]   [influxdb]  ---> Using cache
[Build]   [influxdb]  ---> ab245b41c115
[Build]   [influxdb] Step 3/4 : LABEL io.resin.local.image=1
[Build]   [influxdb]  ---> Using cache
[Build]   [influxdb]  ---> 68ec72e9f753
[Build]   [influxdb] Step 4/4 : LABEL io.resin.local.service=influxdb
[Build]   [influxdb]  ---> Using cache
[Build]   [influxdb]  ---> dd4bef6ae22a
[Build]   [influxdb] Successfully built dd4bef6ae22a
[Build]   [influxdb] Successfully tagged local_image_influxdb:latest
[Debug]   Setting device state...
[Debug]   Sending request to

The container is never updated or restarted. Manually restarting the container over SSH does not help either. At this point I can only restart the raspberry pi or disable/enable localmode and run the push command again, until the next time I make changes to the docker-compose.yml file or any of the dockerfiles.

I’m running the latest version of balena-cli, 12.14.11

I’ve never had this problem in any of other balena applications.

Hi @Rune,

What versions of balenaOS and the balena supervisor are you running on your device?

balenaOS 2.53.12+rev1
supervisor: 11.9.9

My other applications are running:

balenaOS 2.51.1+rev1
supervisor: 11.4.10

I’ll try balenaOS 2.51.1+rev1 and see if it helps

I have exactly the same problem. Posted about it yesterday: Stuck on "Sending request to" with balena push in local mode

@gustavopch Guess I didnt search the forums thourougly enough it seems :slight_smile:

Anyway, using balenaOS 2.51.1+rev1 with supervisor 11.4.10 my problems are gone :smiley:

1 Like

The bug that is preventing your localmode push from succeeding was fixed in v11.11.4 of the supervisor (changelog is here, if curious: https://github.com/balena-io/balena-supervisor/blob/master/CHANGELOG.md#v11114). We are working on getting an OS release out for all devices with that fix, so stay tuned for a new host OS.

Additionally, we are working on easier ways to update the supervisor independently from the host OS, which we hope to release in the near term. Thanks for reporting this issue!