Unable to run Roon GUI on any device, black screen with spinning Roon logo

Hi @Don,

Martin is a very helpful member, the forum’s about lists all the Roon staff and moderators.

Trust this helps,
Carl

@Martin_Webster

Core has a NFS mount to the music share, no issues/changes with this setup. The DB/OS sits on a NVMe SSD drive. What is the stacktrace output indicating?

Hi @Don, maybe my issue is similar to yours:
https://community.roonlabs.com/t/roon-server-ubuntu-super-high-cpu-usage-no-access-to-roon/83168

Hi @Sebastian_Ptak maybe, did you see the same errors?
Hi @support let me know what additional information you need.

thank you
don

Hi @Don,

Is this a new install or an existing install that just started exhibiting this issue? Have you used our Linux Install Documentation to install RoonServer on your Core with EasyInstaller? Have you made sure to install all necessary dependencies?

Hi @noris This is an existing install, I moved off mac mini to this device in August. Have had no issues until now. Yes, I used easy installer.

This is the output of check.sh

Checking to see if RoonServer can run on this machine

Checking for Binary Compatibility                            [   OK   ]
Checking for ALSA Libraries                                  [   OK   ]
Checking for ffmpeg or avconv                                [   OK   ]
Checking for the mount.cifs command                          [   OK   ]
Testing ulimit -n 8192                                       [   OK   ]

STATUS: SUCCESS

music@slipknot:/opt/RoonServer$

Hi @noris

Found this in the log, as I mentioned the Roon app will spin for x time then flash briefly displaying content. This will happen at the same time to any device which has the app open. Example. Laptop and cell phone. Ruling out wifi as an issue I hardwired the laptop with same results.

11/11 13:04:07 Trace: Successful POST response from https://push.roonlabs.com/push/1/connect
11/11 13:04:07 Trace: [push] connecting to 34.74.213.135:9200
11/11 13:04:07 Trace: [push] connected
11/11 13:04:09 Critical: [easyhttp] web exception without response: : System.Net.WebException: Error: SecureChannelFailure (One or more errors occurred.) ---> System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer
  at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <126998f2e5ae42fe95554117eb649feb>:0 
  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <126998f2e5ae42fe95554117eb649feb>:0 
   --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <126998f2e5ae42fe95554117eb649feb>:0 
  at Mono.Net.Security.MobileAuthenticatedStream+<>c__DisplayClass66_0.<InnerRead>b__0 () [0x0002b] in <126998f2e5ae42fe95554117eb649feb>:0 
  at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Threading.Tasks.Task.Execute () [0x00010] in <370a0c27f4b74d1a81431037df6d75bf>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at Mono.Net.Security.MobileAuthenticatedStream+<InnerRead>d__66.MoveNext () [0x000ff] in <126998f2e5ae42fe95554117eb649feb>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at Mono.Net.Security.AsyncProtocolRequest+<InnerRead>d__25.MoveNext () [0x000ac] in <126998f2e5ae42fe95554117eb649feb>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at Mono.Net.Security.AsyncProtocolRequest+<ProcessOperation>d__24.MoveNext () [0x00093] in <126998f2e5ae42fe95554117eb649feb>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at Mono.Net.Security.AsyncProtocolRequest+<StartOperation>d__23.MoveNext () [0x0008b] in <126998f2e5ae42fe95554117eb649feb>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at Mono.Net.Security.MobileAuthenticatedStream+<ProcessAuthentication>d__47.MoveNext () [0x00254] in <126998f2e5ae42fe95554117eb649feb>:0 
   --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Threading.Tasks.Task.Wait () [0x00000] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000d] in <126998f2e5ae42fe95554117eb649feb>:0 
  at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) [0x0007b] in <126998f2e5ae42fe95554117eb649feb>:0 
  at System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest request) [0x00073] in <126998f2e5ae42fe95554117eb649feb>:0 
   --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.EndGetRequestStream (System.IAsyncResult asyncResult) [0x0003a] in <126998f2e5ae42fe95554117eb649feb>:0 
  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <370a0c27f4b74d1a81431037df6d75bf>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <370a0c27f4b74d1a81431037df6d75bf>:0 
  at Sooloos.EasyHttp+<QueryAsync>d__1.MoveNext () [0x00585] in <25d73f18cc0f460fa0e05f69a9433340>:0 
11/11 13:04:09 Warn: [bits] http request failed updating bits, status code: 999, message: <<NULL>>
11/11 13:04:10 Info: [stats] 2402mb Virtual, 430mb Physical, 199mb Managed, 0 Handles, 32 Threads
11/11 13:04:24 Trace: [appupdater] initial check for updates
11/11 13:04:24 Trace: SENT NONFINAL DistributedBroker.UpdatesChangedResponse={ IsSupported=True WasJustUpdated=False Status='Checking' HasChangeLog=False CurrentVersion={ MachineValue=100600416 DisplayValue='1.6 (build 416) stable' Branch='stable' } }
11/11 13:04:24 Debug: [base/updater] Checking for updates: http://updates.roonlabs.com/update/?v=2&serial=C870C2D4-9CC4-48BE-9C37-F407AB2ABA0A&userid=cdd9fe6b-a258-44d6-8524-933832a331b4&platform=linuxx64&product=RoonServer&branding=roon&curbranch=stable&version=100600416&branch=stable
11/11 13:04:25 Debug: [appupdater] Update not needed
11/11 13:04:25 Trace: SENT NONFINAL DistributedBroker.UpdatesChangedResponse={ IsSupported=True WasJustUpdated=False Status='UpToDate' HasChangeLog=False CurrentVersion={ MachineValue=100600416 DisplayValue='1.6 (build 416) stable' Branch='stable' } }
11/11 13:04:25 Info: [stats] 2626mb Virtual, 652mb Physical, 360mb Managed, 0 Handles, 32 Threads
11/11 13:04:26 Info: Flushing kart data to server
11/11 13:04:27 Debug: server said: 
11/11 13:04:40 Info: [stats] 2733mb Virtual, 757mb Physical, 490mb Managed, 0 Handles, 30 Threads
11/11 13:04:55 Info: [stats] 2873mb Virtual, 899mb Physical, 587mb Managed, 0 Handles, 30 Threads

Hi @noris @support

I’m probably messing up this thread with my updates, but can you take a look at the log snips? There are a few stack trace errors that I am guessing you can use to determine a troubleshooting path.

thanks
don

Hi @Don,

I appreciate your patience here while I inquired with the technical team regarding the traces you posted. This appears to be a mono crash, but the logs don’t indicate what exactly is causing it. To help rule out some of the possibilities, we suggest trying to open Roon with no network connection and no storage locations active.

If you disconnect your PC running Roon Core from the network and run it in offline mode, does the same behavior still occur with Roon crashing every few minutes? I realize that you won’t be able to control Roon from a Roon remote, but this test should help narrow down if the issue is related to something on the network or a storage location and will provide a useful data point.

Hi @noris

Sorry, I was away on business and unable to update. Before leaving I move ROONCore to isolated switch and noticed the restart/crash stopped. This is as far as I took it before my trip…

Returning I decided to delete Roon and reinstall (removed all files before reinstall). This resulted in a stable system, but was caught in the 1.7 update. I added test folder and imported music, RoonCore remained stable. This test folder is the same NFS mount as my main Lib.

I decided to restore from backup (v1.6) and it wasn’t long after DB update process where the system started the start/crash cycle as described earlier.

Did find this in the trace when RoonRemotes stopped connecting
11/23 15:19:12 Trace: [push] restarting connection (Unable to read data from the transport connection: interrupted.)
11/23 15:19:12 Trace: [push] retrying connection in 84622ms

I tried restoring from backup a few times, each time fully deleting Roon, but gave up due to the crashing and figured it was either corruption in the DB or restoring 1.6 over 1.7.

I would love to be able to restore to pull back all my data so if there is a way I am willing to try.

Since then I have reinstalled Roon (clean) as well as clean install of Ubuntu Server 19.10 and imported my lib (98k tracks) fresh. Stable for the past 4 days.

thanks
Don

Hi @Don,

I spoke to our senior technical team today regarding your report and we believe to have an idea of what’s going on here, the issue appears to be related to the metadata in your old database.

I’d like to get your old database over to the devs to closer analysis, can I please ask that you restore the old one (that was experiencing this behavior) and you use these instructions to send it over to me?

Thank you!

Hi @noris

Sure thing, I removed all Roon files, installed fresh and restored my old database. The last backup I have is Nov 6th which is about the time this issue started. I backup every 4 days and keep 10 copies. So, if we need to go back to earlier backups we can.

Here are some observations post backup restore:
Roon Core - Right after restore:
The new version of Roon you installed requires a database update

Roon Core Post database update:
Roon Core connects and I can stream music. Clicking on top right spinner - Re-scanning 98616 files.
Somewhere around ~54396 into scanning, the behavior starts. Roon Remote does not connect, when it does it is for only a short time. No music play back is possible.

The short amount of time where Roon Core did connect clicked on top right spinning icon showed re-scanning x of 44220 (not the full file amount of 98K)

The below error appears to be when Roon Core tries to connect and fails

Trace: [push] restarting connection (Unable to read data from the transport connection: interrupted.)

I shutdown roonserver service @11/27 11:35:17 and started the zip process

Dropbox share – roon folder with 6 zip files

Thanks for your help.

1 Like

Hi @noris

Can you provide another way to get these files to you? My DB files are larger than the free amount dropbox provides.

thanks
don

Hi @Don,

Sure, no worries. I will send you a private message with alternate upload instructions. Thanks!

Hello @Don,

Thank you again for sending the database over. I have just spoken to QA, they have been able to reproduce this behavior on their end and and we have made some changes in our next Roon release which should help with this issue. I can’t comment on a timeline of when the next release will be published, but when it does, I would try loading up your old database again. Until the new release is out though, using the fresh database is suggested. Thanks!

Hi @noris

Thank you and the QA team!

-don

1 Like

Hi @Don,

We’ve recently released Roon 1.7 (Build 511) which includes changes that should improve this behavior. Please try loading up your old database and give it a try and let us know how it goes!

You can read the full release notes here:

Thanks,
The Team at Roon Labs

Hi @noris,

Updated and restored the old DB last night and all is working great.
Thank you team Roon!

-don

1 Like

Hi @Don,

That’s fantastic news! Once again, I appreciate the patience you had while we investigated the issue. Happy holidays!

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