Last updated 2 years ago
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.