guysoft / FullPageOS

A raspberrypi distro to display a full page browser on boot
GNU General Public License v3.0
3.89k stars 240 forks source link

[feature request] Auto releoad when tab crashes (aw Snap message appears) #579

Closed Bluscream closed 3 months ago

Bluscream commented 4 months ago

What were you doing?

Trying to run a 24/7 dashboard for my HomeAssistant instance

What did you expect to happen?

It just working infinitely

What happened instead?

Crash after some time

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

Aw, snap!

Version of FullPageOS?

blu@dashboard:~ $ cat /etc/fullpageos_version 0.14.0

Screenshot(s) showing the problem:

image

What i already tried:

guysoft commented 3 months ago

There is a system for that.

The code is here: https://github.com/guysoft/FullPageOS/blob/devel/src/modules/fullpageos/filesystem/opt/custompios/scripts/start_chromium_browser#L27

It looks for the words "ERROR" or "FATAL" and refreshes. Can you provide logs of a crash so we can see why it didn't work?

Bluscream commented 3 months ago

I got around this by adding a SSH integration for the dashboard into homeassistant and just issuing ssh reboot commands every 3 hours. I'll get back to this if im ever bothered by that