Skip to content

setConfig method warning shows on new installs for Windows client #585

@PowershellScripter

Description

@PowershellScripter

Describe the problem

When installing netbird, the default config is used. However, there is a warning that continues to display when netbird is taken down, then brought back up saying the method is not available in the daemon, even when --setconfig was never used. Not even the env variable for default config was used. This warning has displayed since the deprecation of that flag.

To Reproduce

Steps to reproduce the behavior:

  1. Install netbird client on Windows
  2. Register node
  3. cli: netbird down
  4. cli: netbird up
    - WARN client/cmd/up.go:262: setConfig method is not available in the daemon

Expected behavior

No warning if the setConfig flag has never been set

Are you using NetBird Cloud?

Self Hosted

NetBird version

0.66.4

NetBird status -d output:

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

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions