Skip to content

Commit

Permalink
docs: add info about dashmate doctor (#377)
Browse files Browse the repository at this point in the history
* docs: add info about dashmate doctor

* docs: add link to dashmate doctor on maintenance page
  • Loading branch information
thephez authored Aug 26, 2024
1 parent 6c3f0ad commit f6d439e
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/user/masternodes/maintenance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,11 @@ Example::

protx revoke 9f5ec7540baeefc4b7581d88d236792851f26b4b754684a31ee35d09bdfb7fb6 565950700d7bdc6a9dbc9963920bc756551b02de6e4711eff9ba6d4af59c0101 0

Dashmate troubleshooting
========================

If you have trouble with a dashmate-based masternode, use the ``dashmate doctor`` command to collect
debug information for troubleshooting. See the :ref:`dashmate page <dashmate-doctor>` for details.

Proof of Service Bans
=====================
Expand Down
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.
33 changes: 33 additions & 0 deletions docs/user/network/dashmate/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,39 @@ existing data is retained. Then, update the dashmate services::
Finally, restart dashmate::
dashmate start
.. _dashmate-doctor:

Collecting logs
===============

Dashmate includes the doctor command to make troubleshooting and log reporting easier. The dashmate
doctor command collects important debugging data about the masternode and creates a compressed report file
that can be sent to the support team if necessary. This report includes:

- **Operating System**: Details about the architecture, CPU, memory, and swap
- **Docker**: Status and logs (exit codes, stdout, stderr) for each service
- **Core RPC**: Essential details like the best ChainLock, quorums, blockchain information, peers, and masternode status
- **Tenderdash RPC**: Status, genesis, network information, ABCI details, and a consensus state dump
- **Metrics**: Tenderdash and Drive metrics (if enabled in the configuration)

To create a report, run ``dashmate doctor`` and select **Yes**::

dashmate doctor

.. figure:: img/dashmate-doctor-details.png
:align: center
:width: 90%

Run the doctor command

Upon successful completion, the full path to the report archive is displayed.

.. figure:: img/dashmate-doctor-done.png
:align: center
:width: 90%

Doctor output

Additional Information
======================
Expand Down

0 comments on commit f6d439e

Please sign in to comment.