netbird-ui rolls back the daemon to default interface and port #633

Closed
opened 2025-11-20 05:14:58 -05:00 by saavagebueno · 5 comments
Owner

Originally created by @nazarewk on GitHub (Feb 13, 2024).

Describe the problem

A complete opposite of https://github.com/netbirdio/netbird/issues/1562 : netbird-ui rolls back the daemon to default configuration wt0:51820 no matter what I set up on the actual systemd service.

https://github.com/NixOS/nixpkgs/pull/287236#issuecomment-1941859301

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Are you using NetBird Cloud?

Please specify whether you use NetBird Cloud or self-host NetBird's control plane.

NetBird version

netbird version

NetBird status -d output:

If applicable, add the `netbird status -d' command output.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Originally created by @nazarewk on GitHub (Feb 13, 2024). **Describe the problem** A complete opposite of https://github.com/netbirdio/netbird/issues/1562 : `netbird-ui` rolls back the daemon to default configuration `wt0:51820` no matter what I set up on the actual `systemd` service. https://github.com/NixOS/nixpkgs/pull/287236#issuecomment-1941859301 **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Are you using NetBird Cloud?** Please specify whether you use NetBird Cloud or self-host NetBird's control plane. **NetBird version** `netbird version` **NetBird status -d output:** If applicable, add the `netbird status -d' command output. **Screenshots** If applicable, add screenshots to help explain your problem. **Additional context** Add any other context about the problem here.
saavagebueno added the triage label 2025-11-20 05:14:58 -05:00
Author
Owner

@nazarewk commented on GitHub (Feb 14, 2024):

I tried locating the issue in the code, but cannot pinpoint anything.

@nazarewk commented on GitHub (Feb 14, 2024): I tried locating the issue in the code, but cannot pinpoint anything.
Author
Owner

@surik commented on GitHub (Feb 14, 2024):

Hi @nazarewk I was trying to reproduce the issue but not luck. Can you give more information about the version you use and maybe do an additional checks of the /etc/netbird/config.json. Where do you notice that values are reverted to the defaults?

@surik commented on GitHub (Feb 14, 2024): Hi @nazarewk I was trying to reproduce the issue but not luck. Can you give more information about the version you use and maybe do an additional checks of the `/etc/netbird/config.json`. Where do you notice that values are reverted to the defaults?
Author
Owner

@nazarewk commented on GitHub (Feb 14, 2024):

It happens when I Connect/login through the UI

@nazarewk commented on GitHub (Feb 14, 2024): It happens when I *Connect*/login through the UI
Author
Owner

@surik commented on GitHub (Feb 14, 2024):

Can you make an additional test to prove an assumption.

  1. Run netbird down
  2. Try to connect via CLI: netbird up --interface-name wt1 --wireguard-port 51840 or any other name/port
  3. Check /etc/netbird/config.json
  4. Disconnect via UI
  5. Connect via UI
  6. Check /etc/netbird/config.json
@surik commented on GitHub (Feb 14, 2024): Can you make an additional test to prove an assumption. 1. Run `netbird down` 2. Try to connect via CLI: `netbird up --interface-name wt1 --wireguard-port 51840` or any other name/port 3. Check `/etc/netbird/config.json` 4. Disconnect via UI 5. Connect via UI 6. Check `/etc/netbird/config.json`
Author
Owner

@nazarewk commented on GitHub (Feb 14, 2024):

During Slack conversation it was pointed out I was starting without any config whatsoever and neither netbird service up nor netbird-ui support passing the interface/port configuration.

So this is issue caused by #1562

@nazarewk commented on GitHub (Feb 14, 2024): During Slack conversation it was pointed out I was starting without any config whatsoever and neither `netbird service up` nor `netbird-ui` support passing the interface/port configuration. So this is issue caused by #1562
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#633