> For the complete documentation index, see [llms.txt](https://dgtnetwork.gitbook.io/dgt-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dgtnetwork.gitbook.io/dgt-docs/6.-administrator-guide/6.8-dgt-maintenance/6.8.1-stopping-and-restarting-the-platform.md).

# 6.8.1 Stopping and Restarting the Platform

Platform maintenance may require special actions to stop or restart the platform. The following steps are required to stop and then restart the platform:

* Stop platform components. Navigate to the platform’s home directory (for example «`cd DGT-Matagami/CORE`»)
  * Stop one or more nodes of the cluster with the command:

```
bash stopDgtCluster.sh NumCluster NumNode
```

here: NumCluster – number of the cluster, NumNode – number of the node, ex. 1 1

* Stop the Dashboard service if it was launched (see [6.4](/dgt-docs/6.-administrator-guide/6.4-dgt-dashboard.md)):

```
bash stopDgtDashboard.sh
```

* Stop the Grafana service if it was launched (see [6.8.4](/dgt-docs/6.-administrator-guide/6.8-dgt-maintenance/6.8.4-log-and-monitoring.md)):

```
bash stopDgtGrafana.sh
```

* Clear all the docker containers:

```
sudo docker container prune
```

{% hint style="info" %}
In case of restarting the platform using the «`bash upDgtCluster.sh`» command after the service has been restarted, do not use the -G key to save the previous state (ledger entries). If the node connects to an existing network, this option does not affect the state
{% endhint %}
