Hello,
is there a way how to find in some logs when was files added and deleted? I had some issue with my disk array and some files was corrupted and deleted by file system (ReFS). I cant find details in system (when and what happend) so can you find in some PLEX logs when was specified file deleted?
You might be able to find some references when Plex scanned your files, no longer found one and removed it from your library in the Plex Media Server.log file or its „numbered predecessors“. Keep in mind this will only reflect when Plex scanned your files and didn’t find it… not when a file was actually deleted on your system. Depending how active your server is, the data might no longer be in the logs.
WebTools can extract the information from the Plex database if it still exists. You can get the Title and date added. Date Deleted is not available.
First, go to Settings → Library and, if enabled, disable Empty trash automatically after every scan. This will stop Plex from deleting entries from its database for the missing files.
WebTools
Edit: WebTools also has a Find Media report. It searches the filesystem and Plex database to locate media missing from either of them. You might need to run WebTools on the same system as Plex Media server for this to work (it needs access to the filesystem where PMS runs).
Download & install WebTools. It does not have to be installed on the same system as Plex Media Server (I run PMS on Linux and have WebTools on my Windows PC).
Launch the program and login to your Plex account.
If your server is not automatically selected, click the box next to the gold Reload button, select your server, click Reload.
Select Export Tools.
Select the desired Export Type, Sub Type, and Media Library
Export Level = All
Select Export Media
This will export a CSV file with a lot of info for each entry in the database. The first column is Added. There are also entries for Media Title and Sort Title. You can pull the CSV file into a spreadsheet and sort however you wish.
You can also create a custom report with less information.
Export Tools → Custom Levels
Select Type to Customize - Movies, TV, etc.
Custom Level = Define New Level, enter a name for the report.
Drag the desired fields from Available Fields to Custom Fields. You’ll want at least Title and Added.
Save Level
Now go back to Export Tools, Select fields as described above, except select your custom report for the Export Level.
Export Media.
Sample output from my movie library, a custom report with Added & Title fields:
"Title","Added"
"3:10 to Yuma","2022-02-31 23:58:01"
"12 Angry Men","2022-02-17 19:06:49"
"12 Strong","2021-02-15 1:28:18"
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.