Auto Update

source <(curl -s <https://raw.githubusercontent.com/zstake-xyz/test/refs/heads/main/0g_kv_update.sh>) # kv update

Manual Update

  1. Install
sudo systemctl stop 0gkv && cp $HOME/0g-storage-kv/run/config.toml $HOME/config.toml.backup && rm -r $HOME/0g-storage-kv
  1. Update
git clone -b v1.4.0 <https://github.com/0glabs/0g-storage-kv.git>
cd $HOME/0g-storage-kv
git stash
git fetch --all --tags
git checkout 1e7c207 
git submodule update --init
cargo build --release
  1. Setup config.toml
mv $HOME/config.toml.backup $HOME/0g-storage-kv/run/config.toml
  1. ZGS KV Service Restart
sudo systemctl daemon-reload && sudo systemctl enable 0gkv && sudo systemctl start 0gkv
  1. Log Check
sudo journalctl -u 0gkv -f -o cat

ex)

  1. 0gkv log

스크린샷 2024-08-27 오후 8.49.42.png

  1. seq web check : https://storagescan-newton.0g.ai/

    스크린샷 2024-08-27 오후 8.51.03.png