Skip to content

Latest commit

 

History

History
66 lines (56 loc) · 1.42 KB

File metadata and controls

66 lines (56 loc) · 1.42 KB

Upgrade Your Storage Node to v0.4.5

System Requirements

Category Requirements
CPU 4+ cores
RAM 16+ GB
Storage 500GB / 1T NVME SSD
Bandwidth 500 MBps for Download / Upload

Stop Your Node first

sudo systemctl stop zgs

Then Backup Your File Config.toml

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

1. Git Download

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

2. Then Build It

cargo build --release

3. Check Your Version After Git Download

$HOME/0g-storage-node/target/release/zgs_node --version
Its has to be in ......

Another way to check version

git log -1

4. Move Config.toml Back

mv /root/config-testnet-turbo_backup.toml /root/0g-storage-node/run/config-testnet-turbo.toml
  • Its the same as the previous file config.toml
  • No changes are required in config.toml compared

Restart Your Node

sudo systemctl restart zgs

Check Your Log

tail -f ~/0g-storage-node/run/log/zgs.log.$(TZ=UTC date +%Y-%m-%d)

Check Peers Connected

curl -X POST http://localhost:5678 -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"zgs_getStatus","params":[],"id":1}'  | jq

CONGRATULATIONS MATE!!!