client-troubleshooting: clarify how to remove file (#379)

This commit is contained in:
Krzysztof Nazarewski (kdn)
2025-06-27 17:49:11 +02:00
committed by GitHub
parent c06e9d5c67
commit 9ced912047

View File

@@ -331,8 +331,6 @@ the `config.json` file:
- `/etc/netbird/config.json` for Linux/MacOS
- `C:\ProgramData\netbird\config.json` for Windows
You will need to remove the file manually to use the machine as a different user/Setup Key.
You might get errors like below when trying to use Setup Key/different SSO user account during login:
```
@@ -349,6 +347,12 @@ The most notable examples of encountering the issue are:
- a machine\'s Peer got removed from the Dashboard without clearing the file,
- the user uses different browser/profile or selects the wrong account during SSO login at the start of the workday,
To resolve the issue, you will need to remove the file manually to use the machine as a different user/Setup Key while the NetBird client daemon is stopped:
1. `netbird service stop`
2. `sudo rm /etc/netbird/config.json` (*nix) or `rm C:\ProgramData\netbird\config.json` (Windows)
3. `netbird service start`
## Debugging access to network resources
In this section we will be presenting methodology of troubleshooting access issues involving Netbird.