Have to Stop/Start roonserver after reboot Linux Mint Wilma (Cinnamon, ver 22)

After each time I reboot, the roonserver appears to restart, but when I access from a client i get a message asking if In am connected to the internet, with a Retry option. Of course I am connected both server and client. A roonserver stop/start fixes it;

sudo systemctl stop roonserver
sudo systemctl start roonserver

but was wondering why it’s happening in the first place.

I aleady tried a fresh install of Linux Mint with only adding the roonserver (ffmpeg, cifs-utils too) thinking I might have screwed something up with all my configuring ssh/samba etc, but the problem still persisted.

Any thoughts?

Given your description, most likely because Roon Server service starts bevor the network is (truly/fully) up.

PS: A look at Roon Server’s log file might give some clue.

Well, I created a workaround by making a crontab entry;

sudo crontab -e

Added the following to the end of the file

@reboot systemctl stop roonserver
@reboot sleep 30 && systemctl start roonserver

The sleep 30 was required to allow time for the “stop roonserver” command to finish before starting the roonserver again.

Anyway, it worked, maybe not so elegant.

A more elegant approach would be …

# networkd, e.g., Ubuntu server
systemctl enable systemd-networkd-wait-online.service

# Network Manager, e.g., Ubuntu desktop
sudo systemctl enablle NetworkManager-wait-online.service