Sonic Analysis Makes No Progress (Not Working)

You’ll see the spinning wheel around the Dashboard icon (upper right corner) on the web interface just like you do when you’re scanning a library. If you mouse over it, you’ll see a pop-up that will tell you how many albums Sonic Analysis has left to scan.

I posted a picture two posts above yours that shows this. If you don’t see that, you can also search your Plex Media Server log for the term “Music Analysis”. If that’s not in your log files and you don’t see the indicator on the web interface, it’s not running.

1 Like

If the error or a correction isn’t known, is there a way I can delete and restart the SA scan without trashing my music library?

We’re getting a fix into the next media server (or the one after that) which skips over albums which get this error.

4 Likes

Im not sure if this is it or not (prob not as no mention of “Music Analysis” in the Spinning Wheel scan library area.

Unrelated but …Its been spinning for the longest tme (many days now) for the Refreshing Guide Data. not sure how to fix that but I dont use my Music Server on my NAS for TV viewing so…but still would like to fix that issue so it stops spinning and wasting CPU resources. Need to check the logs and see what the issue is that its hanging on. Dont remember having this issue before.

Only thing it shows right now is scanning music but I think that is normalwhen I do a corced scan for new items. (I have a LARGE) music dbase of over 1700 albums/CDs (so far…)
Not sure what is the best thing to do.

QUESTION - Which of my 3 Plex servers would be best to turn this feature on to get it all completed the fastest?

  1. My 10TB WD MyCloud EX2 Ultra NAS, where the FLAC music files are actually location
  2. My NVIDIA Shield Pro (which only looks at the Plex shared folder on the NAS to play the music
  3. My Laptop PC which also only looks on the NAS Shared area to play music to it

Id rather use the system that is the fastest to complete and taxes the entire system the least

thanks for any help

Is that a trick question? Two of those are ARM processors, which don’t do sonic analysis.

You’re in the right spot, and definitely not running Sonic Analysis. You are running a music library scan though; Sonic Analysis should start after that completes if you have it to setup to run after music is added.

Like Elan said, your only option of those 3 is to run SA from your laptop. I haven’t done it on a remote server, all my stuff is on one machine with Plex, so I would be limited to help if you’re having issues due to that.

I am also struggling with the Sonic analysis stuck at 853 albums (after scanning 4000+) I am struggling in trying to identify which albums may be causing the issue (as read in other fora). I am attaching the latest logs - if you could indicate where the problem is, or what exactly I should be looking for, I will be very thankful. I really appreciate your patience with a not-very-technical enthusiast like me.

.Plex Media Server Logs_2021-09-09_10-42-22.zip (6.6 MB)

Based on your logs, it sort of looks like there is a corrupt file in the album The Eames Era - Double Dutch. When it gets stuck, does it use 100% of the CPU for the Plex Transcoder?

Thanks a lot Elan! I don’t even like that band anymore…
I have now removed the album so now waiting for the sonic analysis to start again so I’ll let you know how it goes. From memory the CPU usage was up and down but mostly up.

If I may ask, how did you find the culprit? What gave you the clue?

Thanks again, really appreciate your help.

just looked for the last line around music analysis in the logs. you can set it to analyze right after a scan is stopped too if you change the setting.

Now that I’m at a keyboard, the specific line was:

Sep 09, 2021 09:52:31.041 [0x7f07f35a1b38] DEBUG - MusicAnalysis: Analyzing album 36440 (The Eames Era - Double Dutch).

If you look for those it’ll show you what it’s working on.

Brilliant mate, thanks a lot for this. I will have a look.

Now the scan does not seem to be happening (no spinning wheel as before) but the CPU is pegged at around 50% with a few spikes jumping all the way to 100%. Is this normal? I’ve tried to initiate a normal library scan but still no spinning wheel. I can easily stop and re-start the server if that could help? any advice will be much welcomed

50% CPU generally means sonic analysis is happening. Make sure you access via https://app.plex.tv and you can see the progress in the top right status.

That’s what I thought, and it was how I saw it was stuck before, but now there’s no spinning wheel nor the Sonic analysis and the number of albums left message.
I can see this in the dashboard:

Once again, thank you so much for your help and patience!

So you don’t see any activity in here, when accessed via https://app.plex.tv?

Nope - nothing:

image

And I started a Music Scan too:

image

This is the CPU dashboard:

Hold on! I thought I’d check in another laptop and there you are, the wheel was spinning and counting. So I signed out from this computer, closed and reopened the browser and here it is:

image

The process was stuck at 855 albums before, now it is at 692. I’ll keep an eye on the progress and report back.

Thanks a lot!

And 40 minutes later it is at 685 albums left so it is moving. Let’s hope the problem is resolved now!

Hi can anyone derive what goes on with my sonic analysis from the log? The process seems not to be moving at all. Kindly appreciate If anyone can lead me to the right direction to solve this problem, Thanks!

Plex Media Server Logs_2021-09-14_17-10-02.zip (4.6 MB)

1 Like

Last thing in the log is it converting some tracks for analysis, and nothing looks wrong:

Sep 14, 2021 17:01:37.024 [3476] DEBUG - MusicAnalysis: Analyzing album 23576 (Angelillo Et Hamel - Look What the Blues Has Done for Me).
...
Sep 14, 2021 17:09:59.814 [3820] DEBUG - [MusicAnalysis/JobRunner] Job running: set "FFMPEG_EXTERNAL_LIBS=\\\\?\\C\:\\Users\\AbuAb\\AppData\\Local\\Plex\ Media\ Server\\Codecs\\be22e26-4019-windows-x86\\" & "C:\Program Files (x86)\Plex\Plex Media Server\Plex Transcoder.exe" -i "C:\Users\AbuAb\Music\deemix Music\SFD (Soul, Funk, Disco)\128 - Synergy - More People Than Me.mp3" -ac 1 -ar 16000 -acodec pcm_s16le track-0442.wav

Looks like that is a giant album, so it’ll take a while.