UPDATE CARDANO NODE to 1.29.0 - FOR CNTOOLS users

Why -l … where did u saw that command?

The command is:


$CNODE_HOME/scripts/cabal-build-all.sh

First, of course, I tried your command.
Because it didn’t work, I read here in the forum that the other command ($CNODE_HOME/scripts/cabal-build-all.sh -l) is used to force overwriting.

Did u used another guide before cntools ( in the past) ?

YES… ohhhhhh can that be the problem? I forget, if I deleted all that I installed before. Have to check this… Or what should I do?

cd /usr/local/bin (old guide bin files location)
ls -l

cd ${HOME}/.cabal/bin (cntools location)
ls -l

see the differences, check the dates

OLD Location: 9 Aug
NEW Location: today (18 Sep)

NewLocation:
-rwxrwxr-x 1 cardano cardano 108658336 Sep 18 12:39 cardano-cli
-rwxrwxr-x 1 cardano cardano 118888944 Sep 18 12:39 cardano-node
-rwxrwxr-x 1 cardano cardano 97459200 Sep 18 12:39 cardano-node-chairman
-rwxrwxr-x 1 cardano cardano 18865232 Sep 18 12:39 cardano-ping
-rwxrwxr-x 1 cardano cardano 117479728 Sep 18 12:39 cardano-submit-api
-rwxrwxr-x 1 cardano cardano 28098632 Sep 18 12:39 cardano-topology
-rwxrwxr-x 1 cardano cardano 93197248 Sep 18 12:39 db-analyser
-rwxrwxr-x 1 cardano cardano 37080336 Sep 18 12:39 db-converter
-rwxrwxr-x 1 cardano cardano 29359840 Sep 18 12:39 locli
-rwxrwxr-x 1 cardano cardano 47142216 Sep 18 12:39 pir
-rwxrwxr-x 1 cardano cardano 46282424 Sep 18 12:39 plc
-rwxrwxr-x 1 cardano cardano 75021928 Sep 18 12:39 plutus-example
-rwxrwxr-x 1 cardano cardano 18477392 Sep 18 12:39 setup
-rwxrwxr-x 1 cardano cardano 3491936 Sep 18 12:39 tracer-transfomers-example1
-rwxrwxr-x 1 cardano cardano 3308728 Sep 18 12:39 tracer-transfomers-example2
-rwxrwxr-x 1 cardano cardano 121290408 Sep 18 12:39 tx-generator
-rwxrwxr-x 1 cardano cardano 3187176 Sep 18 12:39 unit
-rwxrwxr-x 1 cardano cardano 48269544 Sep 18 12:39 uplc

Old:
lrwxrwxrwx 1 root root 10 Aug 9 11:31 ghc → ghc-8.10.4
-rwxr-xr-x 1 root root 264 Aug 9 11:31 ghc-8.10.4
lrwxrwxrwx 1 root root 11 Aug 9 11:31 ghci → ghci-8.10.4
-rwxr-xr-x 1 root root 62 Aug 9 11:31 ghci-8.10.4
lrwxrwxrwx 1 root root 14 Aug 9 11:31 ghc-pkg → ghc-pkg-8.10.4
-rwxr-xr-x 1 root root 296 Aug 9 11:31 ghc-pkg-8.10.4
lrwxrwxrwx 1 root root 18 Aug 9 11:31 haddock → haddock-ghc-8.10.4
-rwxr-xr-x 1 root root 255 Aug 9 11:31 haddock-ghc-8.10.4
-rwxr-xr-x 1 root root 228 Aug 9 11:31 hp2ps
-rwxr-xr-x 1 root root 226 Aug 9 11:31 hpc
-rwxr-xr-x 1 root root 937 Aug 9 11:31 hsc2hs
lrwxrwxrwx 1 root root 13 Aug 9 11:31 runghc → runghc-8.10.4
-rwxr-xr-x 1 root root 273 Aug 9 11:31 runghc-8.10.4
lrwxrwxrwx 1 root root 6 Aug 9 11:31 runhaskell → runghc

Perfect, meaning that as a default path is cheching the old location if u want u can try to copy the cardano-node and cardano-cli from new location to old location

Or type:

nano ${HOME}/.bashrc
and show me the last lines (export ones)

export PATH=~/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr>
export LD_LIBRARY_PATH=/usr/local/lib:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:
export CNODE_HOME=/opt/cardano/cnode
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

Should be like this

image

save the file, run again


. "${HOME}/.bashrc"

Now question, in glive what version it shows?

I get the error:
-bash: /home/cardano/.cargo/env: No such file or directory
I don’t have the hidden folder “cargo”… What I forget to install???

I also copied all files from the new location to the old one, but checking the cardano node version I still get 1.27.0

Now try to rebuild again the node

Hi Arty44, I rebuilt the node again and everything went smoothly.

Thank you, guys. I tried this, too. But maybe some files are not overwritten and still have a wrong config somewhere. Because I Iost so much time, I have decided to reset one of my relay server completely (new server installation) and now it works!!!
The same can i do for the rest, but what should I do for the BP server?
I believe it should work, if I save the “priv” folder with the pool and wallet data before I reset the server where I will lost all my data. After the reset and the node configuration, I can copy my files back… very complicated…
Or should I try to delete first all files in some folders and then to rebuild again the node?
What do you think?

Copy the bin folder from the relay which worked to the other nodes

Copy here

cd ${HOME}/.cabal/
if still not working the copy the bin folder here

cd /usr/local/

Where does one find this cabal-build-all.sh file?

Should be located inside scripts folder

Found it thank you :bowing_man:

1 Like

This is odd, but not sure if you know this.

I get an error when using “AlonzoGenesisHash”: “7e94a15f55d1e82d10f09203fa1d40f8eede58fd8066542cf6566008068ed874”,

Because it wants the original hash from when I pulled the file down. I think this is what is causing my relay to be stuck in “starting”…

run again prereqs.sh -f
It will force to download the files again…
after this operation edit again the env file in case u are using another port than 6000 and restart the node