Insta Roon reset on reboot

Posting this in tinkering. When Roon goes wrong I have a three step reset:

  1. Stop the RoonServer process: sudo service roonserver stop.
  2. Clean the contents of the Cache and Temp directories:
    rm -rf/var/roon/RoonServer/{Cache,Temp}/*.
  3. Reboot the box: sudo reboot.

I’ve shortened this without ill effect by forcing the Cache and Temp directories to run in a tmpfs file system. You need to have cleared the directories before adding these lines to /etc/fstab:

tmpfs /var/roon/RoonServer/Temp         tmpfs   defaults        0 0
tmpfs /var/roon/RoonServer/Cache        tmpfs   defaults        0 0

This just means that the two directories use a memory backed file system and I lose approx 200 MB of memory. I should put a max size on it but haven’t got round to it. It’s not something for 8 GB of memory or less. Now just reboot the box and those directories clean themselves.

1 Like