Update Node to 9.1.1
This guide will take you through the steps to update your node to 9.1.1. This guide is for the coincashew method users. Please double check file paths and file name and adjust as needed.
UPDATED: 9/5/2024
Please note after updating it will take up to 6 hours maybe more to sync block replay.
Step 1 - GHC and Cabal Check
Make sure you are using ghc 8.10.7 and cabal 3.8.1.0. If already installed you can skip this step.
Step 2 - Backup your Configuration file:
Step 3 - Download the new mainnet conway genesis file:
Step 4 - Update Config file:
Edit or add THESE TWO LINES to the following:
Step 5 - Download latest cardano-node git and checkout latest branch
Step 6 - Build the node
If you have tmux, it is recommended to open tmux by typing tmux
this will allow to run these commands to build the node without terminal timing out.
Step 7 - Check cardano-node that the build was successful
✅if 9.1.1 - move to next step
Step 8 - Download latest cardano-cli git and checkout latest branch
Step 9 - Build the CLI
Step 10 - Check cardano-cli build was successful
✅if 9.2.1.0 - and you were using tmux, close tmux by typing exit
Step 11 - Shut down the node and move the binaries to your bin
If on 9.1.1 node and 9.2.1.0 cli, then shut down the node and move the binaries to your bin
Step 12 - Check that successful version upgrades then start back up Cardano node
✅If on 9.1.1 node and 9.2.1.0 cli move to next step
Step 13 - Update and restart your instance
Block replay will now start after reboot. This could take up to 6 hours. To check progress run:
journalctl -fu cardano-node
Use Ctrl+C command to exit the real time view.
Step 14 - Clean up
Additional Steps
Copy the cardano-cli binaries to your air gap machine. You can copy from your /usr/local/bin or from the new build to a USB drive
Check to see if you need to update other programs like CNCLI https://github.com/cardano-community/cncli
Congratulations you did it!
Additional Resources:
Contributors
Thanks to the following pools for helping to put together these guides. Please consider delegating to their pools to support them. Are you a pool? Consider buying them a coffee
Last updated