Services Dexanode
  • Mapping Networks
    • Mapping Networks
  • Mainnet
    • Planq Network
      • Installation
      • Upgrade
      • Snapshot
      • Statesync
      • CLI Cheat Sheet
    • Lambda Network
      • Installation
    • Ununifi
      • Installation
      • Manual Installation
    • Lambda Network
  • Testnet
    • CreditCoin (Polkadot)
    • BEVM Incentiviced Testnet Full Node
      • Binaries
      • Docker
    • Dymension Froopyland
      • Create Pull Request
      • Deploy NFT & Smart Contract
    • Noria
      • Installation
      • Manual Installation
      • Upgrade
      • Snapshot
      • Statesync
      • CLI Cheat Sheet
    • Artela
      • Installation
      • Manual Installation
      • Upgrade
      • Snapshot
      • Statesync
      • CLI Cheat Sheet
    • Empower
      • Installation
      • Manual Installation
      • Upgrade
      • Snapshot
      • Statesync
      • CLI Cheat Sheet
    • Cross Finance
      • Installation
      • Upgrade
      • Snapshot
      • Statesync
      • Tool and Services
    • Eclipse Testnet
      • Eclipse Testnet Bridge Quest
    • Polymer
      • Polymer With Docker
      • Polymer Challenge 4
      • Polymer Challenge 4 Gitpod
    • Risc Zero Contributed Phase 1
  • Page 2
  • Tooling Service
    • Create Custom Endpoint Cosmos
    • Create custom endpoint Initia Node
    • Create Snapshoot
  • Page
Powered by GitBook
On this page
  • Make a stop node
  • Updating binary and start service
  • Checking logs
  1. Mainnet
  2. Planq Network

Upgrade

Guide installation node validator

PreviousInstallationNextSnapshot

Last updated 1 year ago

Network: Mainnet | Chain ID: planq_7070-2 | Version: v1.0.5

Since we are using Cosmovisor, it makes it very easy to prepare for upcomming upgrade. You just have to build new binaries and move it into cosmovisor upgrades directory.

Executable
Node Version

planqd

v1.0.4 > v1.0.5

if you get an error looking at logs on nodes try updating available new version.

Make a stop node

sudo systemctl stop planqd

Remove a executable if you use cosmovisor installer

sudo rm -f $HOME/.planqd/cosmovisor/genesis/bin/planqd

Remove a executable if you use basic/statesync installer

sudo rm -f /usr/bin/planqd

Before upgrading you should check if your (GO)lang avaliable if not follow the command below

ver="1.19.5"
cd $HOME
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile
source ~/.bash_profile
go version

Updating binary and start service

cd $HOME
rm -rf planq
git clone https://github.com/planq-network/planq
cd planq
git checkout v1.0.5
make install

Move binary to executable if you use cosmovisor

sudo mv $HOME/go/bin/planqd $HOME/.planqd/cosmovisor/genesis/bin/

Move binary to executable if you use basic/statesync

sudo mv $HOME/go/bin/planqd /usr/bin/

Make a running node

sudo systemctl start planqd

Checking logs

sudo journalctl -fu planqd -o cat