@elan thank you. Found the folders. Don’t know if this is Mac specific but I tried the way described above. And at first everything was working ok. But then analysis caused server to crash again.
But this is weird. Let me explain what caused crash.
I did as you said above. I ripped a new CD and tagged the music files through Musicbrainz Picard. Musicbrainz has a naming script I use. It placed the music in the correct folder in my library. Plex analyzed it and we were back in business. Everything was ok.
I then decided to change some tags. The tags trigger the naming script to put music into a new folder inside the main library folder. As soon as the music was moved to this new folder, Plex did its thing and I saw the music album show up in the library and then analysis started and after about 30 or 40 seconds into analysis of the entire album Plex crashed again.
So it looks like on Mac at least on my machine in my library if I move music files after they have been analyzed, when it arrives into a new folder, the server wants to analyze the files again, and something weird happens and then analysis fails and Plex then crashes.
I have to point out that the naming script, deletes empty folders. Thought you would like to know.
I wanted to post again because I have been trying to figure out what is happening with my server and it crashing when analysis is done. I got the server to analyze the tracks and then my system got hung on “rebuilding the artist index” it was stuck on that for hours.
I thought maybe one of my files was bad. I systematically started removing one file at a time. Until I notice. in my ripped CD folders I keep a JPG file for the cover. Just one JPG file. The JPG file for some reason is making Plex hang. So I tried moving another album with a cover jpg in it. And yup all the ones that have JPGs in them Plex hangs on rebuilding the artist index. So I don’t know if thats an issue with the JPG or maybe if with what I named it. The jpeg is named cover.jpg
Yeah Im scratching my head over here. Been adding music and decided to use a slightly different folder structure. I still have maintained the Plex folder structure. I just moved some music to a Explicit folder for explicit music and I moved some music to a separate Holiday folder. To keep that music separated from the main library. So this shouldn’t have caused any issues.
The only thing I have been able to figure out is that if I move a file within my library that has already been analyzed, the server will analyze it again in its new location. And then it will get hung up on either sonic analysis or rebuilding the artist index. It just spins forever or it crashes.
I can’t tell if its the music file or something else. But Im gonna keep my eye on it and see if I notice anything else.
if I may chime in on this: Is there a way to like…repair the track/album index without deleting it entirely @elan?
I’m having random crashes upon Sonic Analysis as well, described in this thread, but I have almost 400k songs in my library and rebuilding sonic analysis from scratch would be a big bummer.
I doubt there’s a way, but maybe somebody could help in another way? Desperately trying to solve this
EDIT: Never mind I deleted the Music Analysis folders and hope it’s working again now
Just out of curiosity: Is the analysis not generated again entirely when deleting those folders? The files in the folders are back, but there was no sonic analysis task for my music library. Is this how it should be?
I was expecting the analysis would be done again completely
EDIT: After starting to add music again, the same issues occur, sadly Sonic analaysis starting multiple threads of 4 albums at a time, multiple instances of building indexes as well, leading to a crash eventually
I totally see that. However, I thought if I delete those folders, the information would need to be generated again, but this didn’t happen.
I’m pretty sure I am, as I always go with the latest Plex Pass beta builds, which in this case is 1.25.3.5409.
I currently have not added any new music, so I hope it’s fine that you can have a look into the logs from a few days ago in my OP. Hope you can see anything that might help me
How I wished it would be so simple Unfortunately, my username folder is just “donat”, nothing non-latin sadly. Any other assumption you have? I’m trying to solve this for days now
And thank you so much for taking the time to help a random user and be so close to your community elan <3
Well, well, well…I’m not entirely sure why this is happening now, but I’m constantly adding music with sonic analysis enabled for newly added items and for the moment it seems like it’s processing fine
There’s basically nothing I changed between the last bunch of added items and this one. Only thing I did was disabling sonic analysis for newly added items and enabling it again now and deleting the folders you specified earlier
I do not have 15+ instances of sonic analysis running, but 1 by 1 tasks for a bunch of albums at the same time, which is completely new on my server and the first time it is working as expected in the past few months So maybe deleting the Sonic Analysis albums in the Plex data directory indeed already solved it?
May it be as it is, it seems to be working fine now and I’m so happy it does No more crashes here currently, thank you a bunch!!!
Nevermind. It started again. Will post logs as soon as it crashed.
It took a while to crash, here are the logs right after I rebooted the server @elan
Chiming back in on this one. @SartBimpson what server version are you on?
BEFORE I updated to my current Server Version: 1.25.3.5409
I was getting crashes before version 1.25.3.5409 just as you were by just moving tracks from one folder to another.
I switched my Library settings for Analyze Audio Tracks for Loudness and Analyze Audio Tracks for sonic Features to as a scheduled task instead of as scheduled and when media is added. I could never figure out if the crash happened due to when media added setting or not. May have just been a coincidence.
Maybe try that. Maybe update server if you are running an older version.