Monterey upgrade issue with admin rights

After upgrading my Mac mini (Late 2014) to Monterey 12.1, I find that I have lost administrator rights. No users on the machine have administrator rights. How do I fix this issue? Fixes I found for earlier iOS versions do not seem to work.

Monterey upgrade issue with admin rights
 
 
Q