I think I’ve already reported this before, but it happens frequently during this period due to power outages caused by the heat.
If Roon closes unexpectedly, some data and recent changes are lost: recently played tracks from the history (and play counts), favorite status from tracks/albums I had marked shortly before, etc…
The only way to ensure this data is permanently written to the database is to shut down/restart the Roon server, or run a backup job.
This isn’t unique to EA, and is likely related to the way LevelDB works. That is, the database is held entirely in memory, and changes aren’t written out to disk immediately.
If power outages are frequent, consider a uninterruptible power supplies (UPS), but note that an external device will need to instruct Roon OS to shutdown (and consequently write database changes to disk.)
That is normal. Roon’s database is held in RAM. Sudden power loss can lead to data loss or database corruption.
My RoonServers are all on UPS so that in the event of a power failure I can gracefully turn them off, that way everything is written back down to disc. (will also note that my entire network is also on UPS so in the event of power loss, I can communicate with the Nucleus and tell it turn off without having to manually hit the power button.)
If you are using an OS other than ROCK or a Nucleus, then you can load the UPS drivers and the UPS can turn the PC off itself gracefully in the event of power loss. That is what happens with my Windows and Linux Roon Servers.
You really don’t want any computer to hard crash from a power failure. It could crash right when trying writing the changes to disk and then you have a corrupt Roon database.
No. I’m not looking for a solution to the power loss.
I’m simply saying that roon lost about 50 tracks and some added “hearts” throughout the day because, at some point, the power went out. I can understand that some data that was being modified at the time of the power outage could be lost. What I have the hardest time understanding is the loss of tracks played 12 hours ago or “hearts” added in the morning when the power outage occurs in the evening.
Hi @Daniele_Piancastelli - I appreciate your position, however it would be much worse if you lost power while you were writing to the database (which would be more likely if we were writing to it so frequently) because it would almost certainly corrupt your database due to the way Level DB works.
As others have said, a UPS should give you a change to shut it down cleanly. Perhaps in the future there will be other options, but for now we’re not able to assist there.
Thanks for the feedback and sorry I don’t have a more helpful solution. Closing this one out considering its not something we can resolve and its not related to EA.