Update blobber/validator image via chimney webapp

After the mainnet release, webapps will be deployed as well. Blobber and Validator images can be updated via Chimney webapp. You can follow the below steps for updation.

  1. SSH into the blobber server using below command. Replace <SERVER-IP-ADDRESS> with ip address of blobber server. It will ask for password to ssh so, you need to input server password.

    ssh -o StrictHostKeyChecking=no root@<SERVER-IP-ADDRESS>
  2. Before updating blobber/validator image. Create postgres data backup using below commands.

    echo "Stop blobber and postgres container to create a backup"
    docker stop blobber_blobber_1 blobber_postgres_1
    
    echo "Creating tar file for blobber-sql-ssd-$(date +%Y-%m-%d).tar.gz"
    tar -cvf - /var/0chain/blobber/ssd/data/postgresql | pigz -p 10 > blobber-sql-ssd-$(date +%Y-%m-%d).tar.gz
    
    echo "Creating tar file for blobber-sql-hdd-$(date +%Y-%m-%d).tar.gz"
    tar -cvf - /var/0chain/blobber/hdd/pg_hdd_data | pigz -p 10 > blobber-sql-hdd-$(date +%Y-%m-%d).tar.gz
    
    echo "Stop blobber and postgres container to create a backup"
    docker start blobber_blobber_1 blobber_postgres_1
    
  3. When registering for the Chimney web app, you provided a username for your account. Please keep this in mind, as it will be used as your password in step 7.

  4. Login into chimney webapp. Select the blobber from the list to update the image tag as shown below:

  5. Click on the Settings option.

  6. Click on the Update Blobber Image

  7. Please input the password for your Blobber/Validator into the designated field obtained from step 3 above. Additionally, enter the image tag v1.20.1 into the version input. Note: Your password is the same as your account username. If you've changed your username since deploying this server, please use the one you had at the time of deployment.

  8. Click on Update Validator.

  9. Click on Update Blobber.

  10. Check your blobber should be reachable from url as well and verify you build tag would have changed to below:

After updating the blobber and validator images through the Chimney webapp, it is crucial to verify that the update has been successful. Follow these steps to confirm the updates:

Last updated