Hi! What’s not quite right with Roon?
· None of the above quite fits
None of the above quite fits
· None of these quite match
Tell us what's going on
· Roon Server 2.74, build 1716, on Windows 11. Following an ASUSTOR RAID 5 expansion and a Roon update, the library fell from 103,761 to 23,727 tracks. Roon logs show successful file decoding and recognition followed by deletion of the same library tracks. Subsequent scans enumerate thousands of files but report zero additions. The files remain accessible and playable directly from Windows. Please investigate the storage-index/library-database inconsistency and advise on recovery that preserves existing edits, playlists, and play history. I have the log file to upload to you but I don't know how to send that.
Tell us about your home network
· This isn't a network problem and that information is irrelevant. It is a TP-Link Router and the machine the Roon core is on doesn't use a VPN. I do have an Asustor NAS model # AS3304TV2. The problem is either related to your recent update of Roon or the fact that I added a 4th drive to the Asustor NAS and it spent a couple of days doing that expansion. During that process Roon spent a very long time "Adding music to your library" but it actually appears to have erased any reference to or marked as unavailable nearly all the 100K files the library previously contained. Those files do still exist on the NAS and are accessible and playable from File Explorer.
Hey @Paul_Rickert, thanks for the detailed report. We were able to review a fresh Roon Server diganostic report from your server.
We can see what happened: while the NAS was expanding, Roon Server processed deletes for roughly 79,000 tracks in four of your storage locations, even though those files were still readable (many had been scanned successfully minutes earlier). Afterwards, Roon’s internal file index still considered those files present, which is why your rescans reported nothing new. We’re passing this to our team for investigation.
The good news is that the restart you did at about 5:00 PM yesterday cleared that mismatch, and Roon Server is now re-adding your files (about 106,000 were queued). Nearly all of them are matching their previous library records, so your edits, play history and playlists should come back as they’re restored.
In the meantime, please:
- Let the import finish and leave Roon Server running.
- Don’t use Settings → Library → Clean up library until this completes. That would permanently remove the records Roon is restoring from.
- Avoid further NAS maintenance while the import runs.
Once the “Adding music” activity stops, let us know your track count. If it’s still well short of ~103,700, or edits or playlists are missing, we’ll look at restoring from a Roon backup made before November 1.
I show 103970 tracks now on my home screen but only 92164 tracks when I click on the Tracks choice under My Library. I’m not sure what that discrepancy would be or whether it is significant. You are right that Roon seems to have automatically found/restored much or perhaps all of the Library after I powered it off overnight to avoid having it create a bad backup. I haven’t tested exhaustively but it appears playlists tied to the Library are functioning properly now. Clearly, this is a lot better than it was before but it is still disturbing that it happened at all.
Hey @Paul_Rickert, thanks for the update. We’re glad to hear the library is back to 103,970 tracks and your playlists are working again.
The difference between the Home screen count and the Tracks browser is usually expected. Home counts every track in your library. The Tracks browser leaves out some tracks, such as those from duplicate album versions that Roon hides, so the two numbers don’t always match. Your total is now slightly above the 103,761 you had before, which suggests everything has been restored.
A few suggestions now that things are stable:
- Make a fresh Roon backup so you have a good restore point from after the recovery.
- Continue to avoid Settings → Library → Clean up library until you’ve checked a few albums and playlists you care about.
- If you see any missing edits, play history or playlist entries, let us know which ones and we’ll look into them.
Happy listening!