Skip to main content

11.2 Client Updates

This guide explains how to update your LUKSO CLI, blockchain clients, configuration files, and validator permissions.

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. Update CLI and CLients

Install the latest CLI version and update the client software.

# Install Latest LUKSO CLI
sudo curl https://install.lukso.network | sh

# Verify CLI Version
lukso version
info

Check your current client versions.

geth version
# Move into Node Directory
cd <lukso-working-directory>

# Update the Blockchain Clients
sudo lukso update
tip

Check your updated client versions again using the commands above to verify they were installed correctly.

3. Update Client Configs

This optional step ensures your client configuration files stay aligned with the latest specifications and network forks.

sudo lukso init
sudo lukso update configs
info

None of your client-specific settings will be overwritten.

  • The lukso update configs command only updates the global /configs/<network>/shared/ files.
  • The lukso init command only creates missing files and folders within the /configs/ folder.
warning

The LUKSO Network Team regularly introduces changes to the default client-specific configurations. It's recommended to update them manually. Further guidance can be found on the Configuration Updates page of the 🏛️ Archive section.

4. Remove Genesis Flags

Make sure that you no longer use Genesis flags to start the node, as the network was launched and flags are no longer needed.

tip

This step is only required for genesis validators using a service automation setup to manage their node. Regular node setups simply do no longer attach the --genesis-json and --genesis-ssz flags during the startup.

4.1 Open the Service File: Open the startup script with your preferred text editor.

cd <lukso-working-directory>/static/
sudo vim ./lukso_startup.sh
info

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

4.2 Modify the Service File: Remove the following lines from the startup script.

        --genesis-json ./configs/mainnet/shared/genesis_42.json \
--genesis-ssz ./configs/mainnet/shared/genesis_42.ssz \

5. Restart the Node

Depending on your setup method, there are different ways to start your node after updates have been applied.

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