Open LucianBuzzo opened 3 years ago
I get this error as well. Did you figure out a solution?
I was too excited to get going with my ender3 so I didn't investigate further. I switched to https://github.com/balenalabs-incubator/balena-octoprint which this project is forked from and that worked fine. It's possible that I have an environment variable missing or set incorrectly.
I believe the issue might be caused by this commit: https://github.com/MatthewCroughan/octobalena/commit/1dc9de81709b9496d7343d2656fb53cadb8daa5f
https://github.com/MatthewCroughan/octobalena/blob/13b5675668317ce758e67dde7b7a2ec01d7cd07d/octoprint/Dockerfile.template#L1
Being based on an alpine
image, the shebang should be #/bin/sh
instead of #/bin/bash
. This won't break on the Raspberry Pi 3 because there is a seperate Dockerfile for it, based on debian
:
https://github.com/MatthewCroughan/octobalena/blob/13b5675668317ce758e67dde7b7a2ec01d7cd07d/octoprint/Dockerfile.raspberrypi3#L1
Which raises the question: why is there a seperate dockerfile specific to the Raspberry Pi 3?
I deployed this application to a balenaFin, and the app crashlooped with the following error:
This was on balenaOS 2.58.3+rev1 with supervisor version 11.14.0