Update Erigon client

One-page interactive complete guide to update 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.

Erigon client can be used for staking on various supported chains. Client installation is always only one, used by services with an individual configuration (different service name, data path and ports in use).

Updating Erigon client

Erigon documentation: https://erigon.gitbook.io/erigon

Check current version of Erigon running on the server:

$ /usr/local/bin/erigonlib/erigon -v
  1. Find the latest stable version of Erigon on Github

  2. Download Erigon version

    cd ~/downloads && curl -LO https://github.com/erigontech/erigon/releases/download/v/erigon_v_linux_amd64v2.tar.gz
  3. Verify hash of donwnloaded file

    Get hash of downloaded file and compare it with official hashes
    sha256sum erigon_v_linux_amd64v2.tar.gz
    And check it compare to the provided hash for the file from https://github.com/erigontech/erigon/releases/download/v/erigon_v_checksums.txt (Note: The link links at version )
  4. Extract the downloaded package

    tar xvf erigon_v_linux_amd64v2.tar.gz
  5. Stop Erigon client

    journalctl -fu erigon
    $ sudo systemctl stop erigon && systemctl status erigon
  6. Remove old library

    sudo rm -r /usr/local/bin/erigonlib
  7. Copy extracted Erigon library

    sudo cp -a erigon_v_linux_amd64v2 /usr/local/bin/erigonlib
  8. Start Erigon client and check its status

    $ sudo systemctl start erigon && systemctl status erigon
  9. Monitor Erigon client

    $ journalctl -fu erigon
  10. Remove downloaded files

    cd ~/downloads && rm -r erigon_v_linux_amd64v2.tar.gz && rm -r erigon_v_linux_amd64v2