Update Cardano Node to 1.31.0 - for Coincashew users

From my own experience (I recently upgraded to 8.10.7) it works quite well. No problems so far. Now let’s hope for node version 1.32.0 :slight_smile:

It’s not necessary. Take a look.

I’ve just unset the GHCRTS var and worked fine!

1 Like

Thank you for your help @DavidNC

When I get to step 6 to check cardano-node and cardano-cli versions, they still say 1.30. I’ve tried all the steps up to that point several times with no luck. Seems like the binaries aren’t being overwritten with the new version?
I think I remember this happening with a previous update at some point as well but don’t remember how I resolved it.

It pretty much depends where your binaries have been installed and how your PATH variable is set.

If you use the command

type cardano-node

you’ll see where your binaries should reside. You should install the new ones also with this path. As an alternative you can change the PATH variable to point to the new binaries.

Please add downloading the new config file for mainnet, because it adds some new settings available for tracing. It’s not required to work properly, but never the less should be done to have a complete upgrade.

I solved a similar issue with someone last night (cntools user) the problem was ghcup (wrong path)

can u try ghcup - -version
cabal - -version

Hi Alex, thanks for the reply. I got this sorted out after manually removing the existing binaries and trying again.

1 Like

Hi guys,

is it possible to go directly to 1.32.0 using this same information?

thanks

Do u mean 1.32.1 right? Yes u can

great! Thank you.

Just by changing the tag to 1.32.1 right? :slight_smile:

Right, the last version released is 1.32.1

1 Like

For the last version 1.32.1, ghc 8.10.4 and cabal 3.4.0?

Thank you.

Yes, all comands are valid

It is ok to upgrade ghc to 8.10.7.

Good Morning, I completed the upgrade to 1.32.1 on my 5 relays, but on my BP it is can stuck with this message, “cp: cannot create regular file ‘/usr/local/bin/cardano-node’: Text file busy”
only after doing the :
sudo cp $(find $HOME/git/cardano-node2/dist-newstyle/build -type f -name “cardano-node”) /usr/local/bin/cardano-node

the sudo cp for cardano-cli went fine…

Any thoughts? Do I need to stop all background processes?

Erndawg

You’ll have to stop the service. Only then it is possible to overwrite the binary.

I should have said that, I have stop the node, and confirmed with journal --follow

I still see about 5 system background processes running. the rest are sleeping…

I am looking at the system monitoring…