I went through /var/log/syslog and I was able to find this:
Feb 19 20:31:48 ubuntu systemd[1]: Stopping Session 1 of user sagi.
Feb 19 20:31:48 ubuntu gnome-shell[5659]: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Feb 19 20:31:48 ubuntu systemd[1]: Stopping Session c1 of user gdm.
Feb 19 20:31:48 ubuntu systemd[1]: Removed slice system-getty.slice.
Feb 19 20:31:48 ubuntu systemd[1]: Removed slice system-modprobe.slice.
Feb 19 20:31:48 ubuntu systemd[1]: Stopped target Graphical Interface.
Feb 19 20:31:48 ubuntu systemd[1]: Stopped target Multi-User System.
Feb 19 20:31:48 ubuntu systemd[1]: Stopped target RPC Port Mapper.
Feb 19 20:31:48 ubuntu systemd[1]: Stopped target Sound Card.
Feb 19 20:31:48 ubuntu systemd[1]: Stopped target Timers.
I’m not 100% sure that’s the reboot reason, but it sure looks suspicious enough.
I found another reboot around 5:25 am today but this log isn’t there (in fact, there is no suspicious log there at all)
I’ve set journal to be persistent so I hope to have more info by the next time. But any thoughts about this one in the meanwhile?
Got it. I dont have any way to reproduce the issue, it just happens, sometimes a few times a day sometimes once every few days.
Maybe ill just connect a PC to log all the data to a file or something?
Finally got it all connected and running, during this time there were about 2-3 unexpected reboots (first one is manual by me)
The debug information doesn’t show anything prior to the reboot. Looks like only the initialization data after the startup is shown