Running scan on TS-231+. I am running a scan against a huge music library (7,000 albums). At the start all seems fine and about 40 albums are added in 10 min. This is not super fast, but anyway. After 1 hour it only managed to add 100 albums and I can no longer access server settings or the music. I rebooted the system (as I didn’t know how to kill these processes that scan - they kept running even after I stopped Plex) and re-tried and the same thing happened.
It now takes about 4 minutes to add the album. I see a lot of errors in the logfile:
May 23, 2018 19:31:40.552 [0x73682000] ERROR - Error issuing curl_easy_perform(handle): 28
May 23, 2018 19:31:40.552 [0x73682000] DEBUG - HTTP simulating 408 after curl timeout
May 23, 2018 19:31:40.553 [0x73682000] ERROR - HTTP 408 downloading url http://127.0.0.1:32400/library/changestamp
May 23, 2018 19:31:43.381 [0x73682000] ERROR - Exception inside transaction (inside=1) (…/Library/MetadataItem.cpp:3023): Unable to allocate a changestamp from the server
May 23, 2018 19:31:44.712 [0x73682000] ERROR - Exception assimilating media item in [TITLE OF ALBUM]: Unable to allocate a changestamp from the server
and in Server logfile:
May 23, 2018 19:31:38.558 [0x4faff400] ERROR - Failed to begin transaction (…/Statistics/StatisticsManager.h:191) (tries=1): Cannot begin transaction. database is locked
I am also using MusicBee from my PC and if I rescan those same files it takes less than 1 hour give or take, so I don’t know why Plex is failing.