Roon Server Fails to Start Up, Then Is Stuck and Can't Be Restored

Roon Core Machine

Win server 2019 - has been working on this for over a year until i rebooted it just now

Networking Gear & Setup Details

not relevant as roon server won’t start up, i can see this on remote desktop / event log

Connected Audio Devices

n/a

Number of Tracks in Library

40k tracks, was working fine

Description of Issue

after rebooting, roon didn’t come up. I remoted into the server, and manually started roon but it didn’t start. I look at the event log and there are three events every time i try to start it up:

event 1:

Log Name:      Application
Source:        .NET Runtime
Date:          19/10/2022 14:26:19
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      audioserver
Description:
Application: RoonServer.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.UnauthorizedAccessException
   at System.IO.__Error.WinIOError(Int32, System.String)
   at System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef, System.Security.AccessControl.EventWaitHandleSecurity)
   at System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef)
   at Sooloos.App.GetAppLock()
   at Sooloos.App.Main(System.String[])


Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name=".NET Runtime" />
    <EventID Qualifiers="0">1026</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2022-10-19T13:26:19.570415800Z" />
    <EventRecordID>10868583</EventRecordID>
    <Channel>Application</Channel>
    <Computer>audioserver</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Application: RoonServer.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.UnauthorizedAccessException
   at System.IO.__Error.WinIOError(Int32, System.String)
   at System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef, System.Security.AccessControl.EventWaitHandleSecurity)
   at System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef)
   at Sooloos.App.GetAppLock()
   at Sooloos.App.Main(System.String[])

</Data>
  </EventData>
</Event>

Event 2:

Log Name:      Application
Source:        .NET Runtime
Date:          19/10/2022 14:26:19
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      audioserver
Description:
Application: RoonServer.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.UnauthorizedAccessException
   at System.IO.__Error.WinIOError(Int32, System.String)
   at System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef, System.Security.AccessControl.EventWaitHandleSecurity)
   at System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef)
   at Sooloos.App.GetAppLock()
   at Sooloos.App.Main(System.String[])


Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name=".NET Runtime" />
    <EventID Qualifiers="0">1026</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2022-10-19T13:26:19.570415800Z" />
    <EventRecordID>10868583</EventRecordID>
    <Channel>Application</Channel>
    <Computer>audioserver</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Application: RoonServer.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.UnauthorizedAccessException
   at System.IO.__Error.WinIOError(Int32, System.String)
   at System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef, System.Security.AccessControl.EventWaitHandleSecurity)
   at System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef)
   at Sooloos.App.GetAppLock()
   at Sooloos.App.Main(System.String[])

</Data>
  </EventData>
</Event>

Event 3:

Log Name:      Application
Source:        .NET Runtime
Date:          19/10/2022 14:26:19
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      audioserver
Description:
Application: RoonServer.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.UnauthorizedAccessException
   at System.IO.__Error.WinIOError(Int32, System.String)
   at System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef, System.Security.AccessControl.EventWaitHandleSecurity)
   at System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef)
   at Sooloos.App.GetAppLock()
   at Sooloos.App.Main(System.String[])


Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name=".NET Runtime" />
    <EventID Qualifiers="0">1026</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2022-10-19T13:26:19.570415800Z" />
    <EventRecordID>10868583</EventRecordID>
    <Channel>Application</Channel>
    <Computer>audioserver</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Application: RoonServer.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.UnauthorizedAccessException
   at System.IO.__Error.WinIOError(Int32, System.String)
   at System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef, System.Security.AccessControl.EventWaitHandleSecurity)
   at System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef)
   at Sooloos.App.GetAppLock()
   at Sooloos.App.Main(System.String[])

</Data>
  </EventData>
</Event>

Attaching the log file

Okay, after rebooting, Roon server comes up. However, on the client it shows up as a (new?) core, asks me to connect, when i enter my username password, it then says that this server already authorised and says i have to unauthorise it. When i did that, it keeps me in a loop

I had a look to see if i could restore a backup. The backup location i can see was last updated on oct 16, but Roon can only find a very old backup from 2 years ago.
When i drill into the backup folders, i can see lots of recent backups e.g.

ROONBACKUP2
{“when”:“2022-09-07T02:00:01.5352655+01:00”,“machine_id”:“a2c55315-10c3-9fcc-b0c7-6d72cfc2c0d5”,“backup_id”:“1977e6a5-6867-4d12-b6c6-d5b59d8b21d0”,“broker_id”:“c4df42d4-5be5-4bcc-b0ca-9bb954249905”,“broker_version”:{“machine_value”:100801021,“display_value”:“1.8 (build 1021) stable”,“branch”:“stable”},“machine_name”:“AUDIOSERVER”}

So basically I am stuck:

The existing roon core seems to be running but when i connect to it, I’m prompted with a log in. After logging in, I get the screen above

If I unauthorise then I go back to the start, same series of events

If I try to restore from backup then it can’t see the recent backup

Please help!

After a further reboot, I went through this again, and after “unauthorise” it loaded my previous library and playlist, so all is right

I’m still concerned about the backups not working. Might set it to backup to a new folder?

I’d try an entirely different location, e.g. USB disk, and see if that works. In addition, double check that you have the correct path to the backup folder, and that you haven’t added the backup folder within an existing backup folder.

1 Like

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