Quick update guide from 1.33.0 (or older) to 1.34.1
if you are upgrading from older versions (1.29.0 or older) this upgrade will resync/replay all the blocks, so be ready that after the upgrade the node, depending on your server specs, will take some (30min - 2h) time to start.
Quick update guide for SPOs who have the previous version already installed 1.30.x
If you are installing from scratch, then follow the installation guide: https://cardano-node-installation.stakepool247.eu/
1.
Let's start with backing up current binaries
1
cd ~/.local/bin/
2
3
# let's create a folder with the version number
4
mkdir -p $(cardano-node version | grep -oP '(?<=cardano-node )[0-9\.]+')
5
6
# copying files to the created folder
7
cp cardano-node $(cardano-node version | grep -oP '(?<=cardano-node )[0-9\.]+')/
8
cp cardano-cli $(cardano-node version | grep -oP '(?<=cardano-node )[0-9\.]+')/
Copied!
2. Let's move forward with upgrading the system packages
# let's check if we have successfully installed the latst cardano-node and cardano-cli versions.
2
which cardano-node && which cardano-cli
3
cardano-node --version
4
cardano-cli --version
Copied!
you should now have similar output:
Now we can start the cardano node process
1
sudo systemctl start cardano-node
Copied!
and check the log files if everything is starting up as planned:
1
journalctl -u cardano-node.service -f -o cat
Copied!
that's it - you have upgraded your node to the latest cardano-node version, now do the same update on all of your other production servers (or copy generated cardano-cli / cardano-node bin files).