Skip to main content
Avid Contributor I
Dec 20, 2021 11:27 AM UTC
Answered

Music library won't get indexed

Hi guys,

Having some difficulty getting Sonos to index a new NAS drive I’ve added.

It finds the network share and specific music just fine and starts indexing but it never finishes the job (tried this a few times now). It shouldn’t be prohibitively large (135gb of MP3s) as it worked fine on the previous NAS hard drive (I’ve had to swap a faulty SSD for a new one- that’s the only reason I’m having to reindex).

It’s said that it’s been ‘Updating Music Library’ for about 20 minutes now on my Mac OS Sonos Controller.  It’d be useful to know a little more about the actual progress of the job.

 

This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.
Ken_Griffiths
Dec 20, 2021 11:35 AM UTC

And scratch that. It’s finally indexed. One question I would ask though- is it quicker when reindexing and looking for changes? Just wondering if it was a lot slower as it was the first time this new drive had been indexed?

Yes, it is much (much) quicker after the initial indexing.

15 replies

nashieAuthor
Avid Contributor I
Dec 20, 2021 11:33 AM UTC

And scratch that. It’s finally indexed. One question I would ask though- is it quicker when reindexing and looking for changes? Just wondering if it was a lot slower as it was the first time this new drive had been indexed?

Translate
Ken_Griffiths
Dec 20, 2021 11:35 AM UTC

And scratch that. It’s finally indexed. One question I would ask though- is it quicker when reindexing and looking for changes? Just wondering if it was a lot slower as it was the first time this new drive had been indexed?

Yes, it is much (much) quicker after the initial indexing.

Translate
Trending Lyricist I
Dec 25, 2021 1:20 PM UTC

Indexng from my laptop (Itunes library) seems to be taking longer and longer and yet the libarary has increased significantly.  

It used to take c.10-15 mins

These days its approaching an hour ? !

And frustratingly,  you cannot view the progress of the update.  Or am I missing something ?

Translate
Trending Lyricist I
Dec 25, 2021 1:21 PM UTC

Indexng from my laptop (Itunes library) seems to be taking longer and longer and yet the libarary has increased significantly.  

It used to take c.10-15 mins

These days its approaching an hour ? !

And frustratingly,  you cannot view the progress of the update.  Or am I missing something ?

Sorry ...should read the Library “has not increased significantly”.

Translate
Ken_Griffiths
Dec 25, 2021 1:38 PM UTC

Indexng from my laptop (Itunes library) seems to be taking longer and longer and yet the libarary has increased significantly.  

It used to take c.10-15 mins

These days its approaching an hour ? !

And frustratingly,  you cannot view the progress of the update.  Or am I missing something ?

Sorry ...should read the Library “has not increased significantly”.

It might have needed to reindexed all due to the changes to the SMB version support perhaps? - Maybe see if it’s quicker next time.🤞

Translate
Trending Lyricist I
Dec 26, 2021 9:34 AM UTC

Thanks Ken...but I gave up at 3 hours. Will try again at some point.  

I'm sure this has been addressed elsewhere but it would be handy to have some form of visual progress bar to indicate how far through the indexing process, Sonos has got.

Translate
controlav
Lead Maestro
Dec 26, 2021 3:50 PM UTC

Thanks Ken...but I gave up at 3 hours. Will try again at some point.  

I'm sure this has been addressed elsewhere but it would be handy to have some form of visual progress bar to indicate how far through the indexing process, Sonos has got.

It doesn't know how long it will take until it has done it. Ever seen the progress bar for a big file copy over the network in Windows? Same problem 

Translate
Author of the leading independent Sonos apps for Android, MacOS, iOS, Windows and Xbox.
Ken_Griffiths
Dec 26, 2021 4:29 PM UTC

Thanks Ken...but I gave up at 3 hours. Will try again at some point.  

I'm sure this has been addressed elsewhere but it would be handy to have some form of visual progress bar to indicate how far through the indexing process, Sonos has got.

Give me a moment, I will remove my library completely from the Sonos App - The library is stored on a wired (netgear) NAS on a gigabit network and has 25,750 tracks (approx.) I will see how long it takes to index it to give you an idea of the time, so you can compare.

Translate
Ken_Griffiths
Dec 26, 2021 4:57 PM UTC

It took the Sonos App 14 minutes to index 25,746 tracks in my own test here.

Translate
Trending Lyricist I
Dec 26, 2021 5:22 PM UTC

Not sure it is related, but if you look at my post about the NAS connections, it seems like Sonos creates so many during indexing and/or browsing that it exceeded  the max connections. This resulted  in my music scan taking forever. I never had this problem until I updated the FW a few days ago, but I did also add a new speaker at the same time.

If you are able, run the smbstatus utility on your NAS and see how many connections you have, and then take a look at your smb.conf and see if there is a max connection limit. Not sure why Sonos needs so many connections, but if it exceeds you get a lot of strange behavior like long indexing times and skippped playback.

Translate