Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watchdog? "If Chromium isn't running, reboot?" #41

Open
andiohn opened this issue Oct 4, 2024 · 4 comments
Open

Watchdog? "If Chromium isn't running, reboot?" #41

andiohn opened this issue Oct 4, 2024 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@andiohn
Copy link

andiohn commented Oct 4, 2024

I've had the system boot up before I arrive at work and when I do, it's on the desktop. So, I assume that the TV was off and chrome didn't start? I'm not sure where to look for that.

A simple 'if this isn't running start it' or 'if this isn't running, reboot'

@andiohn
Copy link
Author

andiohn commented Oct 4, 2024

Ya, that would be big to help it be more resiliant. An even better thing would be to use docker containers for each part, but that sounds like massive rewrite.

It could be possible that this could be a really good barebones digital signage platform that uses normal, existing tech so that it possibly doesn't even need to be maintained, just enhanced over time.

@andiohn
Copy link
Author

andiohn commented Oct 4, 2024

This option is interesting, it basically just checks to see if a program is running, and if it isn't, it launches it. We could have this wait like every 15 minutes and then check.

https://stackoverflow.com/questions/19284919/how-to-test-if-a-process-exists-in-bash

@debloper
Copy link
Owner

debloper commented Oct 7, 2024

If it's related to #32 (please confirm), then I think it's more important to discover why is that happening.

As a coverup/hotfix a lot can be done, including a scheduled reboot each 6hrs or something (and feel free to do so, if you so prefer). But I'd rather discover and kill the issue at its root.

@debloper debloper added bug Something isn't working help wanted Extra attention is needed question Further information is requested labels Oct 7, 2024
@andiohn
Copy link
Author

andiohn commented Oct 29, 2024

Ya, this is needed because we can't really anticipate all possible memory leaks or issues that it'll run into. Also, if there was a way to send a notification, we could keep a log but that might not be possible.

I have to get the remote people to reboot it and we know that we'll get corruption that way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants