With PMS stopped.
Delete the Preferences.xml file in /var/lib/plexmediaserver/Library/Application Support/Plex Media Server
Now start it.
It will start up as “Unclaimed” and generate a new set of ID codes. Any media scanned in the DB is still retained.
As you walk through the wizard, do not create new sections. All existing library sections survive this soft reset.