Database corruption
In a case of database corruption (shortly DB corruption):
Stop Erigon service
sudo systemctl stop erigonDelete and recreate Erigon directory
Delete the directory
Recreate the directorysudo rm -r /var/lib/erigon
Set directory ownershipsudo mkdir -p /var/lib/erigonsudo chown -R erigon:erigon /var/lib/erigonStart the service
Check the servicesudo systemctl start erigonsystemctl status erigonjournalctl -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.