abracadaniel / cardano-pool-docker

Docker container for setting up and running a Cardano Stake Pool
164 stars 62 forks source link

Cardano node 1.26.1 #30

Closed robinboening closed 3 years ago

robinboening commented 3 years ago

This PR includes changes required to run cardano-node v1.26.1.

I've successfully built the Docker image based on this PR.

root@3df9d2709ad9:/# cardano-cli --version
cardano-cli 1.26.1 - linux-x86_64 - ghc-8.10
git rev 62f38470098fc65e7de5a4b91e21e36ac30799f3

Once the cardano-node starts the DB migration immediately starts as well. Please see the release notes for details https://github.com/input-output-hk/cardano-node/releases/tag/1.26.1

On my local machine the DB migration took about 1.5h with a 3,1 GHz Intel Core i5. I suggest following the steps mentioned in the release notes to mitigate downtime when upgrading live nodes.

robinboening commented 3 years ago

Unfortunately I after the DB migration, while syncing, I got this error at 95%

MuxError (MuxIOException writev: resource vanished (Broken pipe)) "(sendAll errored)"
cardano-cli: MuxIOException writev: resource vanished (Broken pipe) "(sendAll errored)"(standard_in) 2: syntax error

The node restarted and I got this 😞

[1223e770:cardano.node.ChainDB:Error:5] [2021-04-10 01:18:59.79 UTC] Invalid snapshot DiskSnapshot {dsNumber = 25124630, dsSuffix = Nothing}InitFailureRead (Read Failed (DeserialiseFailure 247076112 "end of input"))
abracadaniel commented 3 years ago

Do you still get this error message? I tried starting the node with the new version and it works for me

robinboening commented 3 years ago

I just pulled a DB from one of my relay nodes to my local machine. I am currently running the 1.26.1 on that DB locally.

block replay progress (%) = 52.0

I'll need to keep watching it for a little while longer. I'll let you know.

robinboening commented 3 years ago

With the freshly pulled DB it finally worked 😅