Balena-Dash Pi4-b issue

HI Everyone,

I deployed the dash normal everything installs no issue.

WPE_URL is just google.com as a test it says in the WPE logs.

16.01.20 11:42:36 (-0500) wpe Connecting to localhost:8080 (127.0.0.1:8080)
16.01.20 11:42:36 (-0500) wpe 2020/01/16 16:42:36 Launch page with desiredURL = ‘https://www.google.com’. Slack: false
16.01.20 11:42:36 (-0500) wpe 2020/01/16 16:42:36 Redirecting to home page
16.01.20 11:42:36 (-0500) wpe 2020/01/16 16:42:36 Running ‘cog https://www.google.com
16.01.20 11:42:36 (-0500) wpe 2020/01/16 16:42:36 Responded with home page
index.html 100% |********************************| 2090 0:00:00 ETA

nothing shows on the screen at all no failed message just the balena logo.

is this because its a 4b model not just a 4?

got this log which makes no sense?

16.01.20 11:51:29 (-0500) wpe 2020/01/16 16:51:29 Responded with home page
16.01.20 11:51:29 (-0500) wpe wget: can’t open ‘index.html’: File exists

Also redeployed same error im going to use openbox instead to have a dashboard.

Hi,
Just to be sure - did you add the env variables mentioned in the configuration section https://github.com/balenalabs/balena-wpe#configuration ?

Hello, I have the same problem:

Raspberry Pi 4 using BalenaDash
Its only showing the balena logo, not the WPE_URL
Also if you try to change it via Tohora, it will still show the balena logo.
I am not getting any error messages.

Do you know how to fix this?

Hi @rquant – can you let us know if you set the environment variables mentioned in the configuration section for the project? They’re detailed at https://github.com/balenalabs/balena-wpe#configuration. If you have set these variables already, can you let us know what you set them to, and how much RAM your Raspberry Pi 4 has?

All the best,
Hugh

Yes, everything set it also shows in console.
RPI 4 with 4 GB RAM.

I have read another thread here just now.

" Regarding running the project on the Pi 4, currently the issue is that the balena-wpe project can’t run on Pi4 because the graphics drivers changed and the project needs to be recompiled against the new ones. Unfortunately this is not a simple task, we do plan on tackling this though we don’t have a set date for it yet. You can track the progress on this GitHub issue."

and tried to use this Bitbucket in the Dockerfile FROM danielboe/balena-wpe in wpe, but does not work.

Hi @rquant

Since you are using a RPi 4, you won’t be running WPE, you’ll be running Chromium. If you look at the balenaDash repository, you’ll notice that there are three docker files in the Kiosk service (this is the one that runs the browser), and one is specifically for the RPi 4:
https://github.com/balenalabs/balena-dash/tree/master/kiosk

This dockerfile is using Chromium instead of WPE, to allow balenaDash to use the extra horsepower of the RPi 4 and support more sites.

Therefore, the WPE_URL will not be working, because your device isn’t running WPE. Instead set a device environment variable LAUNCH_URL to the site you wish to view on your Dash.

Or, if it helps, you click this link and deploy the code straight to your account with all the environment variables pre-set for you (click Advanced and you’ll see what will be set).

HTH,
Phil