Hi. When selecting the All Movie option on any device (IOS, Smart TV, Web) I get unexpected error can’t load library. TV Shows and Music load fine, as do every other Movie filter such as recently added, recently released, unwatched etc. It’s only when trying to view All Movies filter. Any suggestions please? Using latest Plex Pass Server and Web Update. Thanks.
- activate debug logging (not ‘verbose’!)
- quit Plex Server
- wait 1 minute
- start Plex Server
- wait 5 minutes
- fetch log files and attach them here
Or inspect them yourself. Take a look at the Plex Media Server.log file and seek for messages about database corrupt or malformed.
If you find these, you may have to repair your database.
https://support.plex.tv/hc/en-us/articles/201100678-Repair-a-Corrupt-Database
Hi. Thanks for the reply. There are 5 messages with mentioning corrupt. I followed the repair section to check for corruption using terminal but it said "no such collation sequence: Naturalsort. I don’t know what that means! Thanks.
Yes, it means you are already on the latest server version.
Don’t worry, there are only 2 additional lines to copy in this case.
see this post please: http://forums.plex.tv/discussion/comment/1678319/#Comment_1678319
Hi. I ran the additional instructions as above, but still cannot show ALL movies.
Hi. If I manually select the movie section and choose scan library files, all the movies appear. However, if I then go to TV Shows and the back to Movies, I get the error again.
May I see a fresh Plex Media Server.log, 5 minutes after a server restart?
Hi, please see logs attached.
Your log file shows no sign of database corruption.
So far, so good.
Please disable ‘verbose’ logging, it is the opposite of helpful.
But keep ‘debug’ logging activated.
Then restart Plex Server.
I couldn’t find any direct issues in the logs.
I only noticed that you have over 8000 files in a single folder (your movies), which is not conducive to good performance.
You might want to create some subfolders in there (you could for instance create subfolders for each initial letter of your movie titles). Then move the files into these subfolders.
The goal is to have much less files in one single folder.
This will speed up operation of Plex server and lessens the likelihood of ‘timeouts’, which I assume are the ultimate source of your issues.
Hi, thanks for the continued advice.
In the debug setting, it isn’t set to verbose logging but only enabled. Could this be being overridden in a setting elsewhere?
Also in my movie folder, there is only 2483 items according to Finder and a lot of those would be SRT subtitles. I do delete a lot of movies via Plex when watched. Do you think Plex might not register they have been deleted hence the figure of 8000?
@hubbinslfc said:
In the debug setting, it isn’t set to verbose logging but only enabled. Could this be being overridden in a setting elsewhere?
Not that I know of.
Changing this setting requires a full Plex server restart before the change is effective.
Also in my movie folder, there is only 2483 items according to Finder and a lot of those would be SRT subtitles.
You are right. I did mistake the absolute number of lines with the number of lines containing file names.
Still, 2500 is a lot and I recommend you to reduce that to max. 100 or 200 per subfolder.
Thanks, I will create subfolders within my movie folder and post back an update. Many thanks.
Hi. I started to create subfolders but Plex regards this as adding new movies and so my recently added list was changed. So is there a way to create subfolders but maintain my Plex recently added list?
Unfortunately not.
The only thing you can try is to copy a few files into the subfolder.
Then update the library. If this was successfully recognized, then erase the original files.
Copy the next few files and update library again, and so on.