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.