After OS updates to my Linux Roon Core server the machine started going to sleep even while music was actively streaming.
Server details
Roon Core 1.8 build 831 running on Ubuntu 20.04.3 LTS on NUC6i5SYH
Distro details:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.3 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
Solution
Sourced from: How To: Disable Sleep on Ubuntu Server
Check status
systemctl status sleep.target
Disable sleep
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
Success… probably