Emergency guide for Erigon client
One-page interactive complete emergency guide for Erigon client.
Disclaimer
This guide is for informational purposes only. The author nor website owner does not guarantee accuracy of the information in this guide and is not responsible for any damages or losses incurred by following the guide.
Database corruption
In a case of database corruption (shortly DB corruption):
Stop Erigon service
sudo systemctl stop erigon
Delete and recreate Erigon directory
Delete the directory
Recreate the directorysudo rm -r /var/lib/erigon
Set directory ownershipsudo mkdir -p /var/lib/erigon
sudo chown -R erigon:erigon /var/lib/erigon
Start the service
Check the servicesudo systemctl start erigon
systemctl status erigon
journalctl -f -u erigon
Once the execution chain will get synchronized, your validator will go online again.
Erigon got stucked
If a Erigon got stucked, you can simply restart it.
sudo systemctl restart erigon
This can be also automated through Service Log Monitor.
There are no other serious issues with Erigon detected.