BalenaDash 30 min photo frame example steps completed but WPE_URL website not displaying

I was excited to try your web frame in 30 minutes example. Over a couple hours tinkering this weekend I managed to finish all the steps. However, my pi never manages to show any of the web pages - It always just shows the balenaOS startup.

I saw a couple other forum posts that seems a bit similar, but no resolution there yet so I figured I’d post my slightly different symptoms:

  1. the log shows one entry that doesn’t seem good, but not sure what it means … standard_init_linux.go:195: exec user process caused “no such file or directory”
  2. I did set the gpu mem to 396
  3. I did set a device environment variable, WPE_URL, to a link … I tried several to no avail
  4. using a rpi 3+ with a 2.4A supply

Any thoughts?

Hey @beepbeep,

Can you confirm that your balenaCloud application device-type is set to raspberrypi3 and that you downloaded the image for Raspberry Pi 3?

Thanks

Hello dansku,
I appreciate the speedy reply. I have looked around a bit trying to find where to confirm what device-type is set to, but I’m not seeing it. Do you mind pointing me in the right direction?

I can confirm I did download the image for Raspberry Pi 3.

Thanks!

Hey @beepbeep,

On the balenaCloud dashboard, does it show your device as online?
Could you paste the log that shows on the terminal when you do the balena push balenaDash?

Thank you

Oh sure! No problem. Yes it is online. Here is the log after sending balena push:

15.01.19 19:21:08 (-0800) Service exited ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:22:09 (-0800) Restarting service ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:22:09 (-0800) Service exited ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:23:10 (-0800) Restarting service ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:23:10 (-0800) Service exited ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:12 (-0800) Restarting service ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:12 (-0800) Service exited ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:30 (-0800) Killing service ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:30 (-0800) Killed service ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:31 (-0800) Installing service ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:31 (-0800) Installed service ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:31 (-0800) Starting service ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:33 (-0800) Service exited ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:32 (-0800) standard_init_linux.go:195: exec user process caused “no such file or directory”
15.01.19 19:24:34 (-0800) Started service ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:35 (-0800) Restarting service ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:35 (-0800) Service exited ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:36 (-0800) standard_init_linux.go:195: exec user process caused “no such file or directory”
15.01.19 19:24:37 (-0800) Service exited ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:37 (-0800) Restarting service ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:38 (-0800) standard_init_linux.go:195: exec user process caused “no such file or directory”
15.01.19 19:24:39 (-0800) Service exited ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:41 (-0800) Service exited ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:41 (-0800) Restarting service ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:44 (-0800) Service exited ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:44 (-0800) Restarting service ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:49 (-0800) Service exited ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:57 (-0800) Restarting service ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:24:57 (-0800) Service exited ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:25:11 (-0800) Restarting service ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’
15.01.19 19:25:11 (-0800) Service exited ‘main sha256:191efe95ab48ca213d010e30198ec8557e4bf90f1a437838c678b6d505b33ce5’

@beepbeep

It is definitely something going wrong there. Could I ask you to try to download the image again and re-flash the sd card with balenaEcther and download the git repo for the project again and see if that works?

Alternatively, you can send me a private message with the device url and Grant support access.

Cheers

No problem. I downloaded the image again, re-flashed the sd card with balenaEtcher, re-downloaded the git repo, and stepped through the instructions again. Unfortunately the results are the same. The log is filling up with service exited and restarting service statements.

I will send you a PM.

Thanks

So I did grant support access, but I don’t seem to be able to send you a PM. I get an forum error saying “Sorry, you cannot send a personal message to that user.” Is there another method to share the url? Or I wonder if you PM me first I can reply?

@beepbeep we’ve just been having a look at your device here but still haven’t been able to reproduce what you’re seeing on either our own or brand-new hardware. Do you have any other hardware, either another Pi, or another SD card that you could try?

Ah! Understood.

This does happen to be a new Pi, but I haven’t used it for anything else before. Same goes for the touchscreen I’m using for this.

I can swap out the Pi for another one that has been working well for 6 months or so. I can also try a different SD card as well. I will do that tonight and post the result.

Hi,

i have samekind problem. i managed to finish all the steps too. but pi never manages to show any of the web pages.

terminal looks like this:

ethernet problem or something else?

I seem to be having this same issue. I’ve walked through the tutorial on building the BalenaDash numerous times and everything appears to go well. I can see the devices how up in the application and I am able to successfully build and push balena-dash but receive errors when the services attempt to start. I am left with the balenaOS image displaying on the screen.

I have 2 RPI 3s and 1 RPI 2s.

I have attempted to re-image all 3 devices a couple of times but the error persists using the current build of balenaOS and not quite sure where to look to research this further.

03.02.19 09:48:53 (-0600) scheduler /bin/sh: /usr/src/start.sh: not found
03.02.19 09:49:57 (-0600) scheduler /bin/sh: /usr/src/start.sh: not found
03.02.19 09:51:00 (-0600) scheduler /bin/sh: /usr/src/start.sh: not found
03.02.19 09:52:05 (-0600) scheduler /bin/sh: /usr/src/start.sh: not found
03.02.19 09:53:08 (-0600) scheduler /bin/sh: /usr/src/start.sh: not found
03.02.19 09:54:12 (-0600) scheduler /bin/sh: /usr/src/start.sh: not found
03.02.19 09:55:16 (-0600) scheduler /bin/sh: /usr/src/start.sh: not found
03.02.19 09:39:46 (-0600) wpe standard_init_linux.go:195: exec user process caused “no such file or directory”
03.02.19 09:39:56 (-0600) wpe standard_init_linux.go:195: exec user process caused “no such file or directory”
03.02.19 09:40:00 (-0600) wpe standard_init_linux.go:195: exec user process caused “no such file or directory”
03.02.19 09:40:16 (-0600) wpe standard_init_linux.go:195: exec user process caused “no such file or directory”

After a little more troubleshooting I figured out where I went wrong and now able to run the service and see the content.

Hey @nerves73, could you let us know what were you doing wrong?

Thank you

I am having the same issue trying to start balena dash. I am trying it with 2 different SD cards on a pi 3B and pi 3B+. Below are the errors I get.

scheduler /bin/sh: /usr/src/start.sh: not found

wpe standard_init_linux.go:195: exec user process caused “no such file or directory”

Can you explain what the issue was? I am having the same issue.

Ok, I figured it out. My issue was how I was deploying my project. I am on windows and have different line endings. when I called " balena push " it would push the wrong line endings. The correct thing to do from windows is to use git to push to master because the cli does not know better. Git does. These instructions are better for windows users. https://www.balena.io/docs/learn/deploy/deployment/. Once I deployed from git, it all worked. This stack overflow helped me make the realization. https://stackoverflow.com/questions/10418975/how-to-change-line-ending-settings

2 Likes

Hey @ahdata, thanks for sharing your solution.

Cheers

Found another way. I had the same issue. Used git for windows to clone then windows .exe cli to push the project. Error-o-rama

If you goto the git and download .zip and unpack. Then use windows .exe cli to push the project it works.

@duhasst welcome to the forum and thanks for sharing your solution. I will update the blog post to highlight this in the troubleshooting section.