SKALE 3.1.1 upgrade
Upgrade steps for the node server
-
Turn off sgxwallet
Terminal window cd sgxwallet/run_sgx/ && docker-compose down && cd ../../ -
Turn off the node
Terminal window skale node turn-off --yes -
Backup the node
Terminal window skale node backup .Save the data on another machine
-
Backup
sgx_data
folder and SGX backup key. Save the data on another machine -
Upgrade packages
Terminal window sudo apt update && sudo apt upgradesudo reboot -
Upgrade to Ubuntu 22.04
Terminal window do-release-upgradereboot -
Turn off docker-lvmpy
Terminal window systemctl stop docker-lvmpy && systemctl disable docker-lvmpy -
Make sure nftables is installed
Terminal window sudo apt install nftables -
Disable ufw ipv6 configuration
Terminal window sed -i 's/IPV6=yes/IPV6=no/' /etc/default/ufw. -
Reload ufw
Terminal window ufw reload -
Add
-b
option incommand
section ofrun_sgx/docker-compose.yml
-
Set SGX wallet version to
1.9.0-stable.2
inrun_sgx/docker-compose.yml
-
Run sgxwallet
Terminal window cd run_sgx && docker-compose up -d -
Download new node-cli binary
Terminal window curl -L https://github.com/skalenetwork/node-cli/releases/download/2.6.0/skale-2.6.0-Linux-x86_64 > /usr/local/bin/skale -
Verify node-cli binary hash sum
Terminal window sha512sum /usr/local/bin/skaleExpected checksum
Terminal window 15b2aade24223da4f84ec79bd820d57f852fd7a5d78f10652823629da28aab5db49a5815a2be0c894bb00b99324b00b7d9da2ab1518ddc11f304378af54b427c -
Make node-cli executable
Terminal window chmod +x /usr/local/bin/skale -
Update the following parameters to the new values
Terminal window CONTAINER_CONFIGS_STREAM=3.1.1 -
Execute update
Terminal window skale node update .env --yes -
Restart nftables and docker services
Terminal window systemctl restart nftables && systemctl restart docker