balena-dash icon indicating copy to clipboard operation
balena-dash copied to clipboard

Issue where photos do not load automatically

Open MathewHD opened this issue 5 years ago • 4 comments

First off thank you for a great and fun balena project I've enjoyed playing with it over the last few days. I am having a bit of an issue though.

Setup: Raspberry pi 3 B+ 64gb micro sd Official Raspberry pi 7" touchscreen display

I am using the latest code off the master branch, no modifications except line break adjustments because I am on windows.

I specified a GALLERY_URL for google photos album and when I visit http://<PIURL>:8888 from my browser I see the correct photos.

However WPE is displaying a balena logo and so is my pi.

I can visit http://<PIURL>:8080 and manually specify http://photos:8888 and it does work as intended.

I believe there's an issue with https://github.com/balena-io-projects/balena-dash/blob/master/wpe/public_html/index.html. I am not a developer and js looks confusing to me so I can't be sure.

Please let me know what I am doing wrong.

MathewHD avatar Aug 08 '19 13:08 MathewHD

Hello @MathewHD,

Thank you for pointing this issue out. Could you test one thing for me before I dig into the code?

When all containers are up and running, but only showing the balena logo on the screen. Can you go to the dashboard and restart just the WPE contaner, and let me know if this fixes the issue.

If that is the case, I have an idea on how to fix it.

Thank you

dansku avatar Aug 08 '19 14:08 dansku

Restarting the WPE container seems to fix it.

MathewHD avatar Aug 08 '19 15:08 MathewHD

@MathewHD great then, I will try working on a solution for this then. Thank you for pointing it out!

dansku avatar Aug 08 '19 15:08 dansku

Hey @MathewHD, the balena logo that shows in the screen is a small rotating image or it is a big green one? Thanks

dansku avatar Aug 09 '19 14:08 dansku