mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-30 06:16:35 +00:00
@@ -236,7 +236,7 @@ You can set the environment variable `NB_LOG_LEVEL` to `debug` to enable debug l
|
||||
|
||||
```shell
|
||||
docker run --rm --name PEER_NAME --hostname PEER_NAME --cap-add=NET_ADMIN --cap-add=SYS_ADMIN --cap-add=SYS_RESOURCE -d \
|
||||
-e NB_SETUP_KEY=<SETUP KEY> -e NB_LOG_LEVEL=debug -v netbird-client:/etc/netbird netbirdio/netbird:latest
|
||||
-e NB_SETUP_KEY=<SETUP KEY> -e NB_LOG_LEVEL=debug -v netbird-client:/var/lib/netbird netbirdio/netbird:latest
|
||||
```
|
||||
|
||||
### On Android
|
||||
@@ -328,8 +328,8 @@ sudo bash -c 'PIONS_LOG_DEBUG=all NB_LOG_LEVEL=debug netbird up -F' > /tmp/netbi
|
||||
A single machine can only connect to one NetBird account as the same user/login method throughout the lifetime of
|
||||
the `config.json` file:
|
||||
|
||||
- `/etc/netbird/config.json` for Linux/MacOS
|
||||
- `C:\ProgramData\netbird\config.json` for Windows
|
||||
- `/var/lib/netbird/default.json` for Linux/MacOS
|
||||
- `C:\ProgramData\netbird\default.json` for Windows
|
||||
|
||||
You might get errors like below when trying to use Setup Key/different SSO user account during login:
|
||||
|
||||
@@ -358,7 +358,7 @@ If you know the exact previous Peer which was logged in, you can just delete it
|
||||
Otherwise, 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)
|
||||
2. `sudo rm /var/lib/netbird/default.json` (*nix) or `rm C:\ProgramData\netbird\config.json` (Windows)
|
||||
3. `netbird service start`
|
||||
|
||||
## Debugging access to network resources
|
||||
|
||||
Reference in New Issue
Block a user