Before beginning the upgrade, create and store backups on another machine:
-
Back up the SGXWallet
sgx_datadirectory andsgx_wallet_backup_key.txt. -
Back up the node:
Upgrade steps for the SGX server
-
Confirm that the SGXWallet
sgx_datadirectory and backup key are backed up. -
Open the SGXWallet configuration directory.
-
In
docker-compose.yml, set the SGXWallet image toskalenetwork/sgxwallet_release:1.10.2. -
Pull and start the updated SGXWallet container.
Upgrade steps for the node server
-
Download node-cli v3.2.0.
-
Verify the node-cli binary checksum.
Expected checksum:
-
Make node-cli executable.
-
Update
.envoption names and values. Replace each legacy option with its new option; do not keep both names in.env.SetLegacy option New option DISK_MOUNTPOINTBLOCK_DEVICEDOCKER_LVMPY_STREAMDOCKER_LVMPY_VERSIONCONTAINER_CONFIGS_STREAMNODE_VERSIONMANAGER_CONTRACTS_ABI_URLMANAGER_CONTRACTSIMA_CONTRACTS_ABI_URLIMA_CONTRACTSSGX_SERVER_URLSGX_URLNODE_VERSIONto5.0.0, andMANAGER_CONTRACTSandIMA_CONTRACTStoproduction: -
Stop docker-lvmpy service.
-
Run the update procedure.
