Upgrade (v0.7.3)

1. Stop node

sudo systemctl stop zgs

2. Backup config file

mv $HOME/0g-storage-node/run/config-testnet-turbo.toml $HOME/config-testnet-turbo_backup.toml

3. Clone and build new binary

cd $HOME/0g-storage-node
git fetch --all --tags
git checkout v0.7.3
git submodule update --init
cargo build --release

4. Move config file back

mv $HOME/config-testnet-turbo_backup.toml $HOME/0g-storage-node/run/config-testnet-turbo.toml

5. Restart node

sudo systemctl restart zgs && sudo systemctl status zgs

6. Check your version

$HOME/0g-storage-node/target/release/zgs_node --version

Last updated