FROM arm32v7/influxdb
# Add custom config.
COPY influxdb.conf /etc/influxdb/influxdb.conf
Using “balena push 192.168.20.121” 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 http://192.168.20.121:48484/v2/local/device-info
[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 http://192.168.20.121:48484/v2/local/target-state
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.
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!
Hey there, just wondering if you got a chance to test this again and answer what my colleague asked above? There may be a delay during base image downloads which is to be expected but this shouldn’t happen for every code change.