UPDATE CARDANO NODE to 1.31.0 - FOR CNTOOLS users

Is there any way (short of wiping the entire server) to remove the existing build and start over?

Wait for the relay to be updated then copi the bin folder from relay to producerā€¦ it should work

Thanks Alex. My relay just completed - I will attempt that. Just to be clear, after I copy bin folder, I should retry build-all?

And which path for the bin folder?

Nope, just:

  • on producer rename the bin filder to bin_bkp
cd ${HOME}/.cabal/
ls -l
mv bin bin_bkp
ls -l

Now copy the bin folder from relay (cd ${HOME}/.cabal/) and upload on producerā€¦ then restart the node (also u will need to edit again the env file, topology file, cncli.sh file <<u have the backap files so u can use for example mv topology.json_bkpxxx topology.json or mv env_bkpxxx env)

Ok, all of the above steps are done, but I am getting permission denied errors when I try to start the nodeā€¦ Do I need to do something to the bin folder to update permissions?

Yes, use
chown your_user:your_user bin

Ok, got the permissions sorted and the node appears to be starting! Fingers crossedā€¦

Update: That appears to have worked!!! Really appreciate it, Alexā€¦ Have no idea what caused this and hopefully it wonā€™t be an issue for the next update, but for now it appears to be working so I appreciate that very much.

You are welcome, yes I donā€™t know what is going on (because I donā€™t see any error)ā€¦ anyway letā€™s wait for 1.32.0 :slight_smile:

Smooth upgrade once again. Thanks Alex!

1 Like

This error comes from cabal-build-all.sh Something here fails. Worked for me if I commented out the whole if statement, but didnt have time to analyse what goes wrong. Here it writes what libsodium to take and adds two repos.

My guess is some of us have problems because it correctly parses the path ${PWD##*/}

If this would work you can also call cabal-build-all.sh with -l to auto add external libsodium github link

Hey there - Thanks for the input. I am now having the same issue trying to upgrade to 1.32.1. Were you able to look into this further? Any ideas what the fix might be?

When you say comment out the if statement, do you mean the entire block lines 11-34?

Yes just comment out whole if ā€¦ fi block. That should do it.

You could also try to reset prompt changes in .bashrc if that maybe fixes it.

For me it worked fine for 1.32.1 so cannot reproduce this anymoreā€¦

Hi Alex!

Thanks for the post.

I have followed the instructions. After reboot I have answered 3 times ā€œyesā€ to the following questions:

  1. download latest env file (new file looks ok inside - I can see port 6000 uncommented line. no other changes)
  2. update gLiveView
  3. update scripts

I have the following message after update:

Checking for script updatesā€¦

Guild scripts has now been upgraded to support cardano-node 1.32.1 or higher (1.31.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

2 solutionsā€¦ upgrade the nodes to 1.32.1 or use the old scripts (should be named file_name_bkpxxx)

for env u can use

mv env_bkpxxx env
mv gLiveView.sh_bkpxxxxx gLiveView.sh

Sorry for stupid question. How I can upgrade to 1.32.1?

but soon it will be released 1.33.0, so you should wait more days

1 Like

Thank you very much for your help!

1 Like

Iā€™m on 1.30.1 and have received a block in a long time. Should I start thinking something is wrong with my config?

I think not, at least if the CNCLI shows u 0 blocks

38 epochs no blocks seems something is wrong, I got my first block after 20 epochs, but there are no errors or warnings in the logs.