Upgrade a node
Rerunning the node installer upgrades a node in place. It re-pins the supported Rusk and Rusk Wallet versions, downloads and verifies the new binaries, and only then gracefully stops Rusk. Your consensus keys, user configuration, and chain state are preserved; the installer regenerates rusk.toml, genesis.toml, and the systemd unit.
1. Note the current state
Section titled “1. Note the current state”So you can confirm the node recovers afterwards, record where it is now:
ruskquery info # running Rusk version and chainruskquery block-height # current height2. Run the installer for your node
Section titled “2. Run the installer for your node”Pick the tab for your network, then the command for your node type.
Provisioner or full node
curl --proto '=https' --tlsv1.2 -sSfL \ https://github.com/dusk-network/node-installer/releases/latest/download/node-installer.sh \ | sudo bashArchive node
curl --proto '=https' --tlsv1.2 -sSfL \ https://github.com/dusk-network/node-installer/releases/latest/download/node-installer.sh \ | sudo bash -s -- --feature archiveProvisioner or full node
curl --proto '=https' --tlsv1.2 -sSfL \ https://github.com/dusk-network/node-installer/releases/latest/download/node-installer.sh \ | sudo bash -s -- --network testnetArchive node
curl --proto '=https' --tlsv1.2 -sSfL \ https://github.com/dusk-network/node-installer/releases/latest/download/node-installer.sh \ | sudo bash -s -- --network testnet --feature archiveThe installer leaves Rusk stopped after a successful run, so you can review the configuration before starting.
3. Start Rusk and confirm it worked
Section titled “3. Start Rusk and confirm it worked”sudo systemctl start ruskGive it a few seconds, then check the node with ruskquery rather than digging through logs:
ruskquery info # new Rusk version and chainruskquery peers # should be non-zeroruskquery block-height # run it a few times, about 10 seconds apartYou’re back up when ruskquery peers is non-zero and the block height keeps climbing. ruskquery info should show the new Rusk version. After about 30 seconds, compare your height with the network explorer. On an archive node, also run an archive GraphQL query before sending API traffic back to it.
If Rusk doesn’t start
Section titled “If Rusk doesn’t start”ruskquery talks to a running node, so when Rusk is down it has nothing to answer. Read the service and its logs directly instead:
sudo systemctl status rusk --no-pagersudo journalctl -u rusk --since "15 minutes ago" --no-pagersudo tail -n 100 /var/log/rusk_recovery.logA failure to start is often a wrong wallet password or no peers being found. Don’t rerun the installer in a loop before you understand the first error. See Troubleshooting, and Roll back a node update if a release needs reverting. If the node can’t catch back up, use manual resync.
Testnet resets
Section titled “Testnet resets”Testnet can be reset independently of mainnet. After an announced reset, reinstall with --network testnet, then follow the fast-sync or reset steps from the announcement. Don’t reset state just because a normal upgrade briefly lags the network.