Can't scan to detect new files

Server Version#: 1.21.0.3711
Player Version#: 8.10.0.21911

I installed Plex Media Server on my Shield TV, everything was fine until now. When I added some new film files to my Flim library and scanned on my server, but the player couldn’t display the new films.

I can provide some log to analysis, thanks
(File removed)

I updated the PMS on the Shield TV yesterday, then tried to scan the movie’s library. I couldn’t imagine that it was done, but when I tried to scan the TV shows’ library or the movie’s library, it failed again.

I read the logs of Plex Media Scanner, there were many errors here:

Nov 21, 2020 11:58:21.640 [32425] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Nov 21, 2020 11:58:21.641 [32425] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1401) (tries=1): Cannot begin transaction. attempt to write a readonly database
Nov 21, 2020 11:58:22.532 [32425] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Nov 21, 2020 11:58:22.532 [32425] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1401) (tries=2): Cannot begin transaction. attempt to write a readonly database
Nov 21, 2020 11:58:23.314 [32425] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Nov 21, 2020 11:58:23.314 [32425] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1401) (tries=3): Cannot begin transaction. attempt to write a readonly database
Nov 21, 2020 11:58:23.878 [32425] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Nov 21, 2020 11:58:23.878 [32425] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1401) (tries=4): Cannot begin transaction. attempt to write a readonly database
Nov 21, 2020 11:58:25.007 [32425] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Nov 21, 2020 11:58:25.007 [32425] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1401) (tries=5): Cannot begin transaction. attempt to write a readonly database
Nov 21, 2020 11:58:25.264 [32425] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Nov 21, 2020 11:58:25.264 [32425] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1401) (tries=6): Cannot begin transaction. attempt to write a readonly database
Nov 21, 2020 11:58:25.778 [32425] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Nov 21, 2020 11:58:25.778 [32425] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1401) (tries=7): Cannot begin transaction. attempt to write a readonly database
Nov 21, 2020 11:58:26.806 [32425] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Nov 21, 2020 11:58:26.806 [32425] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1401) (tries=8): Cannot begin transaction. attempt to write a readonly database
Nov 21, 2020 11:58:27.864 [32425] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Nov 21, 2020 11:58:27.864 [32425] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1401) (tries=9): Cannot begin transaction. attempt to write a readonly database
Nov 21, 2020 11:58:28.978 [32425] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Nov 21, 2020 11:58:28.978 [32425] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1401) (tries=10): Cannot begin transaction. attempt to write a readonly database
Nov 21, 2020 11:58:28.978 [32425] ERROR - Exception thrown during analysis: Cannot begin transaction. attempt to write a readonly database

and this:

Dec 09, 2020 03:35:26.828 [15709] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Dec 09, 2020 03:35:26.828 [15709] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1449) (tries=1): Cannot begin transaction. attempt to write a readonly database
Dec 09, 2020 03:35:27.907 [15709] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Dec 09, 2020 03:35:27.907 [15709] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1449) (tries=2): Cannot begin transaction. attempt to write a readonly database
Dec 09, 2020 03:35:29.064 [15709] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Dec 09, 2020 03:35:29.064 [15709] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1449) (tries=3): Cannot begin transaction. attempt to write a readonly database
Dec 09, 2020 03:35:29.378 [15709] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Dec 09, 2020 03:35:29.378 [15709] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1449) (tries=4): Cannot begin transaction. attempt to write a readonly database
Dec 09, 2020 03:35:30.007 [15709] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Dec 09, 2020 03:35:30.007 [15709] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1449) (tries=5): Cannot begin transaction. attempt to write a readonly database
Dec 09, 2020 03:35:30.264 [15709] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Dec 09, 2020 03:35:30.264 [15709] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1449) (tries=6): Cannot begin transaction. attempt to write a readonly database
Dec 09, 2020 03:35:30.778 [15709] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Dec 09, 2020 03:35:30.778 [15709] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1449) (tries=7): Cannot begin transaction. attempt to write a readonly database
Dec 09, 2020 03:35:31.807 [15709] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Dec 09, 2020 03:35:31.807 [15709] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1449) (tries=8): Cannot begin transaction. attempt to write a readonly database
Dec 09, 2020 03:35:32.864 [15709] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Dec 09, 2020 03:35:32.864 [15709] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1449) (tries=9): Cannot begin transaction. attempt to write a readonly database
Dec 09, 2020 03:35:33.978 [15709] ERROR - SQLITE3:0x7fffffff, 8, statement aborts at 1: [BEGIN IMMEDIATE] attempt to write a readonly database
Dec 09, 2020 03:35:33.978 [15709] ERROR - Failed to begin transaction (../Library/MediaItem.cpp:1449) (tries=10): Cannot begin transaction. attempt to write a readonly database
Dec 09, 2020 03:35:33.978 [15709] ERROR - Exception thrown during analysis: Cannot begin transaction. attempt to write a readonly database

Maybe that’s the direction to solve the issue. But I didn’t change any setting of my FreeNAS or Shield TV‘s Plex Media Server, that’s really wired.

I checked the plexapp system log, I thought I dug out the cause that is the removable storage on the Shield TV. That was the error below:

IOError: [Errno 30] Read-only file system: '/storage/113B-E629/Android/data/com.plexapp.mediaserver.smb/Plex Media Server/Plug-in Support/Data/com.plexapp.system/HTTPCookies'

and this:

Dec 09, 2020 03:35:34.722 [15715] ERROR - Error creating directory "/storage/113B-E629/Android/data/com.plexapp.mediaserver.smb/Plex Media Server/Media/localhost/3/9940e3dbff836945c4f411f55dcbc40f6bbd002.bundle/Contents": Read-only file system

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.