Recently added order screwed up

Server Version#: 1.14.0.5470
Player Version#:

Yesterday my Plex Server started to scan my entire movies library and it seemed like everything was being added from scratch. Al my movies have other posters, but worst of all: my ‘Recently Added’ order has been totally screwed up. As for now, the most recently added movie is the oldest one on my NAS.

How can this happen? This morning, my tv-shows seems to be doing the same screw-up…

Any help is greatly appreciated!

Patrick

If you have your media storage not inside the Plex server machine.

Settings - Server - library - “empty trash automatically” <-- Disable

Great, I’ll try that! Do I need to make sure of some settings in scheduled tasks too?

No, none of these could cause this behaviour.

Okay! I’ll leave those alone!

Now I have a lot of trash cans in my shows library. How to fix that correctly?

  1. call up the Plex media info on a few of these and take a note under which drive letter/drive name/pathname Plex is expecting to find this item.
    Compare that to the actual drive name and path where you can find this file with your operating system’s file manager (i.e. ‘Finder’).
    Are the two identical? If yes, proceed to step 2. If no, report back please.
  2. Scan Library Files should do it https://support.plex.tv/articles/200392106-library-actions/

Awesome! That did the trick! Hopefully it keeps working now :slight_smile:
Thanks a lot!

I still get random thrash cans…
I also noticed that when I edit the library and check the folders, my folder just disappeared!
I added it and some time later is disappeared again. What could be happening?

  1. activate debug logging (not ‘verbose’!)
  2. quit Plex Server
  3. wait 1 minute
  4. start Plex Server
  5. wait 5 minutes
  6. 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/articles/201100678-repair-a-corrupt-database/

Thanks! I did just that, but found no mentions of “corrupt” or “malformed”.
To be sure I did a full library scan and checked the logs again, but still no mentions to be found.
I added the logs in case I missed something. Plex Media Server.log (605.9 KB)

This an example of the error I’m seeing. There are about 10 movies in this library which show the problem, the rest is okay.

Is your NAS spinning down its drives, when they’re not in use?
It could be that the first few items which are scanned appear to be inaccessible, simply because the drive where they sit on hasn’t been spun back up fast enough.

Try to set your NAS’s power saving preferences to a less aggressive ‘spinning down policy’.
(“NAS-rated” drives aren’t made to be spun up and down all the time, anyway. Doing that will shorten the life expectancy of the drives.)

Access the affected files directly and make sure the drives have spun. Then immediately start another run of ‘Scan library files’.
It should cure the rest of the trash cans.

No, the NAS is always available and does not spin-down. Also, the 10 movies that are inaccessible or unavailable seem at random places (not the first or last 10).

I have accessed the NAS directly and played one of the movies directly from the NAS, without the use of Plex, without any problem. Even when scanning while playing the movie, Plex does not see them…

I have also tried to move the files to another location (non-Plex folder), scan + empty trash, move back to Plex Movie folder, scan again. It still does not recognise these 10 movies… It is really strange, because the files seem to be okay…

I have also tried to add one of those movies to another library (Movies 3D) but Plex does not see the file there either. Does not seem to be a problem with the library but with Plex or the movie file, it think…

I figured it out. I have set the folder permissions again, and checked the box “Apply to this folder, subfolders and files”. That did the trick, so it seemed permission-related :wink:

Thanks a lot for thinking and helping me out!!

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