Sounds absurd, but I lost access to the admin user…
I wanted to make the admin username shorter (username field), but after I decided to relogin to check the new data, the system created a new account without the admin role.
Please, tell me how can I get back access to the admin account or how can I make another user admin.
you can try editing the database, and making sure the “admins” role ( always _id 5a1702fa245d9013697656fb ) has your user’s _id in the members array.
You can do that by open a shell on the mongodb pod, and edit the users collection directly
docker compose exec mongodb bash
Or you could do that by adding some kind of UI for working with mongodb like mongoexpress
Adding api_bypass_perm does not solve your problem, it leaves you system completly compromisee and insecure. So use it to fix your user and then remove the line again.