Update client
Update Erigon client
Erigon documentation: https://erigon.gitbook.io/erigon
Check current version of Erigon running on the server:
/usr/local/bin/erigonlib/erigon -v
Find the latest stable version of Erigon on Github
- Find latest Erigon version at https://github.com/ledgerwatch/erigon/releases. AMD64 v1/v2 links at Microarchitecture levels.
- Write latest stable Erigon version:
-
Download Erigon version
3.0.15
cd ~/downloads && curl -LO https://github.com/erigontech/erigon/releases/download/v3.0.15/erigon_v3.0.15_linux_amd64v2.tar.gz
Verify hash of donwnloaded file
Get hash of downloaded file and compare it with official hashes
And check it compare to the provided hash for the file from https://github.com/erigontech/erigon/releases/download/v3.0.15/erigon_v3.0.15_checksums.txt (Note: The link links at 3.0.15 version )sha256sum erigon_v3.0.15_linux_amd64v2.tar.gz
-
Extract the downloaded package
tar xvf erigon_v3.0.15_linux_amd64v2.tar.gz
Stop Erigon client
Note: It's a good practice to check the log before stopping the client.
journalctl -fu erigon
sudo systemctl stop erigon && systemctl status erigon
Note: It's a good practice to check the log before stopping the client.
/usr/local/bin/staking.sh monitor execution
/usr/local/bin/staking.sh stop execution && /usr/local/bin/staking.sh check execution
-
Remove old library
sudo rm -r /usr/local/bin/erigonlib
-
Copy extracted Erigon library
sudo cp -a erigon_v3.0.15_linux_amd64v2 /usr/local/bin/erigonlib
Start Erigon client and check its status
sudo systemctl start erigon && systemctl status erigon
/usr/local/bin/staking.sh start execution && /usr/local/bin/staking.sh check execution
Monitor Erigon client
journalctl -fu erigon
/usr/local/bin/staking.sh monitor execution
-
Remove downloaded files
cd ~/downloads && rm -r erigon_v3.0.15_linux_amd64v2.tar.gz && rm -r erigon_v3.0.15_linux_amd64v2
Any issue while running Erigon client?
Check Erigon client emergency page.