balena-io / balena-cli

The official balena CLI tool.
Apache License 2.0
454 stars 139 forks source link

Os configure throws `IO: Input/output error` if you apply the command more that one time on the same image. #2220

Open mbalamat opened 3 years ago

mbalamat commented 3 years ago

Steps to reproduce

[~/tmp/test]$ balena -v -a
balena-cli version "12.41.1"
Node.js version "12.20.0"
[master][~/tmp/test]$ balena os download raspberrypi3 -o my.img
Getting device operating system for raspberrypi3
OS version not specified: using latest stable version
The image was downloaded successfully

[master][~/tmp/test]$ balena os configure my.img -a pi3cli
? Network Connection wifi
? Wifi SSID asdf
? Wifi Passphrase [hidden]
Configuring operating system image

[master][~/tmp/test]$ balena os configure my.img -a pi3cli
? Network Connection ethernet
Configuring operating system image
IO: Input/output error

Additional information may be available with the `--debug` flag.

For further help or support, visit:
https://www.balena.io/docs/reference/balena-cli/#support-faq-and-troubleshooting

[master][~/tmp/test]$ balena os configure my.img -a pi3cli
? Network Connection wifi
? Wifi SSID rewq
? Wifi Passphrase [hidden]
Configuring operating system image
IO: Input/output error
aessig commented 1 year ago

@mbalamat Do you have some updates on this point?

jellyfish-bot commented 1 year ago

[fisehara] This has attached https://jel.ly.fish/bc8978c2-f3de-48a2-941e-8bcc5b4368a9