Issue getting movies (tv shows are fine) to play on one TV and iphone

You’ve database corruption.

Download and run DBRepair for Plex Media Server.

To download:

  1. Go to this page: DBRepair/Windows/DBRepair-Windows.bat at master · ChuckPa/DBRepair · GitHub
  2. Click on the “download raw file” button (on the right, with arrow pointing down, to the right of “Raw” button).

To run:

  1. Do not double click on the .bat file.
  2. Run it from a command prompt, C:\DBRepair-Windows.bat

It will try to repair the Plex database. If it cannot, write back and include the output.


Example output:

C:\DBRepair-Windows.bat

NOTE: This script is being replaced with the PowerShell script DBRepair-Windows.ps1,
      which aims to better emulate DBRepair.sh (more options, interactive mode, etc).
      Consider moving over to the new script.

21:19:09.83 --  ====== Session begins. (Tue 06/24/2025) ======
21:19:10.08 -- Performing DB cleanup tasks
21:19:10.72 --  Exporting Main DB
21:19:10.85 --  Exporting Blobs DB
21:19:10.91 --  Exporting Complete.
21:19:10.91 --  Creating Main DB
21:19:11.13 --  Verifying Main DB
21:19:11.18 --  Main DB verification check is: ok
21:19:11.18 --  Main DB verification successful.
21:19:11.19 --  Creating Blobs DB
21:19:11.25 --  Verifying Blobs DB
21:19:11.29 --  Blobs DB verification check is: ok
21:19:11.29 --  Blobs DB verification successful.
21:19:11.30 --  Import and verification complete.
21:19:11.30 --  Reindexing Main DB
21:19:11.36 --  Reindexing Blobs DB
21:19:11.41 --  Reindexing complete.
21:19:11.41 --  Moving current DBs to DBTMP and making new databases active
        1 file(s) moved.
        1 file(s) moved.
        1 file(s) moved.
        1 file(s) moved.
21:19:11.43 --  Database repair/rebuild/reindex completed.
21:19:11.43 --  ====== Session completed. ======