balena-io-modules / balena-preload

Script for preloading containers onto balena device images
https://www.balena.io/
Apache License 2.0
35 stars 8 forks source link

losetup: /img/balena.img: failed to set up loop device: No such file or directory #207

Closed jkearse3 closed 1 year ago

jkearse3 commented 5 years ago

While running the balena-cli command balena preload <img-filepath> -a <app-name> --commit <commit-hash> I get the following error:

RAN: /sbin/losetup -f --show --offset 4194304 --sizelimit 41943040 /img/balena.img STDOUT: STDERR: losetup: /img/balena.img: failed to set up loop device: No such file or directory

Anyone know what I could be doing wrong? I SSH'd into the docker but couldn't find any sign of a .img file or a /img directory as well.