08-30-2023 10:51 AM
I moved my Proxmox server to a different mini-PC. This one is still a cheap mini-PC, but it's a bit more robust than the one I was using. I did this because I'm thinking of adding the pisense firewall to Proxmox. No matter. Here's what happened. I started work this morning and suddenly nothing was working. I looked at the mini-PC and the power was off. I suspect it either went to sleep or shut down after hours of inactivity. I did a little research online and found this as a potential solution:
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
Now only time will tell if this fix works.
On a related note: When something like this happens, the dashy server runs, but dashy itself doesn't auto-start. There are a number of ways to make sure it auto-starts on boot, but I chose to add this line to crontab. Just run crontab -e which takes you into the crontab editor. Write a script that starts dashy and add a line like this (use your own script, mine is start-dashy.sh
@Reboot /path/to/script/start-dashy.sh
Reminder: I call this "Tales From The Crypt" because I have to keep my home office dark in order to combat Texas heat.
08-31-2023 11:46 AM
The mini-PC is still up and running. Here's hoping that systemctl command fixed unwanted sleep/shutdown.
02-06-2024 04:35 AM
Has this been resolved?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide