Plex Media server (WD PR4100 NAS) hangs while scanning my music folder

Server Version#: 1.19.4.2902
Logs Attached

Hi all, I have a WD PR4100 NAS with Plex media server. all goes well for movies and series, but my music library scan is taking too long and after a while plex server stops responding on the web interface and i can’t see logs/settings etc… but it seems like the scanner keeps running on highest speed!

I have many (1.TB / 201.349 files) *.mp3 & *.jpg files within the music folder, with an perfectly arranged folder structure and naming standards.
There are no *.zip / *.rar / *.tmp / *.bad files within this folder available

Any idea how I can fix this? Or is this amount of files just to much for plex to handle?

Thanks all.

Plex Media Server Logs_2020-06-06_09-45-04.zip (6.3 MB)

Attached the folders & files structure screenshot… is almost same for all library:

You have your Settings > Debug Level set to Verbose. Set it to Disabled. If you’re scanning that amount of files with this on, that’s probably the cause of server freezes.

1 Like

Dear CostaHT, first of all thanks for your respond. Yes, you are right. i had missed disabling the Verbose logging from General settings. This was already disabled under " Plex Web Debug Settings", but not under general settings.

So i disabled this, restarted the server, cleared cash and optimized database, cleaned bundles, etc..
Then i hit re-scan library for this ‘Music folder’… and now after 2 min the server freezes, before it was after few hours :slight_smile:

Not even able to check logs, ass those also are not accessible! SO i restarted the server again to get logs, see attached.

Hope there is an solution for this.
Thanks again.

Settings screenshot:

Logfiles:

Plex Media Server Logs_2020-06-07_12-15-58.zip (5.2 MB)

btw, what does below message means:

Push: Waiting for refresh queue of 22188 items to quiesce.

getting this. more than 100 times, now…

I don’t know the answer for this question, but there are hundreds of error messages caused by Persian alphabet.
Plex can’t parse your movies and series under /shares/14TBHDD/Movies/Persian and /shares/14TBHDD/Series/Persian/

(Could not parse /shares/14TBHDD/Series/Persian/Raghs Rooye Shisheh - رقص روی شیشه/Raghs Rooye Shisheh.s01.e06.mp4 (error=-1094995529): Invalid data found when processing input)

Can you eliminate this problem first so we can have better logs?
adding a dot at the beginning of the name (.Persian) of a folder will prevent Plex from seeing it. (These movies will disappear from your library)

What is the disk usage on your device?
df -h will give your a overview

Thank you… can you tell me within which log file i can find the Invalid data found errors for the media?

/Persian/Raghs Rooye Shisheh - رقص روی شیشه/Raghs Rooye Shisheh.s01.e06.mp4 was an invalid file, which i have replaced and now it parse correctly with Plex… Persian language is not a pronlem as all files are correctly added into plex… i think there are several invalid files which are not getting processed…

so if you tell me within which log file i can find the list, i will check and will ensure all files are correct or removed… and will do another scan and will logs with you…

thanks again.

You can find these errors at Plex Media Scanner Analysis.log files. To make your life easer, I extracted the files that your server is having trouble with:

Could not parse /shares/14TBHDD/Movies/Persian/Aroos Bianca - Bianca Bride (Bride of Bianca) - عروس بیانکا.mp4
Could not parse /shares/14TBHDD/Movies/Persian/Ayenehe Taksi - The Mirror in the Taxi - آینه تاکسی.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Bar Faraze Asemanha - Up in the Sky - بر فراز آسمان ها.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Bastarhaye Jodaganeh - Separate Beds - بسترهای جداگانه.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Dokhtare Tala - Golden Girl - دختر طلا.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Doostane Yekrang - The Faithful Friends - دوستان یکرنگ.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Ensane Parandeh - The Flying Man - انسان پرنده.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Fereshteh Vahshi - The Wild Angel - فرشته وحشی.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Fil o Fenjan - Like an Elephant and a Tea Cup - فیل و فنجان.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Istgah Matrouk - The Deserted Station - ایستگاه متروک.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Javanane Emruzi - Today’s Youth - جوانان امروزی.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Kafar - Impious - کافر.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Kaka Siah - Kaka Siah - کاکا سیاه.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Khaneye Kenare Darya - The Beach House - خانه کنار دریا.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Khanoom Delash Motor Mikhad - She Wants a Motorboat - خانم دلش موتور می‌خواد.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Kolbeye Ansooye Roodkhaneh - A Hut Across the River - کلبه آن‌سوى رودخانه.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Oxidan - Oxidan - اکسیدان.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Parizad - Parizad - پری‌زاد.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Shahre Hert - City of No Laws - شهر هرت.mp4 
Could not parse /shares/14TBHDD/Movies/Persian/Soltan Ghalbha - King of Hearts - سلطان قلب ها.mp4 
Could not parse /shares/14TBHDD/Music/PMC/#Singles/#/#Singles/Sami Mosibat & Saeed Sonsy Ft Milad - Ghabe Shekaste.mp3 
Could not parse /shares/14TBHDD/Series/Persian/Bache Mohandes - بچه مهندس/Bache Mohandes.s01.e28.mp4 
Could not parse /shares/14TBHDD/Series/Persian/Dorehami - دورهمی/Dorehami.s02.e26.mp4 
Could not parse /shares/14TBHDD/Series/Persian/Dorehami - دورهمی/Dorehami.s02.e27.mp4 
Could not parse /shares/14TBHDD/Series/Persian/Lisanseha - لیسانسه‌ها/Lisanseha.s03.e09.mp4 
Could not parse /shares/14TBHDD/Series/Persian/Raghs Rooye Shisheh - رقص روی شیشه/Raghs Rooye Shisheh.s01.e06.mp4 

Thank you so much. i have removed/fixed all these files and rescanned the library and all works fine now… attached the new log.

the server is not freezing anymore, but next problem is that the metadata of the music library is not getting loaded anymore… before this worked… :frowning:

Plex Media Server Logs_2020-06-08_01-55-01.zip (6.0 MB)

There’s one file that still needs to be fixed /shares/14TBHDD/Movies/Persian/Kafar - Impious - کافر.mp4

And now there are hundreds of erros like the one bellow:
ERROR - Error response for update: 4 (Agent does not handle the given language).

DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=11&metadataItemID=583821&metadataType=8&state=5&metadataState=idle
DEBUG - Refreshing metadata for 'Soroush 13' (agent: com.plexapp.agents.none)
DEBUG - Refreshing GUID: 'com.plexapp.agents.none://583824?lang=en'
DEBUG - HTTP requesting GET http://127.0.0.1:32400/system/agents/update?mediaType=8&force=1&respectTags=1&guid=com%2Eplexapp%2Eagents%2Enone%3A%2F%2F583824%3Flang%3Den&id=583824
DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=11&metadataItemID=583824&metadataType=8&state=3&metadataState=queued
DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=11&metadataItemID=583824&metadataType=8&state=3&metadataState=queued
DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/system/agents/update?mediaType=8&force=1&respectTags=1&guid=com%2Eplexapp%2Eagents%2Enone%3A%2F%2F583824%3Flang%3Den&id=583824
ERROR - Error response for update: 4 (Agent does not handle the given language).
DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=11&metadataItemID=583824&metadataType=8&state=5&metadataState=idle
DEBUG - Refreshing metadata for 'Soroush Abedi' (agent: com.plexapp.agents.none)
DEBUG - Refreshing GUID: 'com.plexapp.agents.none://583827?lang=en'
DEBUG - HTTP requesting GET http://127.0.0.1:32400/system/agents/update?mediaType=8&force=1&respectTags=1&guid=com%2Eplexapp%2Eagents%2Enone%3A%2F%2F583827%3Flang%3Den&id=583827
DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=11&metadataItemID=583824&metadataType=8&state=5&metadataState=idle
DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=11&metadataItemID=583827&metadataType=8&state=3&metadataState=queued
DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=11&metadataItemID=583827&metadataType=8&state=3&metadataState=queued
DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/system/agents/update?mediaType=8&force=1&respectTags=1&guid=com%2Eplexapp%2Eagents%2Enone%3A%2F%2F583827%3Flang%3Den&id=583827
ERROR - Error response for update: 4 (Agent does not handle the given language).
DEBUG - Refreshing metadata for 'Soroush Adelnezhad' (agent: com.plexapp.agents.none)
DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=11&metadataItemID=583827&metadataType=8&state=5&metadataState=idle
DEBUG - Refreshing GUID: 'com.plexapp.agents.none://583832?lang=en'
DEBUG - HTTP requesting GET http://127.0.0.1:32400/system/agents/update?mediaType=8&force=1&respectTags=1&guid=com%2Eplexapp%2Eagents%2Enone%3A%2F%2F583832%3Flang%3Den&id=583832
DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=11&metadataItemID=583827&metadataType=8&state=5&metadataState=idle
DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=11&metadataItemID=583832&metadataType=8&state=3&metadataState=queued
DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=11&metadataItemID=583832&metadataType=8&state=3&metadataState=queued
DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/system/agents/update?mediaType=8&force=1&respectTags=1&guid=com%2Eplexapp%2Eagents%2Enone%3A%2F%2F583832%3Flang%3Den&id=583832
ERROR - Error response for update: 4 (Agent does not handle the given language).
DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=11&metadataItemID=583832&metadataType=8&state=5&metadataState=idle
DEBUG - Refreshing metadata for 'Soroush Amiran' (agent: com.plexapp.agents.none)
DEBUG - Refreshing GUID: 'com.plexapp.agents.none://583839?lang=en'


The SSDP error happens in many servers, including mine, but they never give a solution or convincing answer for that.

Hi CostaHT, thank you for all your support so far. what are these errors? how can i fix them?

So i have deleted the Music library, deleted all cache and logs, and restarted the refresh, and now it seems to work. took almost 2 days to complete.

Attaching the logs so you can see if anything weird is happening. Please do let me know in case i need take action fixing things…

Thanks again for the support…

Plex Media Server Logs_2020-06-10_02-08-51.zip (5.6 MB)

And hello again :slight_smile:

yesterday, post i had attached the log files, i retriggered the library scan and went to sleep. this morning i see it has been finished, but agaian the server has been frozen!

See last logs attached… is this an generic issue with Plex?

Plex Media Server Logs_2020-06-10_11-28-34.zip (3.9 MB)

And now getting this :frowning: is the DB corrupt?

Maybe some Ninja can help. That’s an internal error that I don’t know the cause. But you can find some error in your logs if you type these commands inside the folder:

Linux: grep ERROR *
Windows: type * | find "ERROR" (not sure about this command)

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