Roon stopping randomly

sure - where to upload? or should I put it into a dropbox?

I loaded the last log files into my dropbox: Dropbox - File Deleted - Simplify your life

there have been some additional crashes in the meantime …

1 Like

Hello @fschmeis ,

Thank you for sending those logs over! We took a look through them and there appears to be quite a lot of library activity happening, the Roon Core is importing and identifying content.

Can you please confirm, does the same issue occur once the Core has finished imported your content? Is there any change if you set Background and On-Demand Audio Analysis to Off under Roon Settings → Library?

@noris : Thanks for coming back to me

I haven’t added a new album for the last 4 weeks, therefore the only activities which might be ongoing is whatever might be necessary after a crash …

Just had a look at the resource monitor: My QNAP is idle:
grafik

Nevertheless I deactivated the background analysis:

Did start a track, worked, system still nearly idle:
grafik

The Roon core was always very unstable right after start up, therefore I
stopped the track, stopped the core, startet the Roon core again

During startup Roon Appliance takes 25 to 50% for some minutes until the control point connects to the core

after appr. 4 to 5 min the control point (Roon on my iPad) shows my tracks again and the CPU load goes down:
grafik

restarted the track (still with deactivated background analysis), 3 sec later: CRASH

logfile can be found here: Dropbox - File Deleted - Simplify your life

now I have to wait again for 4-5 min, try to start a track again, I have to repeat this serveral times (3 to 8 times) until I can use Roon again, and then - for some reason - it may work for 10 min or 3 hours and then crashes again … :frowning_face:

PLEASE HELP

Hi @fschmeis ,

Thank you for sending those logs over, and sorry to hear that the app is still crashing. I took a look over the logs and it looks like there was some identification happening in the background and there may have been an issue with a zone playback, I wonder if the zone is causing an issue here.

You can generate a new RAATServer instance on your device by following these instructions, but please be aware that this will reset your Roon Settings → Audio Tab to factory settings and I would advise making a backup of any custom DSP settings you have:

  • Create a Backup of your current Roon database
  • Stop RoonServer from running
  • Navigate to your Roon’s Database Location on the QNAP
  • Find the folder that says “RAATServer”
  • Rename the “RAATServer” folder to “RAATServer_old”
  • Restart RoonServer to generate a new RAATServer folder

Let us know if this helps with the issue, thank you!

@noris : thx, will do that during weekend

just one question to be sure: will the playlists also be deleted, or will “just” the audio settings be reset? Background of my question: I am not using DSP (that is done by my LINN streamer) but I have plenty of playlists …

Just the audio settings, but please do make a backup just in case.

Hello @noris ,

made an additional Backup (have scheduled backups every 4 days), stopped Roon, renamed the RAATServer to RAATServer_old and restarted Roon:

First of all seemed to work well, but later had crashes again, see my Drop Box for the Logile: Dropbox - Roon - Simplify your life

Have also installed the new Roon version which shouldn’t need Mono any longer:
grafik

PLEASE HELP

Hello @fschmeis ,

Thanks for trying those steps and sending the new logs over. I am not seeing much info regarding the crash in the Roon logs, let me check with the team on this and get back to you.

Hello @noris ,

may be the crash is not included in the last logfile, sorry for that, I loaded all archived log files up to the dropbox … can you can see when RAATServer has been re-created?

Cheers
Frank

Hello @noris ,

yesterday, 4th of November, I had one crash around 10:42 pm, uploaded a new logfile to the dropbox

PLEASE HELP

cheers
frank

Hi @fschmeis ,

Thanks for giving the RAATServer reset a try and sorry to hear it hasn’t helped.

I spoke to the team regarding your case recently and they don’t believe that this issue is due to an audio zone, but rather there may be some system-level issues.

Have you tried to create a backup, reinstall RoonServer and restore a backup yet? This is worth a try in case there are issues with the RoonServer package.

Hello @noris ,

thanks for coming back to me so fast!

what I had done (may be 1 week before rebuilding the zone): clicked on the box left down “Replace the current Roon Server application with the latest one from RoonLabs website”:
grafik

Do you mean that?

Or should I really deinstall the entire app from my QNAP?

Cheers
Frank

Hello @noris ,

what I have done during weekend, starting 6th of November appr. 5 pm:

  • deleted Roon in the AppCenter
  • deleted all Roon files on my NAS resp. deleted the entire directory “RoonOnNAS” with the file station
  • restartet my QNAP
  • started Roon server and entered DB location
  • started Roon remote and entered the my Qobuz account; could play music from Qobuz
  • restored tha last backup of my Roon DB which took 1.5 hours
  • linked my music library to the server; Roon startet analysing / adding files; one time around 6:35 pm I tried to start to play some music from my remote but caused a crash; downloaded logfiles, please refer to “download_2021-11-06_18-35-51.zip”; from then on never tried playing music again during adding the library
  • nevertheless: from time to time the remote lost the Roon server, there were some more crashes of the server, please refer to “download_2021-11-07_11-21-35.zip”
  • Roon was analysing during night and was finished in the morning

So far Roon seems to work again, feels good / a little bit “snappier” and more reliable than before; nevertheless: please have a look at the logs

Thx in advance

Cheers
Frank

Hello @noris ,

did you had the opportunity to have a look at the logfiles after re-installing Roon?

In addition to that right now (11 am local time) I had one more crash; just 36.588 tracks currently activated (had deactivated the other folder), started Roon remote fresh on my iPAD (did nothing else, just starting) and immediately CRASHED, takes something like 5 min to come back again, CPU of the QNAP working hard:

logfile download_2021-11-16_11-09-34.zip in the dropbox (see link above)

PLEASE HELP

hello @support: maybe noris is in vacation, waiting for 2 weeks for an answer, thx in advance for your help

Hi @fschmeis ,

Apologies for the delay in getting back to you here, I just got a chance to review your case once more.

Looking over the logs, it is not clear why RoonServer stops working, and there is no real pattern to this behavior, logs appear to just abruptly end, let me give you some examples:

System log of crashes:

16.11.21-00:06:09  --- Running
16.11.21-00:26:02  --- Not responding
16.11.21-00:26:02  --- Error
16.11.21-00:26:04  --- Initializing
16.11.21-00:26:04  --- Started
16.11.21-00:26:07  --- Running
16.11.21-00:30:03  --- Error
16.11.21-00:30:05  --- Initializing
16.11.21-00:30:05  --- Started
16.11.21-00:30:08  --- Running
16.11.21-11:05:07  --- Error
16.11.21-11:05:09  --- Initializing
16.11.21-11:05:09  --- Started

16.11.21-00:26:02 — Error - Roon was updating metadata
16.11.21-00:30:03 — Error - Roon was trying to load storage locations
16.11.21-11:05:07 — Error - Roon was trying to perform a search

With no clear pattern as to what causes the crash, in similar cases like this, the issue has been caused by a database or a hardware issue with the Core.

Looking over the log, it appears that Roon is attempting to load 410448 tracks. Even if you do only have 35k tracks activated, the Roon database has 410k tracks in the database that it has information stored about. You can try to perform a clean up library function via Roon Settings → Library and that will remove any database entries for disabled storage locations (you’ll need to restore from a backup to get those changes back).

A Roon database restore should not take 1.5 hours to complete. This can be a further sign that the current hardware is not up to par for a database of this size.

1 Like

On a nas I’m not surprised

Hello @wizardofoz ,

why do you say that?

Because my NAS isn’t powerful enough, or because the Roon implementation on a NAS isn’t stable enough?

With a i5-4590S CPU with 4 cores and up to 3 MHz, 16 GByte of RAM and the Roon DB located on a fast Samsung SSD 850 Pro 256 GByte there should be enough resources, or where do you see the bottleneck?

Hello @noris ,

do you think the reason for my problems are the same as for Export hangs with spinning circle but no error message - #2 by fschmeis?

just checked the all logfiles on my QNAP again, there is nothing which indicates any failure, also I am using the NAS as a file server, so far no problems anywhere else … did an entire memtest (http://memtest.org/), no errors after appr. 1.5 hours (has already started to do a 2nd run) … did run a HDD stress test (on QTS: Help Desk → Dignostic Tool → HDD stress test) for more than 72 hours, did stop it right now as there didn’t occur even one single error so far:
grafik

With a i5-4590S CPU with 4 cores and up to 3 MHz, 16 GByte of RAM and the Roon DB located on a fast Samsung SSD 850 Pro 256 GByte and don’t doing any DSP (this is done by my Linn system), there should be enough resources, don’t you think so? What would be an apprporiate time frame to restore a Roon DB from Backup consisting of 110.000 files?

When starting to play a song and a crash happens, the CPU is low, disk i/o is low, memory usage is low, also moving from mono to .NET and re-installing Roon improved things significantly, but not completely, and actually I have a DB with just 35.000 tracks, have cleaned the DB entireliy (refer to Export hangs with spinning circle but no error message) and are still faced with crashes, e.g. Saturday 20th, 08:35 pm, please refer to “download_2021-11-21_15-07-01.zip” in the dropbox => therefore I am pretty sure the reason is different from the available resources …

What do you recommend? Please respond freely and open, I am willing to do whatever is needed: re-analyse the entire library or acitvate any kind of debug mode or do a remote session with a 2nd level technician from Roon or upgrade my CPU to a i7 or …

PLEASE HELP!

Ok that spec nas is not your typical consumer spec so probably ok for roon core BUT will depend how much else perhaps that it’s running…which you don’t detail.