Roon fails to run after restoring from backup (ref#91FATJ)

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

· Problem to run roon after restore backup

Tell us about your home network

· Hello,

I have the latest version of roon server and roon : version 2.71, build 1683. I have a Synology NAS and roon on my iphone.

I bought a Gustard S26 yesterday : i move all my flacs (1500 albums) on the Gustard SSD, after i launch a back-up of the database on my old roon server (on the synology) and restore it on my new roon server on the Gustard : all was ok.

After the restore was finished, i ran roon and since 4 hours, roon show me only this : sometimes roon lost the connection on the roon server during 2 seconds and after it’s ok but roon loops on this : see screen shots

Hi @Wilfrid_Russodivito,

Thanks for reaching out. Can you please note the exact local date and time when you observe the issue, and let us know here? We’ll enable diagnostics and check logging for clues.

Hi @Noris,

It was wednesday : all the day. I’m in Switzerland.

Do you need files on my Gustard ?

Other problem : impossible on Roon on my Gustard to open the repository on my synology to restore the backup : i had to copied the backup on the Gustard : i had this message in red : unexpected error.

Thanks.

Will

Hello,

Do you have news ?

Thanks.

Wilfrid

Hello @noris ,

Do you have a solution ?

I need to to listen my music.

Thanks.

Will

Hi @Wilfrid_Russodivito,

From a fresh Roon Server diagnostic report from the S26, it looks like the backup was never actually restored onto the Gustard. The Gustard’s Roon Server started with a completely empty database on Wednesday at 13:42, and the 1,381 albums you see on it came from Roon scanning the music folders on the SSD directly, not from your backup. You can confirm this yourself: on the Gustard your playlists and tags are gone (0 playlists, 0 tags), while your Synology still has all 20 playlists and 13 tags, plus your play history and edits.

Second, you have two Roon Servers running at the same time, and your account allows only one. We see each one repeatedly signed in and deauthorized the other, eight times in total. Your Roon app on the Mac has been connecting to both of them, roughly every hour. One of them has your library, the other is empty and signed out, and the app keeps switching between them. That is what produces the endless white loading screen you photographed.

Right now, your Synology is the authorized server, it has your full library, and it is working, it was playing music to the Gustard yesterday evening. The Gustard’s Roon Server is signed out and its library is empty (it also looks like it took a firmware update on Sunday afternoon, which reset its database a second time).

Here’s how to sort this out. Please decide which machine you want as your Roon Server, then:

  1. Stop Roon Server on the machine you are not keeping. This matters, leaving it installed and running is what causes the tug-of-war. On the Synology: Package Center → RoonServer → Stop, and turn off “start on boot.”
  2. Restart your Roon app on the Mac and iPhone so they forget the other server. When Roon asks which server to use, pick the one you kept.
  3. If you’re keeping the Gustard, do the restore again and only after step 1. Go to Settings → Backups on the Gustard, choose “Restore from backup”, browse to the backup folder you copied onto the Gustard, and pick the most recent backup. Wait for it to finish completely before opening the app again. Your Synology backup is around 16 GB, so this will take a while, please let it run.

One more thing to check: your Gustard appears on the network at two addresses at once (192.168.1.209 and 192.168.1.210), which usually means both its network ports, or Ethernet and Wi-Fi, are connected. Please leave only one connected, this can cause connection problems on its own.

Hi @benjamin ,

Thanks for the reply.

I stopped my roon server on the synology, i initialize the roon database on my Gustard, after i ran Roon, I identified myself, i select the Roon server in Gustard an choose restore database on the bottom of the page : strangly, the restore took one minute and after ran Roon it loops like last week.

Will

Roon loops on this :

Hello @benjamin ,

Can i have a definitive solution please ?

Thanks

Hello @noris , @benjamin ,

Can i have a solution, i wait since 2 days.

Wilfrid

@benjamin can you reply me pleade or another of your colleagues ?

Hi @Wilfrid_Russodivito,

Thanks for your patience over the last couple of days, we’re a small team and try to respond as quickly as possible. It’s also worth noting that replying multiple times isn’t necessary.

What the logs show

Roon Server on the Gustard isn’t hanging, it’s crashing and restarting, over and over. In the ~23 minutes of logs you sent, the server started up 16 separate times, roughly once every 85 seconds. Each time it gets partway through loading your library, runs out of memory, and gets killed before it can finish. Then it starts again from scratch.

That’s the loop you’re seeing. From the app’s point of view the server keeps vanishing and coming back, which is why you get the white loading screen and the constant disconnect/reconnect. The library never finishes loading, so Roon never becomes ready.

Why it’s running out of memory

Two things are working against each other:

  1. The database that was restored onto the S26 is very large, about 16 GB, containing roughly 794,000 track records. This is within the top 1% of library sizes we see, and honestly cannot garaentee normal performance on such a library. Can you confirm the machine itself can handle this large of a library?
  2. Your Synology music folders aren’t mounted on the S26, so Roon can’t see any of those files. It’s marking the storage as unavailable at every startup.

So on each boot Roon loads those 794,000 tracks into memory, finds zero matching files on disk, and begins a full library cleanup, essentially preparing to remove the entire library. That job needs more memory than the S26 has, so it dies before it can finish and write anything down. Nothing is ever saved, so the next startup does exactly the same thing. It will keep looping forever on its own.

The part I need your help with

794,000 tracks doesn’t match the ~1,500 albums you described. That’s a big discrepancy, and it matters, it suggests the backup we’ve been restoring isn’t the library you’re expecting, or that the database in it has become bloated or damaged. If we restore the same backup again, we’ll land right back here.

Could you tell me:

  1. On your Synology Roon Server, what does Settings → Library report for the number of tracks?
  2. Roughly how much RAM does your Gustard S26 have?
  3. Do you have older backup sets available, from before this started — and what dates are they?

In the meantime, one thing to try

This will break the loop so you at least have a working server again:

  1. Make sure the Synology Roon Server is fully stopped (only one can run on your account).
  2. On the S26, reset the Roon database to a fresh, empty one, do not restore a backup yet.
  3. Don’t add any storage folders yet. Just let it start.

It should come up cleanly and your app should connect normally within a minute or two. That confirms the diagnosis and gives us a stable starting point. Once we’ve got your answers to the questions above, I’ll tell you exactly which backup to restore and in what order to add your music folders, so we don’t trip the same problem again.

Hello @benjamin ,

You’re welcome.

i stopped the roon server on the synology. On it, i have 32 000 albums but i created a separated folder called Liste with 1500 albums i use on Roon only this folfer but i think Roon has on his library the 32000 albums.

I launched a backup of this database (1500 albums) not the 32 000.

I can’t understand why the roon server on my gustard see the 32000 album.

I initialized last week the roon database on the gustard without restore a backup and adding folders : Roon run with no problem.

With my synology : no problem with 32 000 albums :rofl::rofl::rofl::rofl::rofl::rofl: little slow :rofl::rofl:

I have 8 Go for ram ddr4 and 3 To on a ssd hard disk in the Gustard.

I have olders backup, one by day for august. I try to restore olders backups : same problem.

My only problem is to have my history of when i added albums and my playlists.

Thanks.

Hello,

Thank you for providing those details. The discrepancy between the 1,500 albums you actively use and the 32,000 albums in your total library is the exact cause of this issue.

Roon’s backup system does not back up individual folders or a subset of your music; it backs up the entire database. Even if you only actively use the “Liste” folder right now, the database still retains the metadata, edit history, and internal records for all 794,000 tracks you previously added.

When the Gustard S26 (with 8GB of RAM) tries to load this massive 16GB database, this operation requires significantly more than 8GB of RAM, causing the Gustard to crash, run out of memory, and reboot in a continuous loop.

To retain your history and playlists for those 1,500 albums without crashing the Gustard, we need to shrink the database on the Synology before moving it over. Here is the step-by-step process:

  1. Switch back to the Synology: Stop the Roon Server on the Gustard and start it on the Synology. Connect your Roon app to the Synology core.
  2. Remove the extra folders: Go to Settings > Storage and completely disable or remove the watched folders containing the other 30,500 albums. Leave only your “Liste” folder active. Wait for Roon to finish processing these changes.
  3. Clean up the library: Go to Settings > Library and click Clean Up Library. Select the option to clean up deleted files. This is the most critical step—it forces Roon to permanently erase the internal database records of the 794,000 missing tracks, drastically shrinking the database size.
  4. Create a fresh backup: Once the cleanup is completely finished, go to Settings > Backups and create a new manual backup. This new backup will now truly only contain the metadata, playlists, and history for your 1,500 albums.
  5. Migrate to the Gustard: Stop the Roon Server on the Synology. Start the Roon Server on the Gustard, reset its database to a fresh state (do not load the old backup), and restore using this new, cleaned backup.

This streamlined database will load perfectly within the Gustard’s 8GB of RAM while keeping your essential history intact. Let us know how this process goes!

Hello @vadim ?

Thanks for your reply.

Is is possible to export and import only playlists ? I tried with m3u files but does doing nothing.

Thanks.

Will

Hi @Wilfrid_Russodivito,

Just to clarify, you’re having an issue exporting your playlists in Roon via m3u?

Roon’s m3u export is designed to create a stand-alone referential playlist (the files are exported alongside an m3u file referencing them in a single, self-contained folder).

If you’re just hoping to export your playlist as a CSV list that you can use to recreate the playlist on a new DB, then we recommend Soundiiz (or Excel export):