Skip to content

Latest commit

 

History

History
88 lines (70 loc) · 2.06 KB

File metadata and controls

88 lines (70 loc) · 2.06 KB

Use this guide to update your Drosera Trap and Operators with each release.

1. Update Drosera CLI (Droseraup)

1. Download and install new CLI release

curl -L https://app.drosera.io/install | bash
source /root/.bashrc
droseraup

2. Re-Apply Drosera Configurations

DROSERA_PRIVATE_KEY=xxx drosera apply
  • Replace xxx with your trap's Private Key.
  • Enter ofc, when prompted.

2. Update Operator

1. Download and install new Operator release

cd ~
# Download
curl -LO https://github.com/drosera-network/releases/releases/download/v1.23.1/drosera-operator-v1.23.1-x86_64-unknown-linux-gnu.tar.gz

# Install
tar -xvf drosera-operator-v1.23.1-x86_64-unknown-linux-gnu.tar.gz
  • Currently the latest Operator CLI version is v1.23.1. Verify the latest version here
  • You have to get the link of drosera-operator-v1.x.x-x86_64-unknown-linux-gnu.tar.gz and replace the existing url in curl -LO command with the new release url

Test the CLI with ./drosera-operator --version to verify it's working.

# Check version
./drosera-operator --version

# Move path to run it globally
sudo cp drosera-operator /usr/bin

# Check if it is working
drosera-operator --version

2. Install Docker image

docker pull ghcr.io/drosera-network/drosera-operator:latest

3. Head to Operator's directory:

cd ~
cd Drosera-Network

4. Stop Operator(s):

docker compose down -v

5. Restart Operator(s):

docker compose up -d

6. Node Logs:

docker compose logs -f
  • You will get errors initially

image

  • After a few mintues, you'll get healthy logs:

image

Then, Your operators will produce Green Blocks, bro. Congratz. image