Server Version#: 1.40.0.7998
Player Version#: 10.9.0.5676
My plex server running in docker on my unraid recently stopped being able to see my library of content on my unraid shares. I get this in the plex server when trying to view the library:
And I get this when I look at the logs in the docker container:
cont-finish.d] executing container finish scripts…
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] 40-plex-first-run: executing…
[cont-init.d] 40-plex-first-run: exited 0.
[cont-init.d] 45-plex-hw-transcode-and-connected-tuner: executing…
[cont-init.d] 45-plex-hw-transcode-and-connected-tuner: exited 0.
[cont-init.d] 50-plex-update: executing…
[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
Starting Plex Media Server.
[services.d] done.
Critical: libusb_init failed
Stopping Plex Media Server.
[cont-finish.d] executing container finish scripts…
[cont-finish.d] done.
[s6-finish] waiting for services.
How do I trouble shoot this issue further? It’s been running great for about 6 months now.
I found the Plex Media Server.log file and found these errors:
Feb 14, 2024 08:26:58.339 [23361627572880] ERROR - SQLITE3:0x80000001, 11, database corruption at line 72267 of [a29f994989]
Feb 14, 2024 08:26:58.339 [23361627572880] ERROR - SQLITE3:0x80000001, 11, statement aborts at 3: [SELECT value FROM ‘main’.‘fts4_metadata_titles_icu_stat’ WHERE id=?] database disk image is malformed
Feb 14, 2024 08:26:58.339 [23361627572880] ERROR - SQLITE3:0x80000001, 11, statement aborts at 10: [UPDATE metadata_items SET extra_data = NULL WHERE id IN (SELECT value FROM json_each(?))] database disk image is malformed
Feb 14, 2024 08:26:58.339 [23361627572880] ERROR - Exception inside transaction (inside=1) (/home/runner/actions-runner/_work/plex-media-server/plex-media-server/Library/DatabaseMigrations.cpp:292): sqlite3_statement_backend::loadOne: database disk image is malformed
Feb 14, 2024 08:26:58.340 [23361627572880] ERROR - Exception thrown during migrations, aborting: sqlite3_statement_backend::loadOne: database disk image is malformed
Feb 14, 2024 08:26:58.465 [23361627572880] DEBUG - ChangestampAllocator: initialized to 289404
Feb 14, 2024 08:26:58.490 [23361627572880] DEBUG - Opening 2 database sessions to library (com.plexapp.plugins.library.blobs), SQLite 3.39.4, threadsafe=1
I already ran the PRAGMA integrity_check; command on the com.plexapp.plugins.library.db file and it came back ok. Are these errors saying some other db is corrupt?
