@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:~$
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.
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?
~/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
:~/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$