I have run Screenly Ose on Balena succesfully earlier. Now I upgraded to release 61cb3e6. Upgrading went well and all assets ( web pages, jpg images, videos and youtube videos) are running correctly but one asset ( https://yle.idid.fi ) is showing white page and log shows this unable to get git branch and latest version from github
Then I flashed only screenly ose to memorycard and that page is working on in correctly on that but not with balena.
First with github as upgrade as I had old release in balena where everything worked but when that problem came I made new application where I used hub.balena and then upgraded it because it was a breeze. Same proble with github, hub.balena breeze and upgrade of hub.balena.
It works without balena, but I have other Pi’s in balena so it would be good to have all in same place.
Could you please give more details on what device are you using, and the installation workflow? where do you get the name of the release 61cb3e6? Thanks!
From https://hub.balena.io/ I deployd with balena.
Then added device raspberry pi 3 ( I have raspberry pi3+B)
I flashed it with etcher. Put the card into Pi then it is ready but not working with that one https page.
Then I dowloaded zip file from github/screenly ose
With gitbash software I login to balena ( balena login)
from the unzipped folder location with command: balena push [appname]
Then I get unicorn and info that it build succesfully.
Then in the balena I notice that it has now release
But that one page is not working…all other pages etc works
Thanks for the patience here. We’re curious about this issue and are taking a closer look. I actually replicated your same issue with a Raspberry Pi 4 and encountered the same white screens. Still investigating!
Just in case we can get a quicker answer at what might be going on with this recent Screenly release (61cb3e6), let’s cc @vpetersson (the Screenly maintainer). Any ideas here?
Just to confirm, @jaakkoo: when you say that everything works without balena, is that with the latest Screenly release? We just want to make sure we have all our info in place as we investigate. Thanks ahead!
I spoke briefly to Viktor from Screenly and he said that he would try and take a look at this when he gets a chance. There has been a lot of updates recently to the inner workings of Screenly OSE so it is possible this could have introduced some bugs. It is interesting that it works on some web pages but not others though.
From what I can tell the GitHub errors are coming from these lines of code:
It seems that it is trying to get a viewer update from GitHub and failing. However, I am not sure that is the root cause of the issue with the web page not displaying and that might be something different altogether.
Do you get any other error messages in the command line at all? Or these are the only ones?
Thanks
P.S. the issue is also being discussed here in a GitHub Issue on the Screenly OSE page:
No, I don’t see any another error messages. It seems to work although…only that white page…I noticed that if I restart pi then it tries to open that page, it shows one second that page and then white page.
I noticed also now that if Google slides webpages contains object animation (fading, distancing, zoom in/out etc.) are not showing properly. 10 second slide is showing 5 seconds and then 5 second white page. But if slide is still slide it is ok then. This is something to do with object animation…as in my original webpage yle.idi.fi contains news with object animation. Problems with rendering pages…Is this helpful to find root cause.
I have reproduced this. Looking at yle.idid.fi, I think it is far too heavy on the JavaScript for the Pi to handle. Try removing all/most of the animations and see if that makes it work.
With regards to installing Screenly OSE on Balena, the recommended way is outlined here. This is a workaround as it’s not possible to pass on the necessary variable using the git push balena master method. The script referenced in the documentation solves that.
Btw, just for the record. The reason why you’re getting Unable to get latest version from GitHub and Unable to get Git branch is because the environment variables are not set (these are set by the script mentioned).
After you do that can you run your device and if the screen is still white SSH to the hostOS and run top to see what the memory/cpu usage is and report that back.