Server Version#: 4.147.1
Player Version#:
Recently, my library quit updating when new files would be added. I’ve made sure that my Plex Media Server is up to date through my docker install. I’m not sure where to start with looking into this. Any help would be greatly appreciated.
Plex Media Server Logs_2025-11-26_10-05-57.zip (3.8 MB)
ChuckPa
November 26, 2025, 5:29pm
2
@codywilliams821
You have database damage.
Nov 25, 2025 05:25:14.393 [22372265642808] DEBUG - [Req#52fb36] HubCache: Retrieving '1/continueWatching/1/hubs/continueWatching/items/enexternal-media,indirect-media,hub-style-list/contentDirectoryID=1%2C2' from the cache.
Nov 25, 2025 05:25:14.394 [22372265642808] DEBUG - [Req#52fb36] HubCache: 11 hubs cached, 82.1% hit ratio.
Nov 25, 2025 05:25:14.394 [22372265642808] DEBUG - Setting container serialization range to [0, 19] (total=-1)
Nov 25, 2025 05:25:14.395 [22372431772472] ERROR - SQLITE3:0x80000001, 11, database corruption at line 69165 of [a29f994989]
Nov 25, 2025 05:25:14.395 [22372431772472] ERROR - SQLITE3:0x80000001, 11, statement aborts at 7: [SELECT di.`id` FROM directories di WHERE di.`library_section_id`=:C1] database disk image is malformed
Nov 25, 2025 05:25:14.397 [22372431772472] DEBUG - Activity: Ended activity f58b4003-3dae-4591-b373-390398364047.
Nov 25, 2025 05:25:14.397 [22372431772472] ERROR - LibraryUpdater: exception updating libraries; pausing updates briefly before retrying: std::exception
How skilled are you at the Linux command line?
Pretty good with the terminal but not databases so much. I think I’ve found an article about repairing the database though. Thank you for pointing me in the right direction.
Use DBRepair.
Start with the Auto option.
Database repair utility for Plex Media Server databases