That indicates that you didn’t repair the database.
Starting with Plex server versions greater than 1.23.2 you need to follow the linked directions because they embedded sqlite into the Plex executable along with language dependencies. Plex even included a one line repair "C:\Program Files (x86)\Plex\Plex Media Server\Plex SQLite.exe" com.plexapp.plugins.library.db ".output recover.out" ".recover"
Since you have a WD NAS you will have to do a little legwork to find the location of the Plex binaries to translate the above example into something usable.