cardano-graphql icon indicating copy to clipboard operation
cardano-graphql copied to clipboard

When is the new version expected to be released

Open YuXiaoCoder opened this issue 11 months ago • 16 comments

Ask a question

When is a new release expected for cardano-node-ogmios and cardano-db-sync compatibility?

YuXiaoCoder avatar Mar 18 '24 09:03 YuXiaoCoder

We are in the last steps of testing. It is done in this PR: Feat/upgrade db sync 13.2.0.1 ogmios 6.1 node 8.7.3

The problem is currently that a resync is needed due to database upgrades and we are looking for a solution. When this PR is merged I will kick off the new release.

Kammerlo avatar Mar 18 '24 09:03 Kammerlo

Thank you very much, for the hard work.

YuXiaoCoder avatar Mar 19 '24 04:03 YuXiaoCoder

For v8.0.1, the release note and docker image are not yet available

YuXiaoCoder avatar Mar 21 '24 02:03 YuXiaoCoder

We moved the docker hub repository to the CardanoFoundation: https://hub.docker.com/u/cardanofoundation There you'll find the Docker Images from 8.0.1 There's still an issue with the NPM build, but the docker images are fine.

Kammerlo avatar Mar 21 '24 07:03 Kammerlo

extremely grateful

YuXiaoCoder avatar Mar 21 '24 15:03 YuXiaoCoder

@Kammerlo When I refer to docker-compose.yml to deploy the node, I find that I can't find the latest mirrors for cardano-graphql-server and cardano-graphql-background:. https://github.com/cardano-foundation/cardano-graphql/blob/master/docker-compose.yml https://hub.docker.com/r/cardanofoundation/cardano-graphql-server https://hub.docker.com/r/cardanofoundation/cardano-graphql-background

YuXiaoCoder avatar Mar 22 '24 04:03 YuXiaoCoder

I'll take care of that. I need to extend the build jobs to build and push these images additionally. I'll give you a ping, when it's done. In the meantime if you want to proceed you can build these images on your own by setting the --build parameter while starting docker compose stack.

Kammerlo avatar Mar 22 '24 07:03 Kammerlo

Okay, I'll wait for you to build it.

YuXiaoCoder avatar Mar 22 '24 07:03 YuXiaoCoder

https://hub.docker.com/orgs/cardanofoundation/repositories I added the missing docker images to the cardanofoundation repositories. Give it a try and let me know if anything else hinders you

Kammerlo avatar Mar 22 '24 12:03 Kammerlo

@Kammerlo I get the following error when importing snapshots

pg_restore: [archiver] unsupported version (1.14) in file header

YuXiaoCoder avatar Mar 27 '24 12:03 YuXiaoCoder

Have you upgraded your postgres database as well? To 14.10-alpine. Due to the db-sync upgrade we needed to bump the postgres version as well. For me a resync was needed.

Kammerlo avatar Mar 28 '24 06:03 Kammerlo

Hi @Kammerlo

I am running a Cardano node on the preview/mainnet with the following versions:

cardano-node = 8.7.3
cardana db sync = 13.2.0.1
cardano graphql =. 8.0.1
ogmios = 6.1.0
postgres = 14-alpine

Could you please help me find the correct configuration files for the Cardano node 8.7.3 for the following components?

alonzo-genesis.json
byron-genesis.json
conway-genesis.json
shelley-genesis.json
cardano-node = config.json
cardano-node = topology.json
cardano-db-sync = config.json

The configuration files present here are compatible with cardano node 8.9.1.

  • https://book.world.dev.cardano.org/env-preview.html
  • https://book.world.dev.cardano.org/env-mainnet.html

I somehow managed to start the Cardano node and its dependent components by resolving the configuration issues with a fresh setup, as a db-sync upgrade was needed. However, the node doesn't seem to be syncing with the latest block, even after running it for a day.

saravadeanil avatar Apr 15 '24 09:04 saravadeanil

Hi @saravadeanil, I added the right config files for Node 8.7.3 Link. Have you tried these configs shipped with this repository?

Kammerlo avatar Apr 15 '24 11:04 Kammerlo

Hi @saravadeanil, I added the right config files for Node 8.7.3 Link. Have you tried these configs shipped with this repository?

Hi @Kammerlo, thank you for your reply. Actually, I've already tried the configurations for Node 8.7.3 that came with this Cardano node repository: https://github.com/IntersectMBO/cardano-node/tree/8.7.3/configuration/cardano and also checked https://book.world.dev.cardano.org/environments.html.

Thanks, I will try the configurations from https://github.com/cardano-foundation/cardano-graphql/tree/master/config/network.

saravadeanil avatar Apr 15 '24 12:04 saravadeanil

@Kammerlo I tried using the config file you shared earlier LINK, and the node seems to be running with it. However, I don't think the node is syncing and I see the below error message in the cardano-node logs. Just to inform you, I am running preview network.

[cardano-:cardano.node.InboundGovernor:Info:62] [2024-04-15 14:08:21.08 UTC] TrMuxErrored (ConnectionId {localAddress = 10.0.3.10:36347, remoteAddress = 18.185.163.167:3001}) (HeaderError (At (Block {blockPointSlot = SlotNo 0, blockPointHash = 268ae601af8f9214804735910a3301881fbe0eec9936db7d1fb9fc39e93d1e37})) (HeaderProtocolError (HardForkValidationErrFromEra S (S (S (S (Z (WrapValidationErr {unwrapValidationErr = ChainTransitionError [OverlayFailure (VRFKeyBadNonce (Nonce "81e47a19e6b29b0a65b9591762ce5143ed30d0261e5d24a3201752506b20f15c") (SlotNo 0) (Nonce "816ae1d6589c944bb40011e44fdf0531b6702d3f6e569c62d7ba08a0367cc412") (CertifiedVRF {certifiedOutput = OutputVRF {getOutputVRFBytes = "\213\211\US\141\181\nE\152\206\210\DLE\133\DEL\186\148\169\130\USe\184o\228\181gQiB\186\&1\247\188\147[~\150nUL\RSN\247\200n\173%\136\170\fd\141\150\239\178\171w\183\151C\208\&3\vz\fH"}, certifiedProof = CertPraosVRF "]9\226;\227\181r i\ESC\182^\DC2\133J\237e\147\233\133J\RS\156DL\151k\138\EOTm\223?\STX\247w\200\DC3\147X\236\229'b2l($\236\132\233\SUB3\166lV\180\197\153q\220\229&\147\200C\185Z\ESC\232n\NUL1<\211\218\197|\154e\a"}))]}))))))) TipGenesis (Tip (SlotNo 46534038) 0fbad5ebbfeaa3d53fe4b5878d3575f34fd0b0b0d856a83f24ae027ad54a51f6 (BlockNo 1991091)))

[cardano-:cardano.node.ConnectionManager:Info:53057] [2024-04-15 14:08:21.08 UTC] TrConnectionHandler (ConnectionId {localAddress = 10.0.3.10:36347, remoteAddress = 18.185.163.167:3001}) (TrConnectionHandlerError OutboundError (HeaderError (At (Block {blockPointSlot = SlotNo 0, blockPointHash = 268ae601af8f9214804735910a3301881fbe0eec9936db7d1fb9fc39e93d1e37})) (HeaderProtocolError (HardForkValidationErrFromEra S (S (S (S (Z (WrapValidationErr {unwrapValidationErr = ChainTransitionError [OverlayFailure (VRFKeyBadNonce (Nonce "81e47a19e6b29b0a65b9591762ce5143ed30d0261e5d24a3201752506b20f15c") (SlotNo 0) (Nonce "816ae1d6589c944bb40011e44fdf0531b6702d3f6e569c62d7ba08a0367cc412") (CertifiedVRF {certifiedOutput = OutputVRF {getOutputVRFBytes = "\213\211\US\141\181\nE\152\206\210\DLE\133\DEL\186\148\169\130\USe\184o\228\181gQiB\186\&1\247\188\147[~\150nUL\RSN\247\200n\173%\136\170\fd\141\150\239\178\171w\183\151C\208\&3\vz\fH"}, certifiedProof = CertPraosVRF "]9\226;\227\181r i\ESC\182^\DC2\133J\237e\147\233\133J\RS\156DL\151k\138\EOTm\223?\STX\247w\200\DC3\147X\236\229'b2l($\236\132\233\SUB3\166lV\180\197\153q\220\229&\147\200C\185Z\ESC\232n\NUL1<\211\218\197|\154e\a"}))]}))))))) TipGenesis (Tip (SlotNo 46534038) 0fbad5ebbfeaa3d53fe4b5878d3575f34fd0b0b0d856a83f24ae027ad54a51f6 (BlockNo 1991091))) ShutdownPeer)

cardano-cli query tip --testnet-magic 2 --socket-path /ipc/node.socket
{
    "epoch": 0,
    "era": "Alonzo",
    "slotInEpoch": 0,
    "slotsToEpochEnd": 86400,
    "syncProgress": "0.00"
}

I used these schema files from LINK while bootstrapping the cardano-db-sync. Can you please confirm if these are the correct files to be used?

I was considering restoring the cardano-db-sync from a snapshot, but it seems that it is only available for the mainnet LINK.

Do you have any idea what might be missing, or is it expected that the node will take time to sync from genesis?

saravadeanil avatar Apr 15 '24 14:04 saravadeanil

@saravadeanil db-sync should deal with the schemas on it's own, so no need to tangle around with that. And yes snapshots for DB-sync are only available for Mainnet. So the node will take some time to sync. You can speed it up by using https://csnapshots.io/about but this only available for mainnet and preprod.

Kammerlo avatar Apr 16 '24 11:04 Kammerlo

Closing this issue due to inactivity. If you have anything else reopen this issue or open another one. Thanks for the feedback so far!

Kammerlo avatar Jul 04 '24 09:07 Kammerlo