Lighthouse 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).
Update Lighthouse client
One-page interactive complete guide to update Lighthouse 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.
Check current version of Lighthouse running on the server:
lighthouse --version
curl "http://127.0.0.1:5052/eth/v1/node/version"
-
Find the latest stable version of Lighthouse on Github
- Find latest Lighthouse version at https://github.com/sigp/lighthouse/releases
-
Write latest stable lighthouse version:
This will update the url links in the guide below.
-
Download Lighthouse version
5.3.0
to your nodecd ~/downloads && curl -LO https://github.com/sigp/lighthouse/releases/download/v5.3.0/lighthouse-v5.3.0-x86_64-unknown-linux-gnu.tar.gz
Extract downloaded file
$ tar xvf lighthouse-v5.3.0-x86_64-unknown-linux-gnu.tar.gz
-
Stop Lighthouuse services
Stop Lighthouse Beacon service and all validators-based services
sudo systemctl stop lighthousebeacon sudo systemctl stop lighthouse-vi... sudo systemctl stop lighthouse-vi... ...
Stop cosnsensus services
/usr/local/bin/staking.sh stop consensus
Check cosnsensus services status
/usr/local/bin/staking.sh check consensus
-
Replace old Lighthouse client for new
$ sudo cp ~/downloads/lighthouse /usr/local/bin
-
Start the Lighthouse services
Start Lighthouse Beacon service and all validators-based services
sudo systemctl start lighthousebeacon sudo systemctl start lighthouse-vi... sudo systemctl start lighthouse-vi... ...
/usr/local/bin/staking.sh start consensus
Monitor
systemctl status lighthousebeacon lighthouse-vi.. lighthouse-vi..
journalctl -fu lighthousebeacon
journalctl -f -u lighthouse-vi.. -u lighthouse-vi...
/usr/local/bin/staking.sh check consensus
/usr/local/bin/staking.sh monitor consensus
-
Remove downloaded files
$ cd ~/downloads && rm lighthouse-v5.3.0-x86_64-unknown-linux-gnu.tar.gz && rm -r lighthouse