Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flash: line 6: /usr/local/bin/particle: No such file or directory #629

Open
omphteliba opened this issue Dec 30, 2024 · 0 comments
Open

Comments

@omphteliba
Copy link

When running
brewblox-ctl flash
right after flashing the firmware, particle can't be found.

pi@brewblox:~/brewblox$ brewblox-ctl flash
INFO Flashing Spark 2 already in DFU mode...
edge: Pulling from brewblox/brewblox-firmware-flasher
Digest: sha256:157a525006d9d15f77bf0be4068899331b1a67f3b64b12f95fd7a15168a58d0e
Status: Image is up to date for ghcr.io/brewblox/brewblox-firmware-flasher:edge
Flashing Photon...
Flashing System 1 file...
:::: NOTICE:
:::: Your first flash may take up to 10m to complete - during
:::: this time, your device may regularly change LED states
:::: as Device OS upgrades are applied.
Flashing photon device 21001c000747353138383138
[█████████████████████████] 100% | Flash success!
Flashing System 2 file...
Flashing photon device 21001c000747353138383138
[█████████████████████████] 100% | Flash success!
Flashing Firmware file...
flash: line 6: /usr/local/bin/particle: No such file or directory
ERROR CalledProcessError(Command 'docker run -it --rm --privileged -v /dev:/dev --pull always ghcr.io/brewblox/brewblox-firmware-flasher:edge flash' returned non-zero exit status 127.)
ERROR

I am running brewblox on a 32bit Raspberry Pi OS Lite on a Raspberry Pi 4.

I guess the problem is that the wrong 'particle' tool is getting installed, as I have the same problem, when I try to install the particle tools on the same Raspberry Pi. Furthermore, I took a look into the "install-cli", and the script tries to install the 64bit version of particle on a 32bit OS. When I force it to get the 32bit version, everything works.

I can't find where the particle tool gets installed, so I need your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant