Anthias icon indicating copy to clipboard operation
Anthias copied to clipboard

Failed reboot

Open fbsanches opened this issue 2 years ago • 2 comments

Reboot sometimes fails. Sometimes it reboots and sometimes it doesn't. I see in the celery logs that the command is received but not rebooted. Add sudo to the reboot class command line to test but it still doesn't work. Does anyone have any ideas to get around this and do a direct reboot from the host.

fbsanches avatar Jul 28 '22 16:07 fbsanches

I don't know if this helps, but the difficulty is sending the command from inside the container to the host?

Something like: Docker - Rebooting raspberry pi host from within docker container

fbsanches avatar Jul 28 '22 17:07 fbsanches

Hi @fbsanches

Rebooting the host Pi from the web GUI is currently not supported since the containers should not be sending commands outside of themselves for security purposes, only where really necessary. One of the main points of the containers is to isolate them from the host and contain them so that if anything crashes you can simply restart the container itself and not the whole Pi. To restart the whole Pi device, simply SSH into it and run sudo reboot.

ealmonte32 avatar Nov 23 '22 04:11 ealmonte32