How to recover from "error removing server with duplicate ID"?

+1

(Same kind of error message)

This seems to be very similar (or the same) as the issue in this thread

Did anyone find a solution in the meantime (1 year)?

EDIT:
what seems to have worked for now is (on the nomad server node):

systemctl stop nomad
rm /var/lib/nomad/server/{raft,serf}`
systemctl restart nomad