Trouble migrating Server and Library to new PC

You will have to copy not only your media files to the new machine, but also all the metadata of Plex, as well as its Registry branch.

See Backing up files question

and maybe Moving Plex media server from one pc to another