Skip to main content

11.1 Software Updates

This guide explains how to update system software, and perform cleanups, important for security and performance.

info

The following steps are performed on your 📟 node server.

1. Retrieve Outdated Packages​

# Update Package List
sudo apt update

# List Upgradable Packages
apt list --upgradable
Monitoring Compatability

The monitoring tool Grafana is installed as a system package. If you want to prevent incompatibilities, its recommended to pause these updates until the latest dashboard templates are available for your blockchain clients.

sudo apt-mark hold grafana

2. 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

3. Apply Software Updates​

Update all currently installed packages and hardware drivers to their latest versions and reboot to apply changes.

sudo apt upgrade
info

When prompted during upgrade:

  • Choose to keep your current SSH configuration (<OK>)
  • Acknowledge updates to system libraries and services (<OK>)
tip

Kernel and background services will update after a system reboot.

sudo reboot
info

You will be logged out of the SSH connection. Once the system rebooted, reconnect using SSH to continue.

4. System Cleanup​

Remove unnecessary packages and clean up outdated cache data of system installation processes.

# Remove Unused Dependencies
sudo apt autoremove

# Clean Cached Package Files
sudo apt autoclean

5. Restart the Node​

Depending on your setup method, there are different ways to start your node.

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
tip

Monitoring Tools like Grafana, Prometheus, or the Exporter services will automatically start during the system reboot.