Background Audio Analysis Problem

Core Machine (Operating system/System info/Roon build number)

Roon server build 610 running on debian 10 which is installed at freenas bhyve vm enviroment with 4gb ram dedicated + 3 cores dedicated with 2 treads each + 50gb of zvol

The PC that freenas is running on; intel i7 4790 + 16gb ram and zvol is located on a 512gb ssd

Music folder is added through smb.

Network Details (Including networking gear model/manufacturer and if on WiFi/Ethernet)

Connected to the home network through TP Link powerline adapters.

Audio Devices (Specify what device you’re using and its connection type - USB/HDMI/etc.)

SMSL M8A DAC through Volumio on rpi 4, android tablet, iphone 11, iphone se

Description Of Issue

I have my Background audio analysis scheduled for once in 8 hours. At each scheduled analysis it keeps scanning aroudn 11000 files although I let the server finish scanning the whole archive at the very first setup.

I was using Roon Server on a windows 10 vm with exactly the same config, running with exactly the same archive and there was no such thing happening. I switched to linux enviroment because windows was consuming too much resource on my freenas thus effecting nas performance.

I just did a clean install completely from the scratch and result is same.

I tried to port the database from windows roon server to linux roon server by taking a backup from windows one and uploading it to linux one (both were build 610) which ended up making the linux server crash. That’s another story.

When I check skipped files from the library, there are around 1500 files that are claimed to be curropt. Some are really curropt but most play fine on other players. I won’t go into that topic.

Scanning 11000 files takes around 2.5 hours with the cırrent setup that simply means running the hard disks 7.5 hours a day for nothing.

Searching for solutions to problems for a software that I paid for makes me an unhappy customer as there are cheaper or free alternatives that run just fine. As struggling with such bugs (tidal login problem, etc) for the past couple of months, I feel very lucky that I didn’t purchase a lifetime licence. I probably will not subscribe to Roon for next year.

Hello @Kerem_Erdag,

Thanks for reaching out!

Generally speaking, we cannot properly troubleshoot a VM environment since there is such a wide array of setting you can configure in a VM, and this configuration type is not officially supported.

Once analysis has been completed, your Roon library should not re-analyze the files. If this is happening on each boot, I would check for a “deep freeze” kind of setting on your VM.

It sounds like you have had a few issues with VMs, if you want a dedicated Roon Server we do have some very good options like ROCK, Nucleus or servers from one of our partners.

I’ve moved your thread over to the #tinkering section as well, perhaps another user who has your VM setup can chime in.

Thanks for the reply. I have to clear out two points.

First, it scans 11.000 files out of around 100.000 files.

Secondly, it doesn’t do this only after each reboot. It also does at each scheduled scan. For me it’s once in 8 hours.

My nas (thus my vm) shuts down at 3.00am and starts up at 8.00 am each day. So it scans those 11.000 files out of around 100.000 files at 8.00, at 16.00 and at 24.00. Same amount of files are analyzed at each scheduled background audio analysis scan.

This simply indicates that vm is working fine as it does start scheduled scans at the correct times. And I have other things installed on this vm which also work just fine.

Hi @Kerem_Erdag,

If you try to make an edit to the metadata from one of the albums, do you see the edits being retained between reboots? This test should help clarify if the database is in a deep freeze state and being refreshed after each reboot.

Sorry for the late reply as the past couple of days were too busy for me.

I’ve done the test you proposed. I’ve added a genre to a particular album. Then I rebooted the vm. When I checked that album, the added genre was there after reboot.

1 Like

Would somebody like to help me???

Hi @Kerem_Erdag,

Thanks for trying the metadata edit test, this does confirm that information is stored across reboots. Do you Roon logs by any chance show what is being scanned? You can access them by using these instructions.

I do want to re-iterate that we don’t do any testing on VMs with Roon, it can work as expected but if you are able to also reproduce this issue in a non-VM setup that would be a great data point to have and would allow us to investigate is as a non-VM issue.

Hi Noris,

I’ve checked the Logs, but they meant nothing to me. If you want to see them, please provide me a path to upload.


Hi @Kerem_Erdag,

Do you by any chance have Dropbox or Google Drive to post a link to logs?

If you don’t, that’s ok, I can also create an account for you on our servers, just let me know.

it would be great if you could provide me.