RoonServer on Mac Mini M1 not launching on startup (ref#A9T473)

What’s happening?

· Other

Describe the issue

RoonServer on Mac Mini M1 (Sequoia 15.1) not launching on startup
Each time my Mac Mini reboots for any reason (updates/crashes) RoonServer doesn't launch automatically. I need to run sudo ./RoonServer from command line manually each time to keep the server running and resume operations.

Describe your network setup

Verizon FIOS router hardwired to Orbi which is hardwired to Mac Mini M1

Here’s the output from the ./RoonServer command line when running, there are errors here I can’t resolve:

00:00:00.000 Info: get lock file path: /tmp/.rnsgem0-
00:00:00.005 Info: GetLockFile, fd: 171
00:00:00.005 Info: GetLockFile, res: 0
00:00:00.005 Info: get lock file path: /var/tmp/.rnsgem0-
00:00:00.005 Info: GetLockFile, fd: 172
00:00:00.005 Info: GetLockFile, res: 0
00:00:00.005 Trace: Nope, we are the only one running

Roon[10371:242149] The type Broo.Engine.OpenGlWindow does not have a constructor that takes an ObjCRuntime.NativeHandle parameter but a constructor that takes an System.IntPtr parameter was found (and will be used instead). It’s highly recommended to change the signature of the System.IntPtr constructor to be ObjCRuntime.NativeHandle.

Roon[10371:242149] The type Broo.Engine.CocoaComponents does not have a constructor that takes an ObjCRuntime.NativeHandle parameter but a constructor that takes an System.IntPtr parameter was found (and will be used instead). It’s highly recommended to change the signature of the System.IntPtr constructor to be ObjCRuntime.NativeHandle.

Roon[10371:242149] The type Broo.Engine.SooloosSecureTextFieldCell does not have a constructor that takes an ObjCRuntime.NativeHandle parameter but a constructor that takes an System.IntPtr parameter was found (and will be used instead). It’s highly recommended to change the signature of the System.IntPtr constructor to be ObjCRuntime.NativeHandle.

Hi @Nitin_Patil,

The errors you’ve pasted mostly concern the Roon GUI, so let’s run due diligence on RoonServer’s startup process itself.

First, verify that RoonServer is added as a login item.

  1. Open System Settings > General > Login Items.
  2. Under Open at Login, look for RoonServer.
  • If it’s not listed, click the + button to add it and select the RoonServer application.
  1. Restart your Mac and check if RoonServer launches automatically.

Second, verify that RoonGoer is installed. You should see it in the ~Library folder alongside RoonServer, Roon, and RAATServer.

If you have any third-party antivirus software installed on this computer, verify that RoonServer and RoonGoer are on the safelist.

Similarly, verify that RoonServer has local network access in Privacy & Security under your Mac System Settings. This won’t affect startup, but it will make sure that Sequoia’s more draconian stateful network restrictions aren’t hampering Roon’s device discovery.

The last step, if the above isn’t helpful, would be to reinstall RoonServer and Roon.

  • Make a Backup of your current RoonServer Database
  • Exit out of RoonServer
  • Navigate to your RoonServer’s Database Location
  • Find the folder that says “RoonServer”
  • Rename the “RoonServer” folder to “RoonServer_old”
  • Reinstall the RoonServer App from our Downloads Page to generate a new RoonServer folder
  • On the Roon Remotes, press “Use another Roon Server” and connect to the new database

Then once again verify that login startup permissions are assigned in your System Settings.

  1. I do have RoonServer set to Open at Login with a caveat. When I try to add it, the finder only shows the Roon.app package and doesn’t allow me to show package contents to browse to the RoonServer app or the executable. Currently I have RoonServer with an alias.
  2. When restarting with the above setup, the RoonServer doesn’t kick off. When I manually start with sudo ./RoonServer everything works but a second instance keeps initiating while erring out.
  3. RoonGoer IS installed at the ~/Library folder along with Roon, RoonServer and RAATServer

Hey @Nitin_Patil,

As a workaround, what happens if you select Roon ‘Open Package Contents’ and drag Roon Server into your application folder - and then follow the same steps above? Are you able to select Roon Server?

Did you by chance successfully reinstall? Our servers are still having a tough time connecting to your Roon Server, as a next step could you please use the directions found here and send over a set of logs to our File Uploader?

Thank you!

Since I’m unable to stop the additional RoonServer instance from kicking off and erring out, I’m now ready to reinstall RoonServer. On the Downloads page, I don’t see a specific RoonServer download, only Roon and others. Do I just install Roon Desktop and RoonServer is part of it. I also noticed I have RoonAppliance running, I did this to run headless on a Mac Mini in the background without needing to start the Roon desktop application. Kindly advise.

Uploaded logs from RoonServer, Roon and RoonGoer

Hey @Nitin_Patil,

Based on the logs you’ve sent over, it looks like your issue may be related to a corrupt database. Do you have a backup saved that predates the issues you’ve been having?

Below are the steps you’ll want to take:

See if you have issues starting fresh, and not immediately restoring from a backup.

After testing for proper functionality, restore from an older backup saved that predates the issues you’re having. We’ll be on standby for your reply :+1:

Followed reinstall instructions, now RoonServer kicks off after rebooting the Mac Mini. Unable to successfully backup though. I did restore from a
Backup from last month, I don’t think I have any backups predating the issues.

Hi @Nitin_Patil,
Do you get any error messages when the backup fails? If not please reproduce the backup failing and send us the date and time that it happened.

Since my last post, I’ve had one successful backup on 29th November. I’ll let you know if the next one is also a success then we can close
This thread, thanks for the diligent support.

But, this was your original post, not about backing up. I guess you solved this by rebooting.

Sorry for the confusion. Maybe I’m in the wrong thread. Either that, or someone deleted a post. IDK.

I needed a reinstall not just a reboot due to a corrupt database.

1 Like

I have a second successful backup, I’m good to go!.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.