How to setup autorestart?

Error: External drive disconnected

The external drive was disconnected while Umbrel was running. This can sometimes happen when using an unofficial Raspberry Pi power supply.

I had this problem actually I don’t know why because power supply is original.

So I have few questions:

  1. Can I setup it to restart automatically in that cases?
  2. Why reset button or shutdown button are not working?
  3. Which logs should I check to know what actually happened?

I have also second instance and it completely stopped working:

This site can’t be reached

But ping is working:

64 bytes from 192.168.21.2: icmp_seq=0 ttl=64 time=30.414 ms
64 bytes from 192.168.21.2: icmp_seq=1 ttl=64 time=1.883 ms
64 bytes from 192.168.21.2: icmp_seq=2 ttl=64 time=12.135 ms
64 bytes from 192.168.21.2: icmp_seq=3 ttl=64 time=19.705 ms
64 bytes from 192.168.21.2: icmp_seq=4 ttl=64 time=9.426 ms

And SSH is not working.

  1. what could happened in this second instance? (it is not first time when it is behaving like that).