So, I’m building out 7 Pi 4 (2G), 16GB SD. I created an application on my dashboard and added one of the Pi 4s. This Pi has a screen attached as I’d like to see the UI. Then downloaded the OS, imaged the SD, etc. and booted the Pi. I cloned rosetta-at-home from GitHub, installed the CLI tools, logged in to balena with the CLI, switched to my local git directory where I have rosetta-at-home and pushed it out to my device. Push came back successful. I enabled public URL and restarted for good measure. However, I’m getting errors (see below) and it looks like the services are actually starting. I also tried to SSH into BOINC to see if I could enable the UI and that errors. Trying to hit the public URL also give the “tunneling socket could not be established: 500” error.
What am I doing wrong?
19.04.20 21:11:43 (-0700) Restarting service 'boinc-client sha256:***
19.04.20 21:10:41 (-0700) boinc-client /usr/app/start.sh: line 17: syntax error: unexpected end of file
19.04.20 21:11:43 (-0700) boinc-client /usr/app/start.sh: line 17: syntax error: unexpected end of file
19.04.20 21:11:43 (-0700) Restarting service 'ui sha256:***
19.04.20 21:10:41 (-0700) ui /usr/bin/entry.sh: /usr/app/start.sh: /bin/bash^M: bad interpreter: No such file or directory
19.04.20 21:10:41 (-0700) ui /usr/bin/entry.sh: line 59: /usr/app/start.sh: Success
19.04.20 21:11:43 (-0700) ui /usr/bin/entry.sh: /usr/app/start.sh: /bin/bash^M: bad interpreter: No such file or directory
19.04.20 21:11:43 (-0700) ui /usr/bin/entry.sh: line 59: /usr/app/start.sh: Success
19.04.20 21:11:44 (-0700) Service exited 'boinc-client sha256:***
19.04.20 21:11:44 (-0700) Service exited 'ui sha256:***
19.04.20 21:12:45 (-0700) Restarting service 'boinc-client sha256:***
19.04.20 21:11:43 (-0700) boinc-client /usr/app/start.sh: line 17: syntax error: unexpected end of file
19.04.20 21:12:45 (-0700) boinc-client /usr/app/start.sh: line 17: syntax error: unexpected end of file
19.04.20 21:12:45 (-0700) Restarting service ‘ui sha256:17efb27881c073743bd618170b461510e61cfda12b14c382e7b7edacc15a2bd1’
19.04.20 21:11:43 (-0700) ui /usr/bin/entry.sh: /usr/app/start.sh: /bin/bash^M: bad interpreter: No such file or directory
19.04.20 21:11:43 (-0700) ui /usr/bin/entry.sh: line 59: /usr/app/start.sh: Success
19.04.20 21:12:45 (-0700) ui /usr/bin/entry.sh: /usr/app/start.sh: /bin/bash^M: bad interpreter: No such file or directory
19.04.20 21:12:45 (-0700) ui /usr/bin/entry.sh: line 59: /usr/app/start.sh: Success
19.04.20 21:12:46 (-0700) Service exited 'boinc-client sha256:***
19.04.20 21:12:46 (-0700) Service exited 'ui sha256:***
19.04.20 21:13:47 (-0700) Restarting service 'boinc-client sha256:***
19.04.20 21:12:45 (-0700) boinc-client /usr/app/start.sh: line 17: syntax error: unexpected end of file
19.04.20 21:13:47 (-0700) boinc-client /usr/app/start.sh: line 17: syntax error: unexpected end of file
19.04.20 21:13:47 (-0700) Restarting service 'ui sha256:
19.04.20 21:12:45 (-0700) ui /usr/bin/entry.sh: /usr/app/start.sh: /bin/bash^M: bad interpreter: No such file or directory
19.04.20 21:12:45 (-0700) ui /usr/bin/entry.sh: line 59: /usr/app/start.sh: Success
19.04.20 21:13:47 (-0700) ui /usr/bin/entry.sh: /usr/app/start.sh: /bin/bash^M: bad interpreter: No such file or directory
19.04.20 21:13:47 (-0700) ui /usr/bin/entry.sh: line 59: /usr/app/start.sh: Success
19.04.20 21:13:48 (-0700) Service exited 'boinc-client sha256:***
19.04.20 21:13:48 (-0700) Service exited 'ui sha256:***