UPDATE CARDANO NODE to 1.30.1 - FOR CNTOOLS users

Are u recieving this error for all nodes?

No. Only this particular node.

Then copy from one updated node the bin folder from ${HOME}/.cabal/ to this node … should work

Thanks Alex,
Apparently deleting this folder will resolve my problem. Put it here so it might be useful for other.

$HOME/git/cardano-node/dist-newstyle/build/x86_64-linux/ghc-8.10.4/ cardano-config-0.1.0.0

1 Like

Hello Alex,
Thanks again for this update: My 3 nodes seem to work properly. With only 8 Gig RAM (+8 Gig swap), I have disabled monitoring and I had turned to “false” Tracemempool on the relays (not on the BP). I will ride like this…
And could you remind me how to remove a relay correctly?
Thanks in advance and have a nice week end! :grinning:
Alain

Stop the relay, then go to Producer amd inside the topology file delete the IP of the relay (save the file and restart the node); then when u will have time u will need to send a new pool certificate without the removed relay

Thanks Alex.
Everything worked perfect after following your steps.

1 Like

Hi @Alexd1985, thank you for this post. I’ve followed your instructions but for some reason version keeps at 1.29.0. I’ve tried deleting the git/cardano-node folder but still not working.

Here’s my output:

$CNODE_HOME/scripts/cabal-build-all.sh
Overwriting cabal.project.local to include cardano-addresses and bech32 (previous file, if any, will be saved as cabal.project.local.swp)..
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-api-1.30.1.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-cli-1.30.1.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-client-demo-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-config-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-node-1.30.1.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-node-chairman-1.30.1.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-submit-api-3.1.2.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-testnet-1.30.1.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-topology-1.29.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/locli-1.29.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/tx-generator-1.29.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/plutus-example-1.29.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/trace-forward-0.1.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/Win32-network-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/bech32-1.1.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-addresses-3.5.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-addresses-cli-3.5.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/strict-containers-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-slotting-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/orphans-deriving-via-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/measures-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-crypto-tests-2.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-crypto-praos-2.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-crypto-class-2.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-binary-test-1.3.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-binary-1.5.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/base-deriving-via-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-crypto-1.1.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-ledger-shelley-ma-test-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-ledger-shelley-ma-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/shelley-spec-ledger-test-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/shelley-spec-ledger-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/shelley-spec-non-integral-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/small-steps-test-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/small-steps-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-ledger-core-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-ledger-byron-test-1.3.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-ledger-byron-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/byron-spec-ledger-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-crypto-test-1.3.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-crypto-wrapper-1.3.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/byron-spec-chain-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-ledger-alonzo-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-prelude-test-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/cardano-prelude-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/flat-0.4.5.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/goblins-0.2.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/hedgehog-extras-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/tracer-transformers-0.1.0.1.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/lobemo-scribe-systemd-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/lobemo-backend-trace-forwarder-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/lobemo-backend-monitoring-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/lobemo-backend-ekg-0.1.0.1.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/lobemo-backend-aggregation-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/iohk-monitoring-0.1.10.1.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/contra-tracer-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/optparse-applicative-fork-0.16.1.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/typed-protocols-examples-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/typed-protocols-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/ouroboros-network-testing-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/ouroboros-network-framework-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/ouroboros-network-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/ouroboros-consensus-shelley-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/ouroboros-consensus-cardano-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/ouroboros-consensus-byron-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/ouroboros-consensus-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/network-mux-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/monoidal-synchronisation-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/io-classes-0.2.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/io-sim-0.2.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/word-array-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/plutus-ghc-stub-8.6.5.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/prettyprinter-configurable-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/plutus-tx-plugin-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/plutus-tx-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/plutus-ledger-api-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/plutus-ledger-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/ada/git/cardano-node/dist-newstyle/sdist/plutus-core-0.1.0.0.tar.gz
Warning: Requested index-state 2021-04-30T00:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state (2021-04-29T23:07:55Z).
Resolving dependencies...
Up to date
Symlinking 'bech32' to '/home/ada/.cabal/bin/bech32'
Symlinking 'cardano-address' to '/home/ada/.cabal/bin/cardano-address'
Running cabal update to ensure you're on latest dependencies..
Downloading the latest package list from hackage.haskell.org
Package list of hackage.haskell.org is up to date at index-state 2021-10-04T12:39:22Z
Building..
Warning: Requested index-state 2021-04-30T00:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state (2021-04-29T23:07:55Z).
Resolving dependencies...
Up to date
cardano-node --version
cardano-node 1.29.0 - linux-x86_64 - ghc-8.10
git rev 4c59442958072657812c6c0bb8e0b4ab85ce1ba2

cardano-cli --version
cardano-cli 1.29.0 - linux-x86_64 - ghc-8.10
git rev 4c59442958072657812c6c0bb8e0b4ab85ce1ba2

Any hint would be appreciated. Thank you.

Type which cardano-node I think the path will be /usr/local

You can copy the bin folder from /home/user(replace user with your user)/.local/ to /usr/local

It didn’t even compiled to $HOME/.local:

ls ~/.local
ls: cannot access '/home/ada/.local': No such file or directory

cd ${HOME}/.cabal/
ls -l

copy the bin file to /usr/local

Oh I was just replying with that, it ended up in $HOME/.cabal. Thank you!

Worked perfectly, Thanks!

1 Like

tried again and still failing getting this, this time around

cabal: Failed to build exe:alex from alex-3.2.6 (which is required by
exe:plutus-example from plutus-example-1.29.0, test:cardano-api-test from
cardano-api-1.30.1 and others). See the build log above for details.
Failed to build basement-0.0.12 (which is required by exe:cardano-submit-api
from cardano-submit-api-3.1.2, exe:plutus-example from plutus-example-1.29.0
and others). See the build log above for details.

Copying alex to /home/cardanouser/.cabal/bin/
cp: cannot stat 'dist/build/alex/alex': No such file or directory

hmm try to go to

cd ~/tmp
./prereqs.sh -f


. "${HOME}/.bashrc"
also you can type nano ${HOME}/.bashrc and show me the last lines with export

did u used in the past another guide to build the node? do you have any node up and running on 1.30.1 version?

@Alexd1985 hoping you can help on this. CNTOOLS build was working just fine 1.29.0 then upgrade to 1.30 and getting this error

Checking for script updates…

Guild scripts has now been upgraded to support cardano-node 1.30.1 or higher (1.29.0 found).
Please update cardano-node (note that you should ideally update your config too) or use tagged branches for older node version.

ERROR: gLiveView failed to load common env file
Please verify set values in ‘User Variables’ section in env file or log an issue on GitHub

any ideas why…

cardano-node - -version
which cardano-node

Thanks Alex!

which cardano-node

/home/cardano/.local/bin/cardano-node

cardano-node version

cardano-node 1.29.0 - linux-x86_64 - ghc-8.10

git rev 4c59442958072657812c6c0bb8e0b4ab85ce1ba2

hmmm why didnt cabal build move the 1.30.1??

FYI I have moved .cabal/bin and now showing proper version but why didnt build move it into this dir??

because u used another guide before… and your binaris are located to cd usr/local/bin (I guess)

try now which cardano-node