Hello, 1st post but long time user of PMS - thanks in advance for your help.
PMS keeps crashing when I manually scan for new media in one of my folders, it won’t add any new video files but plays existing video files perfectly fine.
The automatic scanning feature isn’t working to add new video files either.
Not sure what has changed in the past few days, noticed this starting to happen on Fri. 12/29.
Already uninstalled and downloaded a clean copy of PMS.
@jpbl104 said:
Attached a number of logs manually, please let me know if this helps.
PMS has crashed again, had to manually restart the application, what do you recommend (and do you need additional log files)?
Thanks!
There should have been more log files
The crash uploader log shows a crash at Jan 02, 2018 02:06:25
But the server log you attached is for Jan 02, 2018 12:52:19
Best to take a copy of the Plex Media Server logs folder (after a restart following a crash) and zip the copy and attach the zip
I need the logs leading up to a crash report being generated and uploaded. The upload may happen after the restart following a crash
@jpbl104 said:
Thank you, here are all of the logs from the ZIP file I generated after reboot.
The logs indicate some database corruption
Jan 02, 2018 02:06:23.503 [0x7000080f8000] ERROR - SQLITE3:0x700007bd9630, 11, database corruption at line 72951 of [fc49f556e4]
Jan 02, 2018 02:06:23.503 [0x7000080f8000] ERROR - SQLITE3:0x700007bd9630, 11, statement aborts at 11: [SELECT idx, start_block, leaves_end_block, end_block, root FROM 'main'.'fts4_metadata_titles_segdir' WHERE level = ? ORDER BY idx ASC] database disk image is malformed
Jan 02, 2018 02:06:23.503 [0x7000080f8000] ERROR - SQLITE3:0x700007bd9630, 11, statement aborts at 172: [update metadata_items set extra_data=? where metadata_type=? and library_section_id=? and absolute_index=?] database disk image is malformed
Jan 02, 2018 02:06:23.503 [0x7000080f8000] ERROR - Exception inside transaction (inside=1) (../Library/MetadataCollection.cpp:232): sqlite3_statement_backend::loadOne: database disk image is malformed
Jan 02, 2018 02:06:25.892 [0x7000080f8000] DEBUG - Job running: '/Applications/Plex Media Server.app/Contents/MacOS/CrashUploader' '--directory=/Users/Joe/Library/Application Support/Plex Media Server/Crash Reports/1.11.0.4666-fc63598ba' '--version=1.11.0.4666-fc63598ba' '--platform=darwin-x86_64 (10.13.2)' '--serverUuid=3e206ab0d29c7409fe18c4d4dc2ae9ab10bb6850' '--userId=xxxxxx@xxxx.xxx' '--url=https://crashreport.plexapp.com'
The issue where the plex media server crashed when the database had an issue is now addressed
Version 1.11.1 of Plex Media Server has now been released as beta. It should include a fix for the crashes that arise when the database is inaccessible for a period of time.
See Release Notice
A crash could occur on Windows after a library scan (#8029)