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
1
Confirm the SGXWallet backup
Confirm that the SGXWallet
sgx_data directory and backup key are backed up.2
Open the SGXWallet configuration directory
3
Set the SGXWallet image
In
docker-compose.yml, set the SGXWallet image to skalenetwork/sgxwallet_release:1.10.2.4
Restart the SGXWallet container
Upgrade steps for the node server
1
Stop docker-lvmpy
2
Download node-cli v3.2.0
3
Verify the node-cli binary checksum
4
Make node-cli executable
5
Replace legacy .env options
Replace each legacy option with its new option; do not keep both names in
.env.6
Remove obsolete .env options
Remove these obsolete options from
.env:DB_PORTDB_ROOT_PASSWORDDB_PASSWORDDB_USERIMA_ENDPOINTDISABLE_IMATELEGRAF
7
Set updated .env options
Set
NODE_VERSION to 5.0.0, MANAGER_CONTRACTS and IMA_CONTRACTS to production and update FILEBEAT_HOST:8
Run the update procedure
