Skip to content

Commit 9ced912

Browse files
authored
client-troubleshooting: clarify how to remove file (#379)
1 parent c06e9d5 commit 9ced912

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/pages/how-to/troubleshooting-client.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,6 @@ the `config.json` file:
331331
- `/etc/netbird/config.json` for Linux/MacOS
332332
- `C:\ProgramData\netbird\config.json` for Windows
333333

334-
You will need to remove the file manually to use the machine as a different user/Setup Key.
335-
336334
You might get errors like below when trying to use Setup Key/different SSO user account during login:
337335

338336
```
@@ -349,6 +347,12 @@ The most notable examples of encountering the issue are:
349347
- a machine\'s Peer got removed from the Dashboard without clearing the file,
350348
- the user uses different browser/profile or selects the wrong account during SSO login at the start of the workday,
351349

350+
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:
351+
352+
1. `netbird service stop`
353+
2. `sudo rm /etc/netbird/config.json` (*nix) or `rm C:\ProgramData\netbird\config.json` (Windows)
354+
3. `netbird service start`
355+
352356
## Debugging access to network resources
353357

354358
In this section we will be presenting methodology of troubleshooting access issues involving Netbird.

0 commit comments

Comments
 (0)