FullPageOS icon indicating copy to clipboard operation
FullPageOS copied to clipboard

Sometimes blackscreen after boot, no chromium start - has cursor

Open bluecraank opened this issue 2 years ago • 13 comments

What were you doing?

Starting fullpageos on rpi4 4gb

What did you expect to happen?

Chromium starts and shows webpage

What happened instead?

Blackscreen

Was there an error message displayed? What did it say?

No, just blackscreen

Version of FullPageOS?

0.14.0

bluecraank avatar Jan 29 '24 14:01 bluecraank

Is FullPageOS connected to the internet? Because it will not start the browser before an internet connection is detected

guysoft avatar Jan 31 '24 10:01 guysoft

Hello,

i forgot to mention that i have wrote disabled in /boot/check_for_httpd

Its also very random, with and without ethernet connected its happening

We have to restart.. 1 or maybe 2 times and then ist opening... Its feels like the start script is already running, before gui or network services are running

bluecraank avatar Jan 31 '24 10:01 bluecraank

No matter what I try (different pis: 3, 3b+, 4, ethernet, wifi...); I cannot get past the black screen with a cursor. I'm able to SSH and VNC; but nothing else seems to work as expected.

version: 2024-01-12 08:10

Also fullpageos logo fails every time as well.

please help.

thanks

note: 2023-05-12 07:34 seems to work just fine

pauldogg avatar Feb 04 '24 16:02 pauldogg

Ok, you gave an important bit of information - you have a cursor. That means that the GUI is on, but the browser is not starting. That is really likely to be something with the internet.

Lets try to override everything just to see you got that bit right:

Try to replace:

mv /home/pi/scripts/run_onepageos /home/pi/scripts/run_onepageos.bak
echo "#!/bin/bash" >> /home/pi/scripts/run_onepageos
echo "xterm" >> /home/pi/scripts/run_onepageos
chmod 755 /home/pi/scripts/run_onepageos

Then reboot

This should back up the chroium start script. and when you boot you should get an xterm. Its not a browser yet, but at least it means you will not get a totally black screen, and you can try to run commands from there.

Then I would suggest running:

/home/pi/scripts/start_chromium_browser

That should start chromium with the settings. And if it fails you might get an output on the shell so we can understand what is going wrong.

guysoft avatar Feb 04 '24 17:02 guysoft

HI

2023-05-12 07:34 version seems works, but sometimes it is not. :) Ok, so it seems to me, that issue around the network or similar. If the PI builds up the WIFI connections too slow, it is stops with the cursor, so no webpage loading. I think it needs a little delay in startup, so there would be enough time to connect to the WIFI.

How can I add a little start delay? No much experience w Raspberry yet. Thx.

csabal avatar Feb 10 '24 11:02 csabal

Yeah start delay should help but i dont know where the autostart ist of onepageos

Our pis are connected via wired ethernet

bluecraank avatar Feb 10 '24 11:02 bluecraank

I was having this same error so I built my own: https://github.com/chasecee/pi-kiosk-scripts It's not a drop in replacement, only basic functionality, but could be a guide if you were a frustrated individual like me.

chasecee avatar Feb 15 '24 17:02 chasecee

I wonder if we should add a timeout to waiting for internet. so at lease people get something.

guysoft avatar Feb 18 '24 09:02 guysoft

Recommend you try the latest nightly, lots of stuff was fixed. Also working on fixing the user-not-pi bug.

guysoft avatar Feb 24 '24 12:02 guysoft

Hi, sorry for the question. Can you explain how I can update FullpageOS via ssh without having to reflash everything to the SD card? My device is unfortunately 400km away and currently only shows a black page with a mouse pointer.

fladdie avatar Mar 05 '24 20:03 fladdie

@fladdie Please post questions like this in the discussion forum and not in a random issue that some has posted.

In short - you can't there is no remote update flashing in FullPageOS. And I don't have the capacity to design and build such a thing. In general when you build such a system and you want remote updates you need something such as a two-parition system where you can update one and fallback on the other. Something like this: https://sbabic.github.io/swupdate/overview.html#double-copy

guysoft avatar Mar 05 '24 21:03 guysoft

Hey, please try the latest RC that should fix the issue. https://github.com/guysoft/FullPageOS/issues/540

guysoft avatar Apr 07 '24 13:04 guysoft

Closing if no reply, issue should be fixed in 0.14.0 RC1

guysoft avatar Jun 05 '24 13:06 guysoft