Thanks for the log files.
Three things.
The first one is the cause of your current issues. The other two are recommendations based on other things I noticed in the log files.
- Database corruption on your Plex Media Server. This is why Plex is not recognizing your new movies. When severe, it can also affect playback of existing movies.
Jul 11, 2021 08:45:12.051 [0x32d1f440] ERROR - SQLITE3:0x5d9e, 11, database corruption at line 64757 of [bf8c1b2b7a]
- Is Plex scanning temporary or working directories as you add media to the system?
If so, this can cause issues with media recognition, metadata downloading, etc. It can also lead to database corruption.
Example log entry (there are several thousand in the log files). It looks like Plex may be scanning a temporary or working area:
Jun 14, 2021 18:14:14.451 [0x31e47440] INFO - Library section 1 (Movies) will be updated because of a change in "/mnt/DroboFS/Shares/Plex/Movies/Video/01278794_SHOOTER/Shooter Tireur d'élite.theatrical.mkv"
- Your media naming & structure could be better. This is not causing your current problems, but if you follow Plex naming & organization guidelines, you will have less issues with Plex correctly recognizing and classifying new media.
/mnt/DroboFS/Shares/Plex/Movies/Shooter.mkv
/mnt/DroboFS/Shares/Plex/Movies/RESIDENT EVIL EXTINCTION.mkv
/mnt/DroboFS/Shares/Plex/Movies/RESIDENT EVIL AFTERLIFE.mkv
/mnt/DroboFS/Shares/Plex/Movies/RESIDENT EVIL.mkv
/mnt/DroboFS/Shares/Plex/Movies/RESIDENT_EVIL_APOC.mkv
/mnt/DroboFS/Shares/Plex/Movies/RESIDENT_EVIL_FINAL_CHAPTER.theatrical.mkv
/mnt/DroboFS/Shares/Plex/Movies/Resident Evil Retribution.mkv
Database Corruption
Plex Documentation → Repair a Corrupt Database 1.22.0 and earlier
You’ve three choices:
- Repair the database
- Restore from a backup
- Delete and start over (your media is not touched)
Repairing the database, which is not always possible, requires the most work. It also potentially saves the most information - play history, library organization, etc.
If you’ve a backup of the database, and the backup is not corrupt, you can restore from the backup. Metadata, etc for additions since the backup will be lost, but rescanning the libraries will pick them up. Database backups are scheduled in Settings → Scheduled Tasks, which also lists the backup location.
To determine whether or not a backup is corrupt, you can use the SQLITE commands listed in the “Repair a Corrupt Database…” document. Alternately, you can load the backup database on your system, scan your libraries, add/remove a movie, then pull log files and look in Plex Media Server.log for any entries regarding database corruption (load the backup, make Plex read/write to the database, then check logs for corruption).
The third alternative is to delete the database. This is like starting over from scratch. Your media files are not touched. However, you will lose library definitions, metadata customizations, play history, etc. You will have to recreate your libraries, reshare them with any users, etc.
Workflow
It is best to perform your media preparation (ripping, transcoding, etc) outside of Plex, then add the media to the system once the prep work is done.
Plex will pick up when a file is added/deleted/modified.
If you are ripping a movie into an area monitored by Plex, it will continuously scan that folder for changes, since the ripping application is continuously writing to the same folder.
This can cause Plex to have trouble correctly recognizing the media and downloading correct metadata. It can also lead to database corruption as Plex is continuously trying to update its database as the file changes.
Naming & Organization
Plex Documentation → Naming and Organizing Your Media
You should follow Plex requirements for media naming and organization. See the documentation, but the basics are (a) each movie in its own folder, and (b) add the year to the movie name.
This is to head off future issues. Spending a few minutes now can head off problems in the future.
Placing each movie in its own folder will speed up Plex scanning for new media. Plex scans for changes (Settings → Library → Run a partial scan). If each movie is in its own folder, Plex scans just the one item. If you have the movies in the same folder, Plex scans all of them instead of just the new addition. This isn’t a problem with small libraries, but can help as your libraries grow.
Also, if you want to add any extras - deleted scenes, outtakes, etc - you must place the movie in its own folder ( Local Files for Movie Trailers and Extras).
Adding the year helps Plex correctly recognize the movie and download the correct metadata. This is especially helpful where there are several movies in a franchise (Resident Evil, Fast & Furious, etc).
Instead of:
/mnt/DroboFS/Shares/Plex/Movies/
../Shooter.mkv
../RESIDENT_EVIL_APOC.mkv
../RESIDENT EVIL EXTINCTION.mkv
../RESIDENT EVIL AFTERLIFE.mkv
../RESIDENT EVIL.mkv
Consider:
/mnt/DroboFS/Shares/Plex/Movies/
../Shooter (2007)/Shooter (2007).mkv
../Resident Evil (2002)/Resident Evil (2002).mkv
../Resident Evil Apocalypse (2004)/Resident Evil Apocalypse (2004).mkv
../Resident Evil Extinction (2007)/Resident Evil Extinction (2007).mkv
../Resident Evil Afterlife (2010)/Resident Evil Afterlife (2010).mkv