https://agstakingco.gitbook.io/eth-2-0-mainnet-staking-guide-lighthouse/arrow-up-right
1) Stop Geth:
sudo systemctl stop geth
2) Remove Geth Database:
sudo -u geth geth removedb --datadir /var/lib/geth
It will ask if you'd like to delete chaindata (yes) and ancient data (no)
3) Start Geth:
sudo systemctl start geth
Geth will begin syncing again, which may take between 18 to 36 hours. You can check the geth logs to view progress.
Last updated 3 years ago