Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions src/pages/how-to/troubleshooting-client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,38 @@ If you uncheck this option, a bundle will be generated without running this step
</p>
Once the bundle generation is complete, you can click on `Copy Key` to get the uploaded key and share with NetBird\'s team.

### Debug bundle uploads via Dashboard
Since version `0.45.0`, administrators can trigger debug bundle uploads directly from the Management Dashboard to any peer in the mesh.

#### To upload a debug bundle from the Dashboard:

1. Go to the peer you want to debug.
<p>
<img src="/docs-static/img/troubleshooting-client/remote_job/remote_job_steps.png" alt="remote_job_steps" className="imagewrapper-big"/>
</p>

2. Choose **Debug Bundle** and configure the parameters.
<p>
<img src="/docs-static/img/troubleshooting-client/remote_job/remote_job_parms.png" alt="remote_job_parms" className="imagewrapper-big"/>
</p>

<Note>
• `Log File Count` must be between **1** and **1000**.
• If `bundle_for` is enabled, the duration must be between **1** and **5 minutes**.
</Note>

3. Wait for the process to finish.
<p>
<img src="/docs-static/img/troubleshooting-client/remote_job/remote_job_pending.png" alt="remote_job_pending" className="imagewrapper-big"/>
</p>

4. Copy the `Upload Key` once the job is completed.
<p>
<img src="/docs-static/img/troubleshooting-client/remote_job/remote_job_completed.png" alt="remote_job_completed" className="imagewrapper-big"/>
</p>

For API-based uploads, see the [Jobs API reference](/api/resources/jobs).

## Enabling debug logs on agent

Logs can be temporarily set using the following command.
Expand Down