Server Version#: 1.41.3.9314
Player Version#: 1.105.2.269-12a32491
Lifetime license
My Problem:
Newly added files do not appear in my libraries anymore - songs as well as movies.
What I already tried:
Starting the scanning process manually did not solve the problem.
Restarting the server did not solve the problem.
Opening the “Recently Added” playlist delivers an “unexpected error”.
Any suggestions how to deal with that? Thanks in advance!
Can you post a copy of your server logs? Before we throw the naming schema under the bus (I suspect it is an issue that needs fixed, but not the root cause for your issue), there may be an underlying database corruption issue.
an 06, 2025 07:19:08.908 [139803362937656] DEBUG - [Req#24b7f] Item 12867 (BRAVO - The Hits 2011) Scanning metadata graphic elements in XML file ""/Info.xml
Jan 06, 2025 07:19:08.914 [139803362937656] DEBUG - [Req#24b7f] Loading information from media bundle for part ID 12321 from "/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Media/localhost/0/5ff73e3d95f08bcfb8c41425c54829845d86818.bundle/Contents"
Jan 06, 2025 07:19:08.914 [139803362937656] ERROR - [Req#24b7f] SQLITE3:0x80000001, 11, database corruption at line 84326 of [a29f994989]
Jan 06, 2025 07:19:08.914 [139803362937656] ERROR - [Req#24b7f] SQLITE3:0x80000001, 11, statement aborts at 11: [SELECT idx, start_block, leaves_end_block, end_block, root FROM 'main'.'fts4_metadata_titles_icu_segdir' WHERE level = ? ORDER BY idx ASC] database disk image is malformed
Depending on how long the damage has existed, you might be able to repair it.
Repair options are two methods:
Replace the current main database with a backup (which still might have this internal data damage)
Run my DB repair tool, in IGNORE mode, and have it attempt the work
(‘Auto’ will do the best it can). If not, you can use REPLACE to start trying backups.
DBRepair.sh is run from the Syno SSH command line as root.
Look at the README.md file. Take your time going through it.
I show a lot of examples how to use it.
The tool has been updated a bit since the README was last updated.
Using Synology File Station, navigate to the Plex Data Folder (/PlexMediaServer/…). Right click on the Logs directory and choose Compress to Logs.zip. Download the zip file and attach it to the thread.
There is a permissions problem in the PlexMediaServer directory.
Jan 06, 2025 19:39:11.222 [140097319508624] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.39.4, threadsafe=1
Jan 06, 2025 19:39:11.222 [140097319508624] ERROR - SQLITE3:0x80000001, 14, cannot open file at line 41714 of [a29f994989]
Jan 06, 2025 19:39:11.222 [140097319508624] ERROR - SQLITE3:0x80000001, 14, os_unix.c:41714: (13) open(/volume1/PlexMediaServer/AppData/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db) - Permission denied
Jan 06, 2025 19:39:11.222 [140097319508624] ERROR - Promise destroyed without handling exception: Promise fell out of scope without resolving or rejecting
Did you run this as root (sudo bash) ???
Now to fix the file permissions so the DB will open.