No longer admin after IdP Migration

Describe the problem

After performing the migration as detailed in Migration Guide: External IdP to Embedded IdP - NetBird Docs I am no longer admin and can therefor not access all of my previous peers.

To Reproduce

Steps to reproduce the behavior:

  1. Follow migration guide
  2. Use Authentik
  3. Log in again
  4. See that you are no longer admin

Expected behavior

Should still be admin and if not at least re-admin again.

Are you using NetBird Cloud?

No, using selfhosted.

NetBird version

v0.77.1

Is any other VPN software installed?

None

Debug output

Not relevant issue does not concern client.

Screenshots

None

Additional context

Issue concerns dashboard.

Have you tried these troubleshooting steps?

  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)

Is there a way to promote my user to admin again, or do I have to go into the db and hack sth together? Thanks in advance!

Indeed this was the case the migrated account seems to have been created instead of modifying the old one. So I did some UPDATE ops and set the role to `owner!

Oh and also don’t forget to dethrown the old user back to role='user' to be able to delete it.