Upgrade to 1.35.5 for Coincashew users

yes i did. no luck. :frowning:
erased db, downloading again.
looks like it didnt build properly.

d@bpid:~$ cardano-node version
cardano-cli version
cardano-node 1.35.4 - linux-x86_64 - ghc-8.10
git rev ebc7be471b30e5931b35f9bbc236d21c375b91bb
cardano-cli 1.35.4 - linux-x86_64 - ghc-8.10
git rev ebc7be471b30e5931b35f9bbc236d21c375b91bb

d@bpid:~$ cabal --version
cabal-install version 3.6.2.0
compiled using version 3.6.2.0 of the Cabal library 
d@bpid:~$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.10.7
d@bpid:~$

@bpid:~$ cabal update
Downloading the latest package list from hackage.haskell.org
Updated package list of hackage.haskell.org to the index-state 2023-01-31T15:29:14Z
To revert to previous state run:
cabal v2-update ‘hackage.haskell.org,2023-01-31T02:41:43Z’
d@bpid:~$

seems the “echo” line is causing me problems:

d@bpid:~/git/cardano-node2.1$ cd $HOME/git/cardano-node2.1
d@bpid:~/git/cardano-node2.1$ cabal configure -O0 -w ghc-8.10.7
Cloning into '/home/d/git/cardano-node2.1/dist-newstyle/src/threepenn_-a39f3242b2cf0a10'...
remote: Enumerating objects: 4893, done.
remote: Counting objects: 100% (107/107), done.
.....................................
.......................................

HEAD is now at 00ebe72 Added support for aeson-2.0, text-2.0, and GHC 9.2
Warning: The package list for 'cardano-haskell-packages' is 26 days old.
Run 'cabal update' to get the latest list of available packages.
Warning: Requested index-state 2023-01-26T18:00:00Z is newer than
'cardano-haskell-packages'! Falling back to older state
(2023-01-03T13:59:37Z).
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: cardano-api-1.35.5 (user goal)
[__1] next goal: cardano-data (dependency of cardano-api)
[__1] rejecting: cardano-data-0.1.1.2, cardano-data-0.1.1.1,
cardano-data-0.1.0.0 (constraint from project config
/home/d/git/cardano-node2.1/cabal.project requires ==0.1.0.1)
[__1] fail (backjumping, conflict set: cardano-api, cardano-data)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: cardano-api, cardano-data

Are you running cabal update after you have cloned the repo into the relevant folder, e.g. cardano-node2? If the echo command isn’t working, then you don’t have a cabal.project.local folder to edit, so the build won’t run right.

1 Like

SOLVED:
i went back and tried building from CC instead of above.
it seemed to work for me.
thanks for your help!

there is something in this line that did not agree with things:

echo -e "package cardano-crypto-praos\n flags: -external-libsodium-vrf" >> cabal.project.local

cheers!

Which part of coincashew did you use? The upgrading a node page (Part 4) or fresh from scratch (Part 1)?

The echo line is the same as per the uprading a node page. In the “from scratch” section, you manually edit the cabal.project.local file.

1 Like

thx for your help!

this part:

ok sync seems to be working now.
on gLiveView: should p2p be enabled? there is no incoming or outgoing connections (zero)

1 Like

P2P is still in testing phase. You can use the Topology Updater to let other relays know about your relay: Configuring Network Topology - CoinCashew

2 Likes

I followed this update and only one of my relays was able to start. My other relay and bp are stuck on “Starting”. Logs aren’t very clear and just show various IpSubscription and DnsSubscription errors

Are you running baremetal on local network or AWS, etc.?
This might be useful, it sounds like a networking issue, so maybe one of your env file updated when you were doing the update?

I’m running on aws so I’m managing all this through security groups

hey guys…following same recipe for 1.35.6 not sure how to fix this…

~$ sudo cp $(find $HOME/git/cardano-node6/dist-newstyle/build -type f -name "cardano-cli") /usr/local/bin/cardano-cli
sudo cp $(find $HOME/git/cardano-node6/dist-newstyle/build -type f -name "cardano-node") /usr/local/bin/cardano-node
cp: cannot create regular file '/usr/local/bin/cardano-node': Text file busy

any help would be appreciated!
node was stopped… :slight_smile:

My first instinct was “is the node still running”.

Maybe a restart and try stop the node again? It isn’t something I’ve seen before “text file busy”

1 Like

Error updating node from 1.35.5 to 1.35.6

~/git/cardano-node6$ cardano-node version
cardano-cli version
cardano-node 1.35.5 - linux-x86_64 - ghc-8.10
git rev 8762a10efe3f9f97939e3cb05edaf04250456702
cardano-cli 1.35.6 - linux-x86_64 - ghc-8.10
git rev 07b0c71d2e6662aec4389ec282a7e91f68c3d85f
:~/git/cardano-node6$ sudo systemctl stop cardano-node
~/git/cardano-node6$ $(find $HOME/git/cardano-node6/dist-newstyle/build -type f -name "cardano-node") version
cardano-node 1.35.6 - linux-x86_64 - ghc-8.10
git rev 07b0c71d2e6662aec4389ec282a7e91f68c3d85f
:~/git/cardano-node6$ sudo systemctl stop cardano-node
:~/git/cardano-node6$ sudo cp $(find $HOME/git/cardano-node6/dist-newstyle/build -type f -name "cardano-cli") /usr/local/bin/cardano-cli
sudo cp $(find $HOME/git/cardano-node6/dist-newstyle/build -type f -name "cardano-node") /usr/local/bin/cardano-node
cp: cannot create regular file '/usr/local/bin/cardano-node': Text file busy

anyone? :slight_smile: am i missing something obvious? node is defininelty shut down.

i hope i dont hit a stud when i put my head through the wall…lol

Text file busy - Helpful)

Still seems to indicate the node might be running. You don’t have a service that is “helpfully” restarting the node after you told it to stop?

1 Like

not sure what was wrong…
i did get it working.

deleted directories and cardano-node in bin…
then did rebuild.

looking in system monitor node was shut down. so corrupt build maybe?
looks to be update…BP next. yikes!

thx for your help!

1 Like

1.35.6 update
using same method…

not sure why i am seeing no upgrade… :frowning:

:~$ cardano-node version
cardano-cli version

cardano-node 1.35.5 - linux-x86_64 - ghc-8.10
git rev 8762a10efe3f9f97939e3cb05edaf04250456702

cardano-cli 1.35.5 - linux-x86_64 - ghc-8.10
git rev 8762a10efe3f9f97939e3cb05edaf04250456702

~$ $(find $HOME/git/cardano-node/dist-newstyle/build -type f -name “cardano-cli”) version

$(find $HOME/git/cardano-node/dist-newstyle/build -type f -name “cardano-node”) version

cardano-cli 1.35.6 - linux-x86_64 - ghc-8.10
git rev 07b0c71d2e6662aec4389ec282a7e91f68c3d85f
cardano-node 1.35.6 - linux-x86_64 - ghc-8.10
git rev 07b0c71d2e6662aec4389ec282a7e91f68c3d85f

anyone?
i stopped node.
i deleted /usr/local/bin/ cardano-node and cardano-cli
i deleted cardano-node.

build as per above.

thoughts?

Try “which cardano-node” and “which cardano-cli”. You might have another executable hiding somewhere.

cardano-node version
cardano-cli version

cardano-node 1.35.5 - linux-x86_64 - ghc-8.10
git rev 8762a10efe3f9f97939e3cb05edaf04250456702
cardano-cli 1.35.5 - linux-x86_64 - ghc-8.10
git rev 8762a10efe3f9f97939e3cb05edaf04250456702

~/git/cardano-node2$ $(find $HOME/git/cardano-node2/dist-newstyle/build -type f -name “cardano-cli”) version
$(find $HOME/git/cardano-node2/dist-newstyle/build -type f -name “cardano-node”) version

cardano-cli 1.35.6 - linux-x86_64 - ghc-8.10
git rev 07b0c71d2e6662aec4389ec282a7e91f68c3d85f
cardano-node 1.35.6 - linux-x86_64 - ghc-8.10
git rev 07b0c71d2e6662aec4389ec282a7e91f68c3d85f

:~/git/cardano-node2$ which cardano-node
/home/d/.local/bin/cardano-node
:~/git/cardano-node2$ which cardano-cli
/home/d/.local/bin/cardano-cli
:~/git/cardano-node2$

hmmmmm?

Is that your “normal” cardano-node executable location?

1 Like