Unable to register new peers/users via Azure IDP after copying Database #2121

Open
opened 2025-11-20 07:04:12 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @LeoFPS72 on GitHub (Jul 29, 2025).

Describe the problem

The self-hosted Netbird system needed to be moved to a new domain, so Netbird was installed on a new server and configured with the new domain/address. To avoid having to recreate all the configurations (networks, policies, etc.), the store.db database from the old system was copied to the new one. Now, a few weeks later, it has been noticed that no new users/peers can be registered via Azure as IDP. Existing users/peers can still log in and everything works fine for them.

The authentication of new users also works correctly, but they never appear in the dashboard; it is as if a separate environment has been created for them. Although single account mode is enabled, a separate entry is created for them in the Accounts table in the database.

To Reproduce

  1. Set up a new self-hosted netbird system with Azure IDP
  2. Copy the database store.db from an existing system
  3. Try to regiester a new User with Azure as IDP

Expected behavior
expected that the new user could register and shows up in the dashboard.

Are you using NetBird Cloud?

self-hosted Netbird

NetBird version

v0.51.2

Image
Originally created by @LeoFPS72 on GitHub (Jul 29, 2025). **Describe the problem** The self-hosted Netbird system needed to be moved to a new domain, so Netbird was installed on a new server and configured with the new domain/address. To avoid having to recreate all the configurations (networks, policies, etc.), the store.db database from the old system was copied to the new one. Now, a few weeks later, it has been noticed that no new users/peers can be registered via Azure as IDP. Existing users/peers can still log in and everything works fine for them. The authentication of new users also works correctly, but they never appear in the dashboard; it is as if a separate environment has been created for them. Although single account mode is enabled, a separate entry is created for them in the Accounts table in the database. **To Reproduce** 1. Set up a new self-hosted netbird system with Azure IDP 2. Copy the database store.db from an existing system 3. Try to regiester a new User with Azure as IDP **Expected behavior** expected that the new user could register and shows up in the dashboard. **Are you using NetBird Cloud?** self-hosted Netbird **NetBird version** v0.51.2 <img width="942" height="217" alt="Image" src="https://github.com/user-attachments/assets/61374a98-b073-4cb5-a915-ea2d03a1622f" />
saavagebueno added the self-hosting label 2025-11-20 07:04:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2121