Update client
Check current version of Teku running on the server:
/usr/local/bin/teku/bin/teku --version
-
Find the latest stable version of Teku on Github
- Find latest Teku version at Github: https://github.com/Consensys/teku/releases
- Write latest stable Teku version:
This will update the url links in the guide below.
Download the latest Teku version
cd ~/downloads && curl -LO https://artifacts.consensys.net/public/teku/raw/names/teku.tar.gz/versions/25.7.1/teku-25.7.1.tar.gz
Unpack the downloaded Teku version
tar xvf teku-25.7.1.tar.gz
-
Stop Teku services
Stop Teku Beacon service and all validators-based services
sudo systemctl stop tekubeacon sudo systemctl stop teku-vi... sudo systemctl stop teku-vi... ...
Check services status for state
sudo systemctl status tekubeacon sudo systemctl status teku-vi...; sudo systemctl status teku-vi... ...
This option requires installed and configured Staking manager Stop cosnsensus services
/usr/local/bin/staking.sh stop consensus
Check cosnsensus services status
/usr/local/bin/staking.sh check consensus
-
Remove Old Teku Library
sudo rm -r /usr/local/bin/teku
-
Copy the Teku Library
sudo cp -a ~/downloads/teku-25.7.1 /usr/local/bin/teku
-
Start the services again
Start Teku Beacon service and all validators-based services
sudo systemctl start tekubeacon sudo systemctl start teku-vi... sudo systemctl start teku-vi... ...
This option requires installed and configured Staking manager /usr/local/bin/staking.sh start consensus
Monitor
systemctl status tekubeacon teku-vi..
journalctl -fu tekubeacon
journalctl -f -u teku-vi.. -u teku-vi..
This option requires installed and configured Staking manager /usr/local/bin/staking.sh check consensus
/usr/local/bin/staking.sh monitor consensus
Remove downloaded files
cd ~/downloads && rm teku-25.7.1.tar.gz && rm -r teku-25.7.1
Any issue while running Teku client?
Check Teku client emergency page.