How can upgrade Beam node

Poko BluePoko Blue
1 min read

From this announcement, let ‘s upgrade BEAM node together.

https://x.com/BuildOnBeam/status/1906672555550790141

Image

So, we have to update 2 parts.

  • The Avalanchego

  • The configuration

Upgrade the Avalanchego

Before you begin, make sure to back up our node. This is crucial in case your node goes down, the hard drive is damaged, or for any other reason you might lose your node. You can recover your progress with these files.

cd
cp ~/.avalanchego/staking/staker.crt .
cp ~/.avalanchego/staking/staker.key .

After that, I have copied it into my other computer.

  1. Execute the auto installer by running this command. It will stop the service, check for the latest update binary, and install it for you.

    That’s it. check if it run normally.

Setup new config

  1. Go to the path below and copy it to your home directory for backup.

     cd .avalanchego/configs/chains/2tmrrBo1Lgt1mzzvPSFt73kkQKFas5d1AP88tv9cicwoFp8BSn
     cp upgrade.json /home/huicom
    
  2. Delete the old file and download the new upgrade.json.

     rm upgrade.json
     wget https://raw.githubusercontent.com/BuildOnBeam/beam-subnet/main/subnets/beam-mainnet/upgrade.json
    
  3. Restart the node and check status

     sudo systemctl restart avalanchego.service
     sudo systemctl status avalanchego.service
    

    You should get something like this.

    Congratulations! We have successfully upgraded our node. If you have any suggestions, please let me know. Thank you for reading.

0
Subscribe to my newsletter

Read articles from Poko Blue directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Poko Blue
Poko Blue