# Sonic Analysis keeps getting stuck

**URL:** <https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903>\
**Category:** Plex Media Server\
**Tags:** server-linux, server-unraid\
**Created:** [July 24, 2022, 2:57pm UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903 "2022-07-24T14:57:01Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![VodoBaas1](https://avatars.discourse-cdn.com/v4/letter/v/c37758/32.png) [@VodoBaas1](https://forums.plex.tv/u/VodoBaas1)\
**Post date:** [July 24, 2022, 2:57pm UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903/1 "2022-07-24T14:57:01Z")

</div>

Server Version#: Version 4.84.1  
Player Version#:

I keep getting this repeating log. It looks like it continues, but I’m not 100% sure and then my activity bar looks as pictured below. I have tried to go back and figure out what files, and I can looked in the folder Music Analysis 3 and will sometimes have Music Analysis 3 (processing) as well.

Jul 24, 2022 10:49:03.437 [0x14a7c5f8fb38] Debug — [MusicAnalysis] Analyzing 5 albums in section 3.  
Jul 24, 2022 10:49:03.450 [0x14a7c5f8fb38] Debug — [MusicAnalysis] MusicAnalysis: Analyzing album 466104 ( - ).

 ![image](https://global.discourse-cdn.com/plex/original/4X/1/c/0/1c0f98805a347d6bf0ad78b8eb84216cee13806e.jpeg)

Logs:  
[Plex Media Server Logs\_2022-07-23\_21-28-59.zip](https://forums.plex.tv/uploads/short-url/d6Devb2KeYzhbpXyExbniNCkuAd.zip) (3.7 MB)

---

<div class="post-metadata">

**Author:** ![anon5074910](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@anon5074910](https://forums.plex.tv/u/anon5074910)\
**Post date:** [July 24, 2022, 3:32pm UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903/2 "2022-07-24T15:32:41Z")

</div>

Bad files by any chance ? I see a bunch of `Track has no audio stream.`. Example below …

```auto
Jul 23, 2022 21:22:13.744 [0x15226e2c8b38] DEBUG - Scanner: Processing directory /music/Casting Crowns (CCM Group)/The Altar and the Door (2007) (parent: yes)
Jul 23, 2022 21:22:13.746 [0x1522a92ccb38] DEBUG - [MusicAnalysis] MusicAnalysis: Analyzing album 466104 ( - ).
Jul 23, 2022 21:22:13.753 [0x1522a92ccb38] DEBUG - [MusicAnalysis] Decoding 11 files for input to the analyzer.
Jul 23, 2022 21:22:13.753 [0x1522a92ccb38] ERROR - [MusicAnalysis] Track has no audio stream.

```

---

<div class="post-metadata">

**Author:** ![VodoBaas1](https://avatars.discourse-cdn.com/v4/letter/v/c37758/32.png) [@VodoBaas1](https://forums.plex.tv/u/VodoBaas1)\
**Post date:** [July 24, 2022, 3:50pm UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903/3 "2022-07-24T15:50:35Z")

</div>

Yeah I’ve tried to go thru each one that I can find and delete those. What I can’t seem to find is the 5 Albums in section 3 and album 466104 ( - ).

I have deleted any that had an actual directory listed.

---

<div class="post-metadata">

**Author:** ![anon5074910](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@anon5074910](https://forums.plex.tv/u/anon5074910)\
**Post date:** [July 24, 2022, 3:52pm UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903/4 "2022-07-24T15:52:30Z")

</div>

Did you rescan and empty the trash in plex after deleting ? You might even need to [plex dance](https://forums.plex.tv/t/the-plex-dance/197064) the album/artist.

---

<div class="post-metadata">

**Author:** ![VodoBaas1](https://avatars.discourse-cdn.com/v4/letter/v/c37758/32.png) [@VodoBaas1](https://forums.plex.tv/u/VodoBaas1)\
**Post date:** [July 24, 2022, 3:54pm UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903/5 "2022-07-24T15:54:51Z")

</div>

I thought so, but I will do it again now and confirm. Thanks for the suggestion.

---

<div class="post-metadata">

**Author:** ![VodoBaas1](https://avatars.discourse-cdn.com/v4/letter/v/c37758/32.png) [@VodoBaas1](https://forums.plex.tv/u/VodoBaas1)\
**Post date:** [July 25, 2022, 2:40pm UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903/6 "2022-07-25T14:40:17Z")

</div>

So I verified that I emptied the trash and have done the [plex dance](https://forums.plex.tv/t/the-plex-dance/197064) and still get the error as follows:

Jul 25, 2022 10:36:28.067 [0x14d118402b38] Debug — Scanner: Processing directory /music/David Guetta/GRRRR (2009) (parent: yes)  
Jul 25, 2022 10:36:28.072 [0x14d118402b38] Debug — Activity: updated activity 010cfc19-148f-4e58-a852-318863f4851a - completed 0.0% - Scanning Music  
Jul 25, 2022 10:36:28.073 [0x14d118402b38] Debug — Activity: updated activity 010cfc19-148f-4e58-a852-318863f4851a - completed 99.0% - Scanning Music  
Jul 25, 2022 10:36:28.073 [0x14d118402b38] Debug — Scanner [Plex Music]: Idle and left with 1 media items.  
Jul 25, 2022 10:36:28.759 [0x14d118402b38] Debug — MusicAnaysis: Not kicking off analysis because section 3 was active already.  
Jul 25, 2022 10:36:28.759 [0x14d118402b38] Debug — Activity: updated activity 010cfc19-148f-4e58-a852-318863f4851a - completed 100.0% - Scanning Music  
Jul 25, 2022 10:36:29.188 [0x14d118402b38] Debug — Activity: updated activity 45ad0c3a-d48b-45af-a07e-28b2373fb6a5 - completed 0.0% - Scanning Music  
Jul 25, 2022 10:36:29.352 [0x14d112e6cb38] Debug — [MusicAnalysis] Activity: Ended activity f354e44c-dc64-473a-b06e-a46d0668cc46.  
Jul 25, 2022 10:36:29.353 [0x14d112e6cb38] Debug — [MusicAnalysis] Indexes completed.  
Jul 25, 2022 10:36:29.391 [0x14d1191bdb38] Debug — [MusicAnalysis] Fetching all analysis data from tracks from section 3.  
Jul 25, 2022 10:36:29.392 [0x14d1191bdb38] Debug — [MusicAnalysis] Activity: updated activity 89e665f2-f4f2-4769-a22d-b73de4a586e6 - completed 20.0% - Sonic Analysis  
Jul 25, 2022 10:36:29.395 [0x14d112e6cb38] Debug — [MusicAnalysis] Activity: registered new activity eae7268e-2679-4970-9280-68b330ce7a2d - “Sonic Analysis”  
Jul 25, 2022 10:36:29.836 [0x14d112e6cb38] Debug — [MusicAnalysis] Analyzing 5 albums in section 3.  
Jul 25, 2022 10:36:29.836 [0x14d112e6cb38] Debug — [MusicAnalysis] Activity: updated activity eae7268e-2679-4970-9280-68b330ce7a2d - completed 0.0% - Sonic Analysis  
Jul 25, 2022 10:36:29.859 [0x14d112e6cb38] Debug — [MusicAnalysis] MusicAnalysis: Analyzing album 466104 ( - ).  
Jul 25, 2022 10:36:29.868 [0x14d112e6cb38] Debug — [MusicAnalysis] Decoding 11 files for input to the analyzer.  
Jul 25, 2022 10:36:29.868 [0x14d112e6cb38] Error — [MusicAnalysis] Track has no audio stream.  
Jul 25, 2022 10:36:29.868 [0x14d112e6cb38] Debug — [MusicAnalysis] Killing job.  
Jul 25, 2022 10:36:29.868 [0x14d112e6cb38] Debug — [MusicAnalysis] Activity: updated activity eae7268e-2679-4970-9280-68b330ce7a2d - completed 100.0% - Sonic Analysis  
Jul 25, 2022 10:36:30.626 [0x14d118402b38] Debug — Scanning Music using en(Plex Music) with 1 current media items and 1 section locations in the database.  
Jul 25, 2022 10:36:30.626 [0x14d118402b38] Debug — Performing a scan with ‘Plex Music’ (language: en virtual: 0).  
Jul 25, 2022 10:36:30.626 [0x14d118402b38] Debug — \* Scanning /music/David Guetta/Permanence (2022)

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [July 25, 2022, 6:25pm UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903/7 "2022-07-25T18:25:33Z")

</div>

Can you please provide the media info about this track?

For it to say there is no audio stream makes no sense. The codec should be supported (?)

```auto
Jul 25, 2022 10:36:28.073 [0x14d118402b38] Debug — Scanner [Plex Music]: Idle and left with 1 media items.
Jul 25, 2022 10:36:28.759 [0x14d118402b38] Debug — MusicAnaysis: Not kicking off analysis because section 3 was active already.
Jul 25, 2022 10:36:28.759 [0x14d118402b38] Debug — Activity: updated activity 010cfc19-148f-4e58-a852-318863f4851a - completed 100.0% - Scanning Music
Jul 25, 2022 10:36:29.188 [0x14d118402b38] Debug — Activity: updated activity 45ad0c3a-d48b-45af-a07e-28b2373fb6a5 - completed 0.0% - Scanning Music
Jul 25, 2022 10:36:29.352 [0x14d112e6cb38] Debug — [MusicAnalysis] Activity: Ended activity f354e44c-dc64-473a-b06e-a46d0668cc46.
Jul 25, 2022 10:36:29.353 [0x14d112e6cb38] Debug — [MusicAnalysis] Indexes completed.
Jul 25, 2022 10:36:29.391 [0x14d1191bdb38] Debug — [MusicAnalysis] Fetching all analysis data from tracks from section 3.
Jul 25, 2022 10:36:29.392 [0x14d1191bdb38] Debug — [MusicAnalysis] Activity: updated activity 89e665f2-f4f2-4769-a22d-b73de4a586e6 - completed 20.0% - Sonic Analysis
Jul 25, 2022 10:36:29.395 [0x14d112e6cb38] Debug — [MusicAnalysis] Activity: registered new activity eae7268e-2679-4970-9280-68b330ce7a2d - “Sonic Analysis”
Jul 25, 2022 10:36:29.836 [0x14d112e6cb38] Debug — [MusicAnalysis] Analyzing 5 albums in section 3.
Jul 25, 2022 10:36:29.836 [0x14d112e6cb38] Debug — [MusicAnalysis] Activity: updated activity eae7268e-2679-4970-9280-68b330ce7a2d - completed 0.0% - Sonic Analysis
Jul 25, 2022 10:36:29.859 [0x14d112e6cb38] Debug — [MusicAnalysis] MusicAnalysis: Analyzing album 466104 ( - ).
Jul 25, 2022 10:36:29.868 [0x14d112e6cb38] Debug — [MusicAnalysis] Decoding 11 files for input to the analyzer.
Jul 25, 2022 10:36:29.868 [0x14d112e6cb38] Error — [MusicAnalysis] Track has no audio stream.
Jul 25, 2022 10:36:29.868 [0x14d112e6cb38] Debug — [MusicAnalysis] Killing job.
Jul 25, 2022 10:36:29.868 [0x14d112e6cb38] Debug — [MusicAnalysis] Activity: updated activity eae7268e-2679-4970-9280-68b330ce7a2d - completed 100.0% - Sonic Analysis

```

---

<div class="post-metadata">

**Author:** ![VodoBaas1](https://avatars.discourse-cdn.com/v4/letter/v/c37758/32.png) [@VodoBaas1](https://forums.plex.tv/u/VodoBaas1)\
**Post date:** [July 25, 2022, 7:45pm UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903/8 "2022-07-25T19:45:02Z")

</div>

I’m not sure how I’m supposed to know what track that is though.

That’s not a file name listed in the parent folder of: Jul 25, 2022 10:36:28.067 [0x14d118402b38] Debug — Scanner: Processing directory /music/David Guetta/GRRRR (2009) (parent: yes)

So, I’m kind of lost on how to know what the file is and what the issue might be.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [July 25, 2022, 7:47pm UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903/9 "2022-07-25T19:47:21Z")

</div>

I’m going off the excerpt you posted. I presumed you were targeting this section.  
The only thing I see in this section is the lack of audio data track.

Can you perhaps give me the full ZIP file to examine?

---

<div class="post-metadata">

**Author:** ![VodoBaas1](https://avatars.discourse-cdn.com/v4/letter/v/c37758/32.png) [@VodoBaas1](https://forums.plex.tv/u/VodoBaas1)\
**Post date:** [July 25, 2022, 7:50pm UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903/10 "2022-07-25T19:50:13Z")

</div>

I have the full zip file posted in the original post. Would you like a newer one downloaded and sent over?

Thanks!

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [July 25, 2022, 8:53pm UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903/11 "2022-07-25T20:53:16Z")

</div>

Thank you. i went and asked questions.

The log should look like when performing analysis.

```auto
Jul 25, 2022 08:56:22.867 [0x700008f0c000] DEBUG - [MusicAnalysis] MusicAnalysis: Analyzing album 4550334 (Portugal. The Man - Evil Friends).

```

Your logs look like this:

```auto
Jul 23, 2022 21:23:07.960 [0x15226e2c8b38] DEBUG - Scanner: Processing directory /music/Andy Griggs/This I Gotta See (parent: yes)
Jul 23, 2022 21:23:07.966 [0x1522a1bc3b38] DEBUG - [MusicAnalysis] MusicAnalysis: Analyzing album 466104 ( - ).
Jul 23, 2022 21:23:07.972 [0x1522a1bc3b38] DEBUG - [MusicAnalysis] Decoding 11 files for input to the analyzer.
Jul 23, 2022 21:23:07.972 [0x1522a1bc3b38] ERROR - [MusicAnalysis] Track has no audio stream.
Jul 23, 2022 21:23:07.972 [0x1522a1bc3b38] DEBUG - [MusicAnalysis] Killing job.
Jul 23, 2022 21:23:07.972 [0x1522a1bc3b38] DEBUG - [MusicAnalysis] Activity: updated activity 426c5b40-14f6-4985-b57a-66745c1f2461 - completed 100.0% - Sonic Analysis

```

Please notice there is no `( Artist - Album name )` information.

The only way to find these files is by direct query of the DB.

1. Stop Plex
2. Get into the databases directory (under `Plex Media Server/Plug-in Support/Databases`)
3. We must perform direct sqlite query to find the title / path

```auto
sqlite3 com.plexapp.plugins.library.db
select title from metadata_items where id=466104;

```

From your logs, something in the Andy Griggs directory seems to be the problem.  
The query of the DB should reveal the exact title.

---

<div class="post-metadata">

**Author:** ![VodoBaas1](https://avatars.discourse-cdn.com/v4/letter/v/c37758/32.png) [@VodoBaas1](https://forums.plex.tv/u/VodoBaas1)\
**Post date:** [July 25, 2022, 11:47pm UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903/12 "2022-07-25T23:47:31Z")

</div>

Thank for the help so far. I went through to the location and searched for “466104” and get this:

 ![image](https://global.discourse-cdn.com/plex/original/4X/3/b/e/3be69ad9a4c77bc073cb0fe24794287f2d3c4b57.jpeg)

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [July 26, 2022, 1:19am UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903/13 "2022-07-26T01:19:31Z")

</div>

I’m not familiar with that tool but from what that shows, anything with `local://` is not matched at all.

Seeing that ‘title’ is blank confirms something’s not right.

Have you performed a physical (directory browser) inspection to see all the files have a valid size and can play?

It does look like there are some adjacent files (have the same 466104 ID).

do those titles make sense?

---

<div class="post-metadata">

**Author:** ![VodoBaas1](https://avatars.discourse-cdn.com/v4/letter/v/c37758/32.png) [@VodoBaas1](https://forums.plex.tv/u/VodoBaas1)\
**Post date:** [July 27, 2022, 3:52am UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903/15 "2022-07-27T03:52:15Z")

</div>

So the other files played fine, I’m not sure how I get this line corrected to stop throwing the error though. Is there a way to clear this line or two out of the database. I’m just using a sql lite browser to look at the database.

---

<div class="post-metadata">

**Author:** ![VodoBaas1](https://avatars.discourse-cdn.com/v4/letter/v/c37758/32.png) [@VodoBaas1](https://forums.plex.tv/u/VodoBaas1)\
**Post date:** [July 28, 2022, 1:15pm UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903/16 "2022-07-28T13:15:27Z")

</div>

Is there any way to fix the DB to remove the troubled entries?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [October 26, 2022, 1:16pm UTC](https://forums.plex.tv/t/sonic-analysis-keeps-getting-stuck/801903/17 "2022-10-26T13:16:15Z")

</div>

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