Cardano Node 1.26.2
LaurenceIO released this 13 hours ago
This point release is a recommended upgrade for all stake pool operators. It is not required for relays or other passive nodes. It ensures that block producing nodes do not unnecessarily re-evaluate the stake distribution at the epoch boundary.
Changes
- Do not force the evaluation of the Mark snapshot - leave this as a thunk (#2614)
Fixed Issues
- Stake pools unnecessarily evaluate the stake distribution at the epoch boundary (#2616)
How to update to 1.26.2
bofore to start it’s better also to update the server
sudo apt-get update
sudo apt-get upgrade
sudo reboot (not mandatory, the reboot was performed last update)
UPDATE STEPS to 1.26.2
Few recommendation before to start:
stop the node :
sudo systemctl stop cnode
build the node
cd ~/git
sudo rm -R cardano-node
git clone https://github.com/input-output-hk/cardano-node
cd cardano-node
git fetch --tags --all
git checkout 1.26.2
echo -e "package cardano-crypto-praos\n flags: -external-libsodium-vrf" > cabal.project.local
$CNODE_HOME/scripts/cabal-build-all.sh
after 30-40 minutes:
/opt/cardano/cnode/scripts$ cardano-node --version
cardano-node 1.26.2 - linux-x86_64 - ghc-8.10
git rev 3531289c9f79eab7ac5d3272ce6e6821504fec4c
/opt/cardano/cnode/scripts$ cardano-cli --version
cardano-cli 1.26.2 - linux-x86_64 - ghc-8.10
git rev 3531289c9f79eab7ac5d3272ce6e6821504fec4c
now you can start the node
sudo systemctl restart cnode
#check the status
sudo systemctl status cnode
start glive let it sync and u should see:
Thank you,
9 Likes
hey you
let us all be upgraded ! ! !
1 Like
great job as usual Alex,
just extra info, based on my setup
i need also this 2 commands to find the new version folder.
cp -p dist-newstyle/build/x86_64-linux/ghc-8.10.2/cardano-node-1.26.2/x/cardano-node/build/cardano-node/cardano-node ~/.local/bin/
cp -p dist-newstyle/build/x86_64-linux/ghc-8.10.2/cardano-cli-1.26.2/x/cardano-cli/build/cardano-cli/cardano-cli ~/.local/bin/
yeah, I don’t know why… mine is ok, don’t need for the commands
1 Like
What has changed in 1.26.2?
If I have compiled the binaries from the last update and I only want to replace the cardano-cli and cardano-node binaries. where should i put the new files?
Should be on cabal folder
Hi Alex, we did this process on the BP node but it is still showing as (Relay - Mainnet). The needful files in my priv folder are intact as they were during 1.25.1. Still we are unable to start the Core Node as the core node. Any workaround for this?
how is it in gliveview, does it started?
cheers,
No it is still “starting…” . Sorry i am on other computer otherwise i would have given you a snapshot.
aa, if it’s saying starting. .it’s fine, it need to re-sync all the DB so it will take a while…
1 Like
OK. I will let you know when it starts and after it starts if it shows correctly as “Core”. Thanks a lot man! We all really like your support
1 Like
looks good but I need to binaries, I can’t compile. lets face it, compiling something from the scratch? it makes sense to you? I don’t think so. software can be precompiled and put to run.
After syncing it is back as Core and is showing Properly as Core - Mainnet.
1 Like
thanks so very much!!! @Alexd1985
2 Likes
CNTools users, pls ensure to run this additional steps before node upgrade.
cd “$HOME/tmp”
curl -sS -o prereqs.sh https://raw.githubusercontent.com/cardano-community/guild-operators/master/scripts/cnode-helper-scripts/prereqs.sh
chmod 755 prereqs.sh
./prereqs.sh
. “${HOME}/.bashrc”