Library crashes after backup restore attempts (ref#K48JQ4)

What’s happening?

· My library isn’t working correctly (local/streaming, importing, or storage access)

Describe the issue

I am having an issue loading my library. I followed all of the steps outlined to correct the issue. I attempted to restore backups from two distinct usb drives with no success. Every time the restore is complete, my library crashes and I get a message that I am having an issue with loading my library.

Describe your network setup

I have a TP Link WiFi 6 Router and an iMac

Hello @David_T

Thank you for reaching Roon support.

Would you kindly let us know you are restoring the backup created on the same device?

The issue may be related to the latent corruption inside the database.

There are a number of reasons why a Roon database can become corrupted, and this can include failing hard drives, as well as other environmental factors, like power loss, or sync programs tampering with the contents of the database.

It’s extremely hard to know what might be at play here, but what is certain is that when Roon reads the database back, the files are different from what was originally written to the drive, and the changes are significant enough that Roon cannot load the database properly.

There are times when the corruption can be “latent”: part of the database is corrupted, but the database can still load. Often, this latent corruption is revealed when Roon updates to a new database format, as this process requires that every record in the database is accessed.

This is likely the case here — The backup that you used to restore was made after the latent corruption existed.

Generally, the solution is to try using an even older backup if you have one in order to use a backup from before the corruption occurred. Otherwise, starting fresh is the second option.

Hello @David_T
Thank you for reaching Roon support.

Would you kindly let us know you are restoring the backup created on the same device?

I am not sure what you are asking here. Are you asking if I am restoring the backup to my Nucleus Rev B only? If so, then yes.

The issue may be related to the latent corruption inside the database.

Is this a reference to the internal HDD?

There are a number of reasons why a Roon database can become corrupted, and this can include failing hard drives, as well as other environmental factors, like power loss, or sync programs tampering with the contents of the database.

I’ve not experienced power loss, nor have I ever tampered with the contents of the database.

It’s extremely hard to know what might be at play here, but what is certain is that when Roon reads the database back, the files are different from what was originally written to the drive, and the changes are significant enough that Roon cannot load the database properly.

There are times when the corruption can be “latent”: part of the database is corrupted, but the database can still load. Often, this latent corruption is revealed when Roon updates to a new database format, as this process requires that every record in the database is accessed.

How would I reformat the database to purge the latent corruption?

This is likely the case here — The backup that you used to restore was made after the latent corruption existed.

Generally, the solution is to try using an even older backup if you have one in order to use a backup from before the corruption occurred. Otherwise, starting fresh is the second option.

I will use a very old backup to test your theory. How do we start fresh?

Thank you for your support.

I hope these images help.

Hi Vadim,

I am not sure if you can see all of my replies. I formatted the internal disk drive in my Nucleus. See screenshot below:

After doing this, I restored two older backups from two separate drives with no success.

Please advise.

Thank you.

Good day @David_T !

In order to better understand the problem we’d like to ask you to share a backup with us.

Can you please upload it here:

and then let us know ?

We’ll take it and inspect on our side .

Looking forward to your reply!

Regards.

Hi Alex,

I am not clear on how to share a backup.

Please see the following screenshots for reference:

I attempted to drag and drop the entire RoonBackups folder to this thread, but that did not work.

Please advise, thank you.

Hi Alex,

Additionally, I ran Disk Utility on both drives and no corruption was found on either disk.

Thank you.

Hello @David_T,

To share your Roon backup, you’ll first need to zip the backup folder before uploading it.

Here’s how to do it on macOS:

  1. Open Finder.
  2. Navigate to the folder that contains your RoonBackups folder.
  3. Right-click (or Ctrl-click) the RoonBackups folder.
  4. Select “Compress ‘RoonBackups’”.
    This will create a file called RoonBackups.zip in the same location.
  5. Upload that .zip file using the File Uploader link we provided earlier.

Once uploaded, just let us know and we’ll take it from there.

Thank you, Vadim. I will do so when I get home from work.

Hi @David_T,

Sounds good - let us know how the above goes.

I also wanted to clarify - we weren’t referring to the external USB drives hosting your backups being corrupt, but rather, the saved Roon backups themselves may carry the same latent corruption that currently exists on your current Roon database.

Do you have any older backups? Your best bet in this case would be to try older backups that may predate any latent corruption. It’s a very unfortunate situation - I’m really sorry you’re experiencing it.

Hi Vadim,

I hope all is well.

You did not provide a link for uploading the zip file.

Please. advise. thank you.

Hi Benjamin,

I hope all is well.

I do not have a link to upload the zip file too.

Please advise, thank you.

Hello @David_T

Sorry for the confusion. Here is the link for you.

https://workdrive.zohoexternal.com/collection/gnhz54df9ddffa33d49a3be8619bd6376a5de/external

Than you, Vadim. I will upload the folder when I get home from work tonight.

Hello @David_T ,

Not a problem, just let us know once uploaded and we can continue from there. Thanks!

Hi Vadim,

I hope all is well.

I have uploaded all of the backups I had stored on two separate storage disks.

Looking forward to hearing from you.

Thank you.

Hello @David_T,

Thank you for the update.

Our QA team will review your backup files to see whether they can be processed. If the backup turns out to be corrupted, our ability to recover it is unfortunately limited. In that case, you may need to set up your library from scratch — but we’ll confirm this only after the QA review is complete.

We’ll keep you updated as soon as we have more information.

Hello @David_T,

I’m afraid I have some unfortunate news. Our QA team encountered the same database corruption when reviewing your backups, and they were unable to recover any usable data. If all available backups show the same issue, then starting from scratch is, regrettably, the only path forward.

We’re very sorry for the inconvenience this causes — losing a library state is never something we take lightly. We’ve reported this case to our R&D team so they can investigate the underlying cause and improve resilience in future versions of Roon.

Hello @Vadim,

Yes, that is terrible news.

I imagine that I will have to factory reset my Nucleus. How am I to do that?

Thank you for your continued support.