Service Operations
Mocha Testnet · mocha-5
The complete reference is now on Useful Commands.
Service operations
Select service
Select the existing BlockPro bridge below. On the public Mocha consensus server, use SERVICE=celestia-mocha-5.service. On the validator, use SERVICE=celestia-appd.service; a light node from the generic guide uses SERVICE=celestia-light.service.
SERVICE=celestia-bridge-mocha.serviceStatus
Check the selected systemd service.
sudo systemctl status "$SERVICE" --no-pagerStart
Start the node.
sudo systemctl start "$SERVICE"Stop
Stop the node.
Restart
Restart after a configuration change.
Recent logs
Show the last 100 log lines.
Follow logs
Follow logs; Ctrl+C leaves the log view.
Bridge version
Show the version used by the active Mocha bridge process. The upgrade target is 0.35.0-mocha.
Bridge disk space
Check free space on the existing bridge store filesystem.
Bridge synchronization
Read the bridge log and confirm new head heights and sampling continue.
Running consensus and Fibre versions
Run on the corresponding host. These commands check the executables of the active services, even when another binary is present in your shell's PATH. The Mocha target for both is 10.6.0-mocha.
Run this only if the host has Fibre:
If MainPID=0 or a unit is not found, inspect the service before running the version command:
The existing BlockPro Mocha validator uses /root/go/bin/celestia-appd and /root/go/bin/fibre. Use Upgrade to replace those exact files.
Public consensus version
The existing public Mocha RPC node uses /opt/celestia-mocha-5/bin/celestia-appd. Check its running process; the target is 10.6.0-mocha.
Inspect its service and binary path.
Follow the public consensus upgrade for this deployment.
Consensus sync status
Run on the consensus host only. Check height, block time and catching_up; this is not the bridge RPC. Consensus RPC examples use port 26657; replace it with your configured RPC port when using custom ports.
Consensus peer count
Count consensus peers.
Consensus disk space
Check available space.
Consensus data size
Measure consensus data usage.