📔
Liberland Wiki
  • 📖Public Documents
  • 👍Primers
    • 🙋‍♀️Congress
    • 💂Executive
    • 👨‍⚖️Judiciary
    • 🤴Senate
  • 🚦Regulations
    • ✍️Drafts
      • 👮Internal Regulation of the Security Commission on the Structural and Functional Organization of the
    • 👩‍⚖️In Force
      • 🏰Orders
        • 👨Order of the President of Liberland no. 1/2021, on the Decisions of the Cabinet.
        • 👩Order of the President of Liberland no. 2/2021, on the Interim Legislature
  • ✅Policies
    • 🧑‍⚖️In Force
      • ⚖️Justice
        • 🔏Privacy policy
  • 👨‍💻Blockchain
    • 💫White Paper
    • 👨Tokenomics Primer
    • 💫Roadmap
    • 👨API
      • ⌨️Chain Explorer API
      • For CEXes
    • 🌐Ecosystem
      • 🌉How to Bridge to Ethereum
      • 🌉How to Bridge to Solana
      • How to Bridge to TRON
      • 🔁Liberland Exchange
      • How to Acquire LLD
      • How to Use Polkadot.js
      • How to use SubWallet
      • How to use Talisman
      • Known Issues
    • 🪪For Citizens and E-Residents
      • 🗳️Voting
      • Senate
      • Onboarding
      • Claiming Residency
      • Congress
      • Governance
      • Companies
    • 🖥️For Validators, Nominators & Stakers
      • Run a validator
      • Non-technical run a validator
      • Staking
      • ETH Liquidity Staking
      • SOL Liquidity Staking
      • Update node
      • Resync node
    • For Developers & Testers
      • Build, run & test using source code
      • Run in Docker
      • Manual testing guide
      • Runtime upgrade
      • Rust API docs
      • Bootstrapping new testnet
      • Chain Crash Recovery Procedure
  • Media
    • Press Kit
Powered by GitBook
On this page
  • Resyncing node
  • Automated script installs
  • Docker installs
  1. Blockchain
  2. For Validators, Nominators & Stakers

Resync node

PreviousUpdate nodeNextFor Developers & Testers

Last updated 10 months ago

Resyncing node

To resync your Liberland Node, you need to:

  1. If you're a validator and the chain is live and not stalled:

    1. Stop validating using or

    2. Make sure your node is not in

  2. stop the node

  3. remove the directory containing Liberland Node Database (chains/mainnet/db)

  4. restart the node

  5. wait until it resyncs

Node data directory structure is as follows:

chains
└── mainnet
    ├── db
    ├── keystore
    └── network

DO 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 installs

If your node is a validator and the chain is live and not stalled:

When your node is no longer a validator, or the chain is currently stalled, run the following commands on your server:

systemctl stop liberland-validator
rm -rf /opt/liberland/data/chains/mainnet/db
systemctl start liberland-validator

Docker installs

If your node is a validator and the chain is live and not stalled:

When your node is no longer a validator, or the chain is currently stalled, run the following commands on your server:

docker stop liberland
rm -rf $HOME/liberland_data/chains/mainnet/db
docker start liberland

(a.k.a. nodes installed with )

Stop validating using or

Make sure your node is not in

Stop validating using or

Make sure your node is not in

If you run it in a custom way, and not with the guide, adjust the container name and DB path accordingly.

👨‍💻
🖥️
Liberland dApp
Polkadot.js Apps
the active validator set
Liberland dApp
Polkadot.js Apps
the active validator set
Liberland dApp
Polkadot.js Apps
the active validator set
Complete example of running a validator on mainnet
Docker
Automated script
this guide