Skip to main content

11.4 Revert Client Versions

The LUKSO CLI allows to downgrade clients to an earlier version below the latest supported one. This might solve potential stability, database, or configuration issues that happen after an upgrade or maintenance. However, keep in mind that older versions must feature support for the latest network fork to keep up with the current chain head and stake funds.

info

The following steps are performed on your 📟 node server.

1. Stop Node Operation​

Depending on your setup method, there are different ways to stop your node before applying updates.

cd <lukso-working-directory>
lukso stop
info

Exchange <lukso-working-directory> with the path of the node folder.

Force Client Shutdown
sudo pkill geth

2. Install Custom Version​

Custom client versions can be installed using the regular installation command with additional flags. The terminal interface will give you the option to choose your execution and consensus client and will download the specified version from the flags. Multiple flags can be attached to install a custom consensus and execution client version simultaneously.

# Overwrite default Geth Version
lukso install --geth-tag 1.12.2 --geth-commit-hash bed84606

# Overwrite default Erigon Version
lukso install --erigon-tag 2.52.1

# Overwrite default Besu Version
lukso install --besu-tag 24.5.1

# Overwrite default Nethermind Version
lukso install --nethermind-tag v1.22.0 --nethermind-commit-hash ae444a4

# Overwrite default Prysm Version
lukso install --prysm-tag v4.0.8

# Overwrite default Lighthouse Version
lukso install --lighthouse-tag v4.1.0

# Overwrite default Teku Version
lukso install --teku-tag v23.10.0

# Overwrite default Nimbus-Eth2 Version
lukso install --nimbus2-tag v24.2.1 --nimbus2-commit-hash 7fe43fc
tip

The Geth, Nethermind, and Nimbus-Eth2 clients require an additional commit hash to the release tag, both attached as flags.

warning

Each release tag has different version formatting. Ensure you are using the correct format as shown in above examples.

info

Version numbers and commit hashes can be derived from the client repositories:

3. Restart the Node​

Depending on your setup method, there are different ways to start your node after custom versions have been installed.

cd <lukso-working-directory>
lukso start --checkpoint-sync
info

Exchange <lukso-working-directory> with the path of the node folder

After the clients were started, verify that their services are still up.

sudo lukso status
warning

If you are still running into issues, scan for problems or update your clients and their specific network configurations.