Check your version
ghcup --version
make sure ghcup is on the latest version; you may need to run more than once (current version is v0.1.12):
ghcup upgrade
*note - if ghcup --version outputs v0.1.11, this can be remedied via running the following again:
curl --proto â=httpsâ --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
install ghc 8.10.2:
ghcup install ghc 8.10.2
set ghc 8.10.2 as the default version:
ghcup set ghc 8.10.2
verify version 8.10.2 is set correctly:
ghc --version
I before upgraded the node, I ran prerequisits again⌠this will create new folders and the old are backup (env, configuration file, topologyupdater, cntools, cnode, etc)
You need to edit new configuration again (env, conf file for ekg ip, cnode.sh, toplogy_updater, etcâŚ)
Step1
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 -f (for cntools)
. â${HOME}/.bashrcâ
Step2
cd ~/git
cd cardano-node
git fetch --tags --all
git checkout 1.24.2
git pull origin master
echo -e âpackage cardano-crypto-praos\n flags: -external-libsodium-vrfâ > cabal.project.local
$CNODE_HOME/scripts/cabal-build-all.sh
BUT for an usual upgrade for eg 1.24.2->1.24.4 I only use
stop the node!!!
cd ~/git
cd cardano-node
git fetch --tags --all
git checkout 1.24.4
git pull origin master
echo -e âpackage cardano-crypto-praos\n flags: -external-libsodium-vrfâ > cabal.project.local
$CNODE_HOME/scripts/cabal-build-all.sh
and thatâs all
The forum software here converted the quotes into text-quotes! So be carefull with the commands !!!