How can I downgrade the node from 1.18.1 to 1.18.0 on Ubuntu? Thank you
If you have 1.18.0 binairies, it’s just a matter of stopping the node and restarting with those binairies.
I’m new at this. Can you tell me how to get the binaries for 1.18.0 because I don’t have it. I installed my node with 1.18.1 , I never had 1.18.0
No problem, where did you get the 1.18.1 binairies?
I installed it from the source code using coincashew’s guide
Alright good, so you’re going to have to rebuild with tag 1.18.0, step 2 basically from the guide
git checkout tags/1.18.0
Stop your node
Delete the 1.18.1 binairies from your $NODE_HOME/bin folder or wherever you copied them usr/local/bin
You might have 1.18.1 and 1.18.0 binairies in your dist-newstyle folder so make sure you get the 1.18.0 binairies copied to your $NODE_HOME/bin
And then start the node and you should be good
What are some of the names of the binary files because inside the bin file is just cabal
In cardano-node directory you should have a dist-newstyle directory with everything that’s built
You need :
dist-newstyle/build/x86_64-linux/ghc-8.6.5/cardano-node-1.18.0/x/cardano-node/build/cardano-node/cardano-node
dist-newstyle/build/x86_64-linux/ghc-8.6.5/cardano-cli-1.18.0/x/cardano-cli/build/cardano-cli/cardano-cli
cd cardano-node
cabal clean
cabal update
git fetch --all --tags
git checkout tags/1.18.0
cabal build all
cp -p dist-newstyle/build/x86_64-linux/ghc-8.6.5/cardano-node-1.18.0/x/cardano-node/build/cardano-node/cardano-node ~/.local/bin/
cp -p dist-newstyle/build/x86_64-linux/ghc-8.6.5/cardano-cli-1.18.0/x/cardano-cli/build/cardano-cli/cardano-cli ~/.local/bin/
and verify correct version with:
cardano-node --version
cardano-cli --version
Thank you for all your help
My pleasure, Momo!