Sync Troubleshooting
Checking sync status
To check the status of your sync, go into the docker container
sudo docker exec -it <container-name> bash
and do:
cudos-noded status
TIP
To see the output in readable JSON format, do:
cudos-noded status 2>&1 | jq -M .
(You will need to install JQ in your container to do this.)
If your node is syncing, latest_block_height
and latest_block_time
should be incrementing, and catching_up
should be true
.
If "latest_block_height": "0"
, your node is not syncing. Try to add another seed (refer to Manually adding new seeds)
cudos-noded
may be unresponsive during the sync process. If it is, view the current docker log:
sudo docker logs <container-name> >filename.txt
Near the bottom of your file you will see the last block height
. Compare this to the last block height on the explorer
Once the sync is completed, you can verify your node’s status by entering the docker container and doing:
cudos-noded status 2>&1 | jq -M .
If you can see "latest_block_time"
is a few seconds before current time, and "catching_up":false"
, your node has synced.
TIP
Once your node is synced, a quick way to to see activity in real-time without having to go into the docker container is to view the docker log with the -f (follow) flag:
sudo docker logs -f <container-name>