Resync node
Last updated
To resync your Liberland Node, you need to:
If you're a validator and the chain is live and not stalled:
Stop validating using Liberland dApp or Polkadot.js Apps
Make sure your node is not in the active validator set
stop the node
remove the directory containing Liberland Node Database (chains/mainnet/db)
restart the node
wait until it resyncs
Node data directory structure is as follows:
chains
βββ mainnet
βββ db
βββ keystore
βββ networkDO NOT remove keystore or network directories. Only remove the db directory.
For a detailed guide, please choose the proper instruction according to the method used to install the node:
Automated script (a.k.a. nodes installed with this guide)
If your node is a validator and the chain is live and not stalled:
Stop validating using Liberland dApp or Polkadot.js Apps
Make sure your node is not in the active validator set
When your node is no longer a validator, or the chain is currently stalled, run the following commands on your server:
If your node is a validator and the chain is live and not stalled:
Stop validating using Liberland dApp or Polkadot.js Apps
Make sure your node is not in the active validator set
When your node is no longer a validator, or the chain is currently stalled, run the following commands on your server:
If you run it in a custom way, and not with the Complete example of running a validator on mainnet guide, adjust the container name and DB path accordingly.
Last updated
systemctl stop liberland-validator
rm -rf /opt/liberland/data/chains/mainnet/db
systemctl start liberland-validatordocker stop liberland
rm -rf $HOME/liberland_data/chains/mainnet/db
docker start liberland