Node Troubleshooting

Issues During Installation

Unable to download docker image

During the installation process, docker is used to download cess image. If the following error occurs when installing the cess-nodeadm:

Docker Daemon Issue

Make sure commands are in the root privilege or prefixed with sudo command. Start docker on your system:

systemctl start docker

Reinstall the cess-nodeadm:

./install.sh

⚠️ Note that most CESS program commands must have root privileges.

Failed to locate docker package

If the following error occurs when installing the cess-nodeadm:

Docker Package Issue

Try to delete Docker with following commands:

sudo systemctl stop docker
docker stop $(docker ps -aq)
docker rm -v $(docker ps -aq)
docker rmi $(docker images -aq)
docker volume rm $(docker volume ls -q)
brew uninstall docker

Reinstall Docker:

sudo apt-get install docker-ce
sudo systemctl enable docker
sudo systemctl start docker

Issues After Installation

Increase Stake Manually

If signatureAcc different from stakingAcc is provided as below: CESS Account Issue

You can not increase stake by command with client:

sudo cess storage node increase staking $deposit_amount
# or
sudo mineradm miners increase staking $miner_name $deposit_amount

# Execute command as above might get message like: `!! 2024-03-28 13:22:18 0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`

Try to access to block browser and send TCESS manually

Step 1: Select an account which have sufficient TCESS, then click send CESS Account Issue

Step 2: Enter the staking account and amount, then click Make Transfer CESS Account Issue

Step 3: Finally, enter the password for the account you have selected that has sufficient TCESS.

Issues During Configuration

Failed to download CESS image

If the following error occurs when setting up the config:

CESS Image Download Issue

Ensure the commands are run in the root privilege or prefixed with sudo command.

Try cess config set command.

Invalid config file (config.yaml)

Invalid Config Issue

Delete file /usr/bin/yq:

Reinstall cess-nodeadm again:

Set Docker Daemon Access with TLS

mineradm will enable docker daemon access at port: 2375 automatically when install mineradm, but if you want to watchdog access to a host in public network, you need to set that host's docker daemon start with TLS.

Because watchdog need to request each storage node's config file from others hosts by docker api, and this config file contain storage node's mnemonic, so it must encrypt when transferring in public network.

It is a shell demo to generate files by openssl. change the <IP where watchdog run> to your watchdog server ip. You can get more detail information from Docker Daemon Access with TLS.

Please keep your file safe and make sure no one can get your key file.

After generate files by openssl, start listen docker daemon with TLS at port: 2376

Recommend to use systemd to start docker daemon with TLS.

Finally, copy files(ca.pem/key.pem/cert.pem) to the server where watchdog run, then config the files path in /opt/cess/mineradm/config.yaml and run mineradm config generate

⚠️ Expose Docker API Port at 0.0.0.0:2375 without TLS is unsafe, it may get network attack like kdevtmpfsi

If you have already get attack, please execute command as down below

Last updated

Was this helpful?