Roon stuck in "adding music to library" repeatedly over weeks (ref#GMDFRK)

What’s happening?

· Other

How can we help?

· I'm having trouble adding music to my library

Other options

· Other

Describe the issue

Roon stuck in "adding music to library" - several times in the past couple of weeks

Describe your network setup

Wired ethernet w/ unmanaged switches

No changes in my environment except for the usual ripping CDs or purchasing tracks in itunes and those files being added to the file system that roon scans.
This scan stuck happened a while ago but seemed to be fixed until recently.
This time, been sitting in this status for at least 12 hours. No changes to the count.
The log file shows essentially nothing happening.
I’ve resolved it before by restarting roon on my ROCK server but that’s annoying / worried about corrupting my database (as has happened before) and having to start from scratch with ingest (and losing all my metadata changes etc).

Any solution besides restarting?
–Peter

Hey @Peter_Galvin1,

Thanks for writing in!

Can you please share more information around where your library is stored? Can you verify the health of the drive storing your library?

We’re seeing repeated failures during the import process, for example:

Critical: scx: Sooloos.Broker.Remoting.RemotingException: failed to look up object id 1812148

I’d also test out using different ethernet cables, and verifying you have a stable network connection during the import process.

Also, if you stop Roon Server, and then add your new files to your storage location, and then start Roon Server, do you run into the same issue?

We’ll be monitoring for your reply! Thank you! :raised_hands:

Thanks for the fast reply!
SoftRAID (which manages that drive) reports no I/O or other errors.
Stopped Roon, added tracks to my directory, restarted Roon and it added the tracks without problems (as it has when I had it running, added tracks, watched it get wedged, and then restarted it).
Network is stable for playback etc so don’t think that’s the problem (wouldn’t show up just during track scanning). Will swap the ethernet cable anyway.

Unless there are other ideas over time I’ll try both the “roon down” method and “roon up” method and see if I can spot any patterns. Worst case I guess if you suggest it is to shut down roon before adding tracks to my music directories…

Attached are my audio setup details FYI.


Hey @Peter_Galvin1,

Certainly let us know how it goes - I’m glad to hear things function properly with Roon Server temporarily off during import. Do you have success if you keep Roon Server on but temporarily disable the watched folder - import your files - and re-enable your watched folder?

Our team is investigating this issue further, and I should have more information to share next week. :+1:

Hmm, if you disable a storage device Roon won’t remove all the tracks on the device from its database?

Hey @Peter_Galvin1,

No, disabling a storage device in Roon does not immediately remove all tracks from the database. Instead, Roon marks the tracks as unavailable, but their metadata remains in the library. If you *e-enable the storage device, the tracks should reappear as long as the file paths remain unchanged. However, if the storage is removed for an extended period or if the files are modified, Roon may treat them as new entries when re-added.

In addition to what Benjamin said, there is Settings > Library > Library Maintenance to clean up if you want them gone

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