My Plex server runs on a cheap PC, while my library is on a NAS.
Sometimes, the scanning seems to encounter errors. Unfortunately Plex then deletes the remainder of the library.
It should abort the scan instead.
Log extract:
Apr 14, 2014 00:52:21:547 [5884] DEBUG - Marking item 6511 as alive and well. Apr 14, 2014 00:52:21:672 [5884] DEBUG - HTTP requesting to: http://127.0.0.1:32400/:/metadata/notify/toggleItemActivity?librarySectionID=1&metadataItemID=6511 Apr 14, 2014 00:52:21:688 [5884] DEBUG - Updating deletion state for metadata item 6505, is has a dead item count of 15. Apr 14, 2014 00:52:21:688 [5884] DEBUG - Updating deletion state for metadata item 6504, is has a dead item count of 4. Apr 14, 2014 00:52:21:844 [5884] DEBUG - * Scanning directory Z:\Serien\c\c Season 2 Complete\Sesong 2 Episode 15 (parent: yes) Apr 14, 2014 00:52:21:906 [5884] DEBUG - Adding file for scanner: Z:\Serien\c\c Season 2 Complete\Sesong 2 Episode 15\c.S02E15.VOSTFR.HDTV.XviD-0TV.avi Apr 14, 2014 00:52:21:922 [5884] DEBUG - File 'Z:\Serien\c\c Season 2 Complete\Sesong 2 Episode 15\c.S02E15.VOSTFR.HDTV.XviD-0TV.avi' was marked as deleted, can't skip. Apr 14, 2014 00:52:22:046 [5884] DEBUG - * Scanning c Season 2 Episode 15 Apr 14, 2014 00:52:22:046 [5884] DEBUG - Looking for path match for [Z:\Serien\c\c Season 2 Complete\Sesong 2 Episode 15\c.S02E15.VOSTFR.HDTV.XviD-0TV.avi] Apr 14, 2014 00:52:22:046 [5884] DEBUG - Path matched, we're reusing media item 6097 Apr 14, 2014 00:52:22:140 [5884] DEBUG - Bringing back media item 6097 to life. Apr 14, 2014 00:52:22:249 [5884] DEBUG - Updating deletion state for metadata item 6512, is has a dead item count of 0. Apr 14, 2014 00:52:22:249 [5884] DEBUG - Marking item 6512 as alive and well. Apr 14, 2014 00:52:22:514 [5884] DEBUG - HTTP requesting to: http://127.0.0.1:32400/:/metadata/notify/toggleItemActivity?librarySectionID=1&metadataItemID=6512 Apr 14, 2014 00:52:22:530 [5884] DEBUG - Updating deletion state for metadata item 6505, is has a dead item count of 14. Apr 14, 2014 00:52:22:530 [5884] DEBUG - Updating deletion state for metadata item 6504, is has a dead item count of 4. Apr 14, 2014 00:52:22:561 [5884] DEBUG - * Scanning directory Z:\Serien\c\c Season 2 Complete\Sesong 2 Episode 16 (parent: yes) Apr 14, 2014 00:52:41:188 [5884] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::last_write_time: Das Zeitlimit für die Semaphore wurde erreicht: "Z:\Serien\c\c Season 2 Complete\Sesong 2 Episode 16" Apr 14, 2014 00:52:41:188 [5884] DEBUG - * Scanning directory Z:\Serien\c\c Season 2 Complete\Sesong 2 Episode 17 (parent: yes) Apr 14, 2014 00:52:41:515 [5884] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::last_write_time: Der Netzwerkpfad wurde nicht gefunden: "Z:\Serien\c\c Season 2 Complete\Sesong 2 Episode 17" [snip more errors] Apr 14, 2014 18:40:24:872 [5884] DEBUG - * Scanning directory Z:\Serien (parent: yes) Apr 14, 2014 18:40:24:872 [5884] WARN - Error scanning directory, we'll skip and continue: boost::filesystem::last_write_time: Der Netzwerkpfad wurde nicht gefunden: "Z:\Serien " Apr 14, 2014 18:40:25:699 [5884] DEBUG - Removing 391 media items that were left. Apr 14, 2014 18:40:25:699 [5884] DEBUG - Soft-deleting media item 6098. Apr 14, 2014 18:40:25:980 [5884] DEBUG - Soft-deleting media item 6099. [soft deleting all the rest...]