# \#balena-cli

**URL:** https://forums.balena.io/tag/balena-cli/119.md

[Latest](https://forums.balena.io/latest.md) · [Categories](https://forums.balena.io/categories.md) · [Tags](https://forums.balena.io/tags.md)

---

## [\`balena preload\` fails in GitHub Action with \`umount: /tmp/tmp3fib5u3l: target is busy.\`](https://forums.balena.io/t/balena-preload-fails-in-github-action-with-umount-tmp-tmp3fib5u3l-target-is-busy/378096)

<div class="topic-metadata">

**Author:** [@benfrancis](https://forums.balena.io/u/benfrancis)\
**Replies:** 1\
**Last updated:** [June 8, 2026, 6:23pm UTC](https://forums.balena.io/t/balena-preload-fails-in-github-action-with-umount-tmp-tmp3fib5u3l-target-is-busy/378096 "2026-06-08T18:23:00Z")

</div>

I have a GitHub Action which generates a new balenaOS image with my application preloaded each time a tag is pushed to the repository. Last week it was working, but I tagged a release today and the balena preload stage f…

---

## [Standalone balena-cli installation path interferes with Node.js nvm/npm](https://forums.balena.io/t/standalone-balena-cli-installation-path-interferes-with-node-js-nvm-npm/377872)

<div class="topic-metadata">

**Author:** [@jaan513](https://forums.balena.io/u/jaan513)\
**Replies:** 0\
**Last updated:** [May 5, 2026, 9:35am UTC](https://forums.balena.io/t/standalone-balena-cli-installation-path-interferes-with-node-js-nvm-npm/377872 "2026-05-05T09:35:23Z")

</div>

I’m using Opensuse Linux with Balena Cli. When I first install nvm (Node Version Manager), then install Balena Cli as standalone, I get a weird situation where all npm packages are installed into the balena-cli bin fold…

---

## [Host error when using balena device ssh](https://forums.balena.io/t/host-error-when-using-balena-device-ssh/375619)

<div class="topic-metadata">

**Author:** [@basecamp-dev](https://forums.balena.io/u/basecamp-dev)\
**Replies:** 1\
**Last updated:** [February 26, 2026, 7:39pm UTC](https://forums.balena.io/t/host-error-when-using-balena-device-ssh/375619 "2026-02-26T19:39:30Z")

</div>

We are currently unable to ssh into any of the devices on our fleet. When we try, we get error: host error: with no other information. Is there a service outage right now or anything else we can check to determine if it’…

---

## [Deploy Fails - Unable to extract image digest](https://forums.balena.io/t/deploy-fails-unable-to-extract-image-digest/373474)

<div class="topic-metadata">

**Author:** [@adhilton](https://forums.balena.io/u/adhilton)\
**Replies:** 11\
**Last updated:** [January 6, 2026, 3:40pm UTC](https://forums.balena.io/t/deploy-fails-unable-to-extract-image-digest/373474 "2026-01-06T15:40:49Z")

</div>

I’m attempting to create a new release with a command that I’ve been using successfully for the last several years. balena deploy edo/development --registry-secrets=../../credentials.yml --build --debug Regardless of w…

---

## [A way to make a service port only be reachable via balena device tunnel](https://forums.balena.io/t/a-way-to-make-a-service-port-only-be-reachable-via-balena-device-tunnel/375034)

<div class="topic-metadata">

**Author:** [@wooyay](https://forums.balena.io/u/wooyay)\
**Replies:** 0\
**Last updated:** [November 4, 2025, 10:00am UTC](https://forums.balena.io/t/a-way-to-make-a-service-port-only-be-reachable-via-balena-device-tunnel/375034 "2025-11-04T10:00:13Z")

</div>

We have a service running a HTTP server that is only used for internal debugging. It should not be reachable from LAN or internet, only by creating a tunnel with balena-cli to the port. I think this is a common scenario,…

---

## [Balena local flash errors when Etcher does not](https://forums.balena.io/t/balena-local-flash-errors-when-etcher-does-not/374902)

<div class="topic-metadata">

**Author:** [@bora](https://forums.balena.io/u/bora)\
**Replies:** 4\
**Last updated:** [October 9, 2025, 6:29pm UTC](https://forums.balena.io/t/balena-local-flash-errors-when-etcher-does-not/374902 "2025-10-09T18:29:28Z")

</div>

UPDATE: Running balena-cli using the last release of node.js 22 fixes the error. node v22.20.0 , balena-cli v22.4.9 I am trying to use the balena CLI to flash images locally. I am essentially trying to use this as an al…

---

## [Local build working with Docker but not Balena](https://forums.balena.io/t/local-build-working-with-docker-but-not-balena/374679)

<div class="topic-metadata">

**Author:** [@benfrancis](https://forums.balena.io/u/benfrancis)\
**Replies:** 11\
**Last updated:** [September 15, 2025, 5:15pm UTC](https://forums.balena.io/t/local-build-working-with-docker-but-not-balena/374679 "2025-09-15T17:15:50Z")

</div>

Hi, I’m experimenting with porting WebThings Gateway to balenaOS. I have a working docker-compose.yml that points to a pre-built image on Docker Hub which I have successfully deployed to a device, but am trying to crea…

---

## [balena preload breaks when using --config](https://forums.balena.io/t/balena-preload-breaks-when-using-config/374527)

<div class="topic-metadata">

**Author:** [@smic](https://forums.balena.io/u/smic)\
**Replies:** 3\
**Last updated:** [July 30, 2025, 11:16am UTC](https://forums.balena.io/t/balena-preload-breaks-when-using-config/374527 "2025-07-30T11:16:03Z")

</div>

Hello, I initially opened a bug on github (see here balena preload breaks when using --config · Issue #2960 · balena-io/balena-cli · GitHub) but while waiting for a response i started thinking I may not be using the too…

---

## [Combining "balena os configure" arguments](https://forums.balena.io/t/combining-balena-os-configure-arguments/374451)

<div class="topic-metadata">

**Author:** [@bartvanderhoeven12](https://forums.balena.io/u/bartvanderhoeven12)\
**Replies:** 2\
**Last updated:** [June 20, 2025, 8:10am UTC](https://forums.balena.io/t/combining-balena-os-configure-arguments/374451 "2025-06-20T08:10:18Z")

</div>

Hi, I’m flashing Raspberry Pi CM4s with balena OS. I have it setup such that the device is first registered in balenaCloud. I take the device UUID (used for later reference in our db) and then use the same UUID to flash…

---

## [I cannot detect my device in development mode](https://forums.balena.io/t/i-cannot-detect-my-device-in-development-mode/373886)

<div class="topic-metadata">

**Author:** [@Tl\_Thomas](https://forums.balena.io/u/Tl_Thomas)\
**Replies:** 8\
**Last updated:** [April 1, 2025, 12:44am UTC](https://forums.balena.io/t/i-cannot-detect-my-device-in-development-mode/373886 "2025-04-01T00:44:51Z")

</div>

Hello, I’m currently using Balena CLI 21.1.0 on my Windows machine and have successfully flashed a Raspberry Pi Zero 2W device. The device is in development mode, with the following details: Host OS version: balenaOS…

---

## [revpi-connect-4 manifest unknown](https://forums.balena.io/t/revpi-connect-4-manifest-unknown/372249)

<div class="topic-metadata">

**Author:** [@mhee](https://forums.balena.io/u/mhee)\
**Replies:** 1\
**Last updated:** [October 11, 2024, 12:59am UTC](https://forums.balena.io/t/revpi-connect-4-manifest-unknown/372249 "2024-10-11T00:59:47Z")

</div>

Hello, i want to push the masterclass example image with “hello world” webserver. The push is not done because the manifest is unknown, how can i solve it?

---

## [Balena CLI in docker container - unable to download from github](https://forums.balena.io/t/balena-cli-in-docker-container-unable-to-download-from-github/371102)

<div class="topic-metadata">

**Author:** [@jkridner](https://forums.balena.io/u/jkridner)\
**Replies:** 1\
**Last updated:** [August 14, 2024, 1:31pm UTC](https://forums.balena.io/t/balena-cli-in-docker-container-unable-to-download-from-github/371102 "2024-08-14T13:31:39Z")

</div>

Given github authentication for downloading the CLI image, what is the best way for me to download the CLI release inside a docker container for operations in CI? Seems I’ll need to host it online somewhere myself?

---

## [Unable to create preload image](https://forums.balena.io/t/unable-to-create-preload-image/371013)

<div class="topic-metadata">

**Author:** [@ShadowBroker](https://forums.balena.io/u/ShadowBroker)\
**Replies:** 1\
**Last updated:** [August 2, 2024, 7:33am UTC](https://forums.balena.io/t/unable-to-create-preload-image/371013 "2024-08-02T07:33:09Z")

</div>

Hello, We use Balena in an enterprise environment. After successful deployment of our new release I have been tasked to create a preload Balena image with our latest release. But I have attempted multiple times on fre…

---

## [Programatically get release commit from \`balena deploy\`](https://forums.balena.io/t/programatically-get-release-commit-from-balena-deploy/371039)

<div class="topic-metadata">

**Author:** [@mgl-6rs](https://forums.balena.io/u/mgl-6rs)\
**Replies:** 0\
**Last updated:** [July 31, 2024, 8:01pm UTC](https://forums.balena.io/t/programatically-get-release-commit-from-balena-deploy/371039 "2024-07-31T20:01:47Z")

</div>

I’m trying to do some scripting around balena deploy, and I’d like to be able to get the commit hash of the newly created commit. Is there any option better than teeing its output and grepping the resulting logfile?

---

## [Balena Push using UUID](https://forums.balena.io/t/balena-push-using-uuid/370762)

<div class="topic-metadata">

**Author:** [@balenauser](https://forums.balena.io/u/balenauser)\
**Replies:** 0\
**Last updated:** [June 22, 2024, 12:12pm UTC](https://forums.balena.io/t/balena-push-using-uuid/370762 "2024-06-22T12:12:51Z")

</div>

Does balena push work with the device UUID? The description here suggests you can: balena CLI Documentation - Balena Documentation. However, when I do that, I get an error: balena push 8f4d6a2.local --system ENOTFOUND…

---

## [Permissions required by balena-cli in macOS](https://forums.balena.io/t/permissions-required-by-balena-cli-in-macos/370695)

<div class="topic-metadata">

**Author:** [@pablo.burgos](https://forums.balena.io/u/pablo.burgos)\
**Replies:** 3\
**Last updated:** [June 12, 2024, 12:35pm UTC](https://forums.balena.io/t/permissions-required-by-balena-cli-in-macos/370695 "2024-06-12T12:35:30Z")

</div>

Hello, We are having problems finding exactly which permissions some of our technicians are missing in their computers. When executing balena login, they get the following error: Running with sudo works but we woul…

---

## [Balena-cli v18.2.4 Release Missing](https://forums.balena.io/t/balena-cli-v18-2-4-release-missing/370704)

<div class="topic-metadata">

**Author:** [@WestCoastDaz](https://forums.balena.io/u/WestCoastDaz)\
**Replies:** 1\
**Last updated:** [June 11, 2024, 8:56pm UTC](https://forums.balena.io/t/balena-cli-v18-2-4-release-missing/370704 "2024-06-11T20:56:25Z")

</div>

Hi Balena team, I’m currently running galena-cli v18.2.2 and it keeps saying there is a new release v18.2.4 but that version isn’t listed in the GitHub Releases area. Is there a new version? Thanks,

---

## [Can't update Balena CLI](https://forums.balena.io/t/cant-update-balena-cli/370235)

<div class="topic-metadata">

**Author:** [@Wayne](https://forums.balena.io/u/Wayne)\
**Replies:** 2\
**Last updated:** [April 12, 2024, 7:20am UTC](https://forums.balena.io/t/cant-update-balena-cli/370235 "2024-04-12T07:20:00Z")

</div>

Hey folks, I’ve ben real lazy and haven’t updated Balena cli for some time, What I used to do in the past is just download the latest zip, so in my case I have downloaded balena-cli-v18.1.5-linux-x64-standalone.zip Now…

---

## [balena preload fails with "unknown filesystem type 'vfat'" error](https://forums.balena.io/t/balena-preload-fails-with-unknown-filesystem-type-vfat-error/369769)

<div class="topic-metadata">

**Author:** [@Verigo\_Tommy](https://forums.balena.io/u/Verigo_Tommy)\
**Replies:** 3\
**Last updated:** [January 30, 2024, 9:28pm UTC](https://forums.balena.io/t/balena-preload-fails-with-unknown-filesystem-type-vfat-error/369769 "2024-01-30T21:28:13Z")

</div>

I’m trying to preload a BalenaOS image (downloaded from https://www.balena.io/os#download-os) on my Intel Mac. It’s been a while since I’ve done this, so I had to update my balena-cli and delete/recreate the preload imag…

---

## [Local deployment stuck in balena cli version v17.4.11](https://forums.balena.io/t/local-deployment-stuck-in-balena-cli-version-v17-4-11/369720)

<div class="topic-metadata">

**Author:** [@Perzade](https://forums.balena.io/u/Perzade)\
**Replies:** 6\
**Last updated:** [January 25, 2024, 3:14pm UTC](https://forums.balena.io/t/local-deployment-stuck-in-balena-cli-version-v17-4-11/369720 "2024-01-25T15:14:07Z")

</div>

I recently updated cli to version 17.4.9 and observed local deployment for my project got stuck in the build stage without showing any errors. I upgraded to the latest version v17.4.11 and got the same issue. I randomly …

---

## [How to Remove Balena-cli](https://forums.balena.io/t/how-to-remove-balena-cli/366680)

<div class="topic-metadata">

**Author:** [@lstocky](https://forums.balena.io/u/lstocky)\
**Replies:** 1\
**Last updated:** [December 28, 2023, 12:11pm UTC](https://forums.balena.io/t/how-to-remove-balena-cli/366680 "2023-12-28T12:11:41Z")

</div>

I’m doing some housekeeping on my Mac and was wondering, how do I remove balena-cli? I see an ‘uninstall’ executable in /usr/local/lib/balena-cli/bin - do I just run that? Thanks.

---

## [balena push builds failing to pull previous images](https://forums.balena.io/t/balena-push-builds-failing-to-pull-previous-images/369517)

<div class="topic-metadata">

**Author:** [@trey](https://forums.balena.io/u/trey)\
**Replies:** 5\
**Last updated:** [December 15, 2023, 3:32pm UTC](https://forums.balena.io/t/balena-push-builds-failing-to-pull-previous-images/369517 "2023-12-15T15:32:33Z")

</div>

We build for two different devices and the ARM device build is working fine. However our AMD device builds have been stuck on the downloading previous images step for hours (normally takes \<5 minutes). We don’t expect an…

---

## [OpenBalena deploy to a specific device with ID](https://forums.balena.io/t/openbalena-deploy-to-a-specific-device-with-id/369464)

<div class="topic-metadata">

**Author:** [@choln](https://forums.balena.io/u/choln)\
**Replies:** 2\
**Last updated:** [December 11, 2023, 12:38pm UTC](https://forums.balena.io/t/openbalena-deploy-to-a-specific-device-with-id/369464 "2023-12-11T12:38:50Z")

</div>

Is it possible to deploy to a specific device on OpenBalena? This is for a use case where a specific client asks for a feature to be made availalble for them. However, we wouldn’t want the feature in all other devices. I…

---

## [Balena CLI with Jenkisn: server error - invalid reference format](https://forums.balena.io/t/balena-cli-with-jenkisn-server-error-invalid-reference-format/369432)

<div class="topic-metadata">

**Author:** [@antoineschmider](https://forums.balena.io/u/antoineschmider)\
**Replies:** 1\
**Last updated:** [December 5, 2023, 3:30pm UTC](https://forums.balena.io/t/balena-cli-with-jenkisn-server-error-invalid-reference-format/369432 "2023-12-05T15:30:32Z")

</div>

Hello, I am trying to integrate balena-cli in our Jenkins pipeline to automatically build and deploy on different fleets. As the deploying phase is optional, I am using build and deploy over push. I used a Jenkins node…

---

## [API goes in econnreset](https://forums.balena.io/t/api-goes-in-econnreset/200094)

<div class="topic-metadata">

**Author:** [@matteopeluso](https://forums.balena.io/u/matteopeluso)\
**Replies:** 6\
**Last updated:** [November 2, 2023, 4:06pm UTC](https://forums.balena.io/t/api-goes-in-econnreset/200094 "2023-11-02T16:06:54Z")

</div>

Hi, suddenly all my balena-cli commands stopped working and are giving me this error: balena login CONNRESET: request to https://api.domain.org/login\_ failed, reason: socket hang up balena device uuid --debug \[debug\]…

---

## [Add Existing (wiped) Device to fleet](https://forums.balena.io/t/add-existing-wiped-device-to-fleet/366248)

<div class="topic-metadata">

**Author:** [@theeruditefrog](https://forums.balena.io/u/theeruditefrog)\
**Replies:** 10\
**Last updated:** [July 26, 2023, 1:30pm UTC](https://forums.balena.io/t/add-existing-wiped-device-to-fleet/366248 "2023-07-26T13:30:14Z")

</div>

I wiped a Balena device and it removed it from the Fleet, but I still see it on my local network. It’s showing the Balena logo so I assume Balena OS is running. Can I use the CLI to somehow re-link the Device to my Fle…

---

## [balena login fails after new server setup, getting BalenaRequestError](https://forums.balena.io/t/balena-login-fails-after-new-server-setup-getting-balenarequesterror/369161)

<div class="topic-metadata">

**Author:** [@khoran](https://forums.balena.io/u/khoran)\
**Replies:** 1\
**Last updated:** [October 18, 2023, 6:51pm UTC](https://forums.balena.io/t/balena-login-fails-after-new-server-setup-getting-balenarequesterror/369161 "2023-10-18T18:51:17Z")

</div>

When I try to do ‘balena login’ I get: $ balena login --credentials --email xx@xxxx.org --password xxxxx --debug …

---

## [Piping to balena ssh is broken](https://forums.balena.io/t/piping-to-balena-ssh-is-broken/369067)

<div class="topic-metadata">

**Author:** [@sith](https://forums.balena.io/u/sith)\
**Replies:** 2\
**Last updated:** [October 5, 2023, 1:04pm UTC](https://forums.balena.io/t/piping-to-balena-ssh-is-broken/369067 "2023-10-05T13:04:31Z")

</div>

It appears that balena ssh no longer properly accepts piped input (as of version 17). The examples in balena ssh --help still show this as being an option, but it does not function this way anymore. Instead, piped in cha…

---

## [Copy failed in simple build project](https://forums.balena.io/t/copy-failed-in-simple-build-project/368947)

<div class="topic-metadata">

**Author:** [@fherder](https://forums.balena.io/u/fherder)\
**Replies:** 3\
**Last updated:** [September 27, 2023, 5:24pm UTC](https://forums.balena.io/t/copy-failed-in-simple-build-project/368947 "2023-09-27T17:24:16Z")

</div>

Hey all, I’m trying to use balena build to build a project. My use case is that I need to make local edits to the container before it’s pushed/deployed to balena cloud. I had some issues creating a working container base…

---

## [Adding release notes when releasing using balena cli from CI pipeline](https://forums.balena.io/t/adding-release-notes-when-releasing-using-balena-cli-from-ci-pipeline/368814)

<div class="topic-metadata">

**Author:** [@wikcy\_waka](https://forums.balena.io/u/wikcy_waka)\
**Replies:** 1\
**Last updated:** [August 25, 2023, 6:59pm UTC](https://forums.balena.io/t/adding-release-notes-when-releasing-using-balena-cli-from-ci-pipeline/368814 "2023-08-25T18:59:59Z")

</div>

I see balena note command in balena-cli to add notes to devices. Is there such a way to add notes to releases?

[Next page](https://forums.balena.io/tag/balena-cli/119.md?match_all_tags=true&page=1&tags%5B%5D=balena-cli)
