Admin rights are not working suddenly in Nexus

If you are working with a database setup, go there and user_role_mapping table is your friend.

Your roles field should look like
[
“nx-admin”
]

It may contain other roles (divided by commas).