Plex Server Version#: 1.14.1.5488
OS: Windows 10
Music Library location: Synology DS411slim on DSM 6.2.1-23824 Update 4
Today I was listening to music in Plex and the music abruptly stopped, with a generic playback error on the screen. I went into PMS and gave my music library a scan and then my entire library disappeared. On a second scan, it did not add anything, though my computer maintained its connection to the corresponding network share and PMS could still browse the share.
Troubleshooting steps:
- Removed the Music library in PMS and re-added it
- Disconnected the Music network share from Windows and re-mapped it, then re-added library to PMS
- Logged out/in of Plex account
- Verified all permissions on the share in Synology DSM and via manual browsing of the share in Windows
- Verified shared folder settings (SMB2-3 allowed only, no AFP, no NFS)
- Cleared SMB cache on shared folder
- Updated DSM to the latest version, rebooted
- Rebooted Windows PC
- Checked PMS Scanner logs and it showed this on each folder: “Error scanning directory, we’ll skip and continue.” Again, the directory can be browsed by both PMS and Windows
- Restored an older database from before this problem - now when I scan the music library for changes, it displays a red trash bin icon on top of every item in the library (FYI, in my library settings “empty recycle bin after scan” is unchecked, “allow owner to delete files” is checked)
- Rebuilt my database with sqlite3 as described here: https://support.plex.tv/articles/201100678-repair-a-corrupt-database/
Essentially it appears that for some reason Plex has decided to delete all indexed content in this library but the logs are not telling me why and there was no strange behavior i.e. unexpected power loss, sudden reboot or PMS or Synology changes that would have affected this.
PS, I have no issues with my other Plex-connected Synology NAS, which provide two separate libraries (TV and Movies) on the same Windows PC. These continue to update normally so clearly the issue is isolated to how Plex is interfacing with the first NAS.
Any ideas? I’m at a loss…