
Upgrade Storage node v.0.5.0
This guide for upgrade new version without delete node
1. Stop node and update dependencies
sudo systemctl stop zgssudo apt-get update
sudo apt-get openssl libssl-dev pkg-config2. Backup config file
Please backup the correct file you are using: config.toml/config-testnet-turbo.toml/config-testnet-standard.toml
mv $HOME/0g-storage-node/run/config-testnet-turbo.toml $HOME/config-testnet-turbo_backup.toml3. Clone and build new binary
cd $HOME/0g-storage-node
git fetch --all --tags
git checkout v0.5.0
git submodule update --init
cargo build --release4. Move config file back
mv $HOME/config-testnet-turbo_backup.toml $HOME/0g-storage-node/run/config-testnet-turbo.toml5. Restart node
Last updated