I woke up this morning and found that my #homeserver shut down. Powered on with no problem. Quick glance on system log in #Proxmox GUI - there is a "reboot" line a little after midnight. I don't have any automated shutdown routines set up. Where should I look for the reason of that issue? Help! #Linux #troubleshooting #homelab
@kiraso Not a pro here: automatic updates? I know nothing about Cron jobs. Could they have anything to do with this?
@Satiah nope, I don't have automatic updates, and crontab has only backup jobs
@kiraso Erm... journalctl | grep 'error'? 😛
@Satiah nothing relevant. Some NFS mount errors, but there is nothing critical over NFS, just a backup storage
@kiraso I can't help you any further. I guess here come hopes and prayers that it was just a one time thing. 
@kiraso
I had an issue like this a year or so ago. Seemed completely random and the logs always showed the same thing. Turned out to be a power supply issue, replaced that and never cropped back up.
@mktbs it's possible - the PSU is desktop grade and has been running for like 7 years almost non-stop 😂 I hope it is not the case - don't want to buy a proprietary HP part...
@kiraso
How does the actual reboot log look? Is it a hard reboot? Or system-initiated?
Especially w.r.t. the first case; do you have a UPS? Maybe there was some power outage/brown-out.
@c8h4 I actually don't see any specific reboot records in journalctl. Systemd was doing some service restarts... Duplicacy update script ran. Nothing of that should shut down the server. The very last line is for some pveproxy worker that finished.
It starts to look like an unexpected shutdown. I do have UPS, and I will test it later