QuilibriumNetwork / ceremonyclient

Mirror of Quilibrium git repo: ceremonyclient
GNU Affero General Public License v3.0
95 stars 41 forks source link

Fixed docker build issue #199

Closed ephz3nt closed 5 months ago

ephz3nt commented 5 months ago

Fix the error caused by the change of the location of the files ceremony.json and retroactive_peers.json during the build.

nullcache commented 5 months ago

It helps. But when I download snapshot file by myself, docker ends suddenly

{"level":"info","ts":1716628218.4019265,"caller":"p2p/blossomsub.go:567","msg":"initiating peer discovery"}
{"level":"info","ts":1716628223.920373,"caller":"p2p/blossomsub.go:614","msg":"completed initial peer discovery"}
{"level":"info","ts":1716628223.9218073,"caller":"master/master_clock_consensus_engine.go:137","msg":"constructing consensus engine"}
{"level":"info","ts":1716628223.9222422,"caller":"app/node.go:70","msg":"check store and repair if needed, this may take a few minutes"}
panic: get parent data clock frame: item not found

goroutine 1 [running]:
source.quilibrium.com/quilibrium/monorepo/node/app.(*Node).RunRepair(0x401161c370)
        /opt/ceremonyclient/node/app/node.go:83 +0x4c4
main.repair({0x4000285428, 0x7}, 0x4000046f00?)
        /opt/ceremonyclient/node/main.go:608 +0x90
main.main()
        /opt/ceremonyclient/node/main.go:340 +0xae0

I delete the store and restart and it restore.

Do you download snapshot directly ? Can you provide an url?

ephz3nt commented 5 months ago

It helps. But when I download snapshot file by myself, docker ends suddenly

{"level":"info","ts":1716628218.4019265,"caller":"p2p/blossomsub.go:567","msg":"initiating peer discovery"}
{"level":"info","ts":1716628223.920373,"caller":"p2p/blossomsub.go:614","msg":"completed initial peer discovery"}
{"level":"info","ts":1716628223.9218073,"caller":"master/master_clock_consensus_engine.go:137","msg":"constructing consensus engine"}
{"level":"info","ts":1716628223.9222422,"caller":"app/node.go:70","msg":"check store and repair if needed, this may take a few minutes"}
panic: get parent data clock frame: item not found

goroutine 1 [running]:
source.quilibrium.com/quilibrium/monorepo/node/app.(*Node).RunRepair(0x401161c370)
        /opt/ceremonyclient/node/app/node.go:83 +0x4c4
main.repair({0x4000285428, 0x7}, 0x4000046f00?)
        /opt/ceremonyclient/node/main.go:608 +0x90
main.main()
        /opt/ceremonyclient/node/main.go:340 +0xae0

I delete the store and restart and it restore.

Do you download snapshot directly ? Can you provide an url?

try https://quilibrium.guide/store-snapshot, i'm not use snapshot

mscurtescu commented 5 months ago

this was just fixed by https://github.com/QuilibriumNetwork/ceremonyclient/pull/220

no need to copy these json files anymore, they are embedded in the binary now

this PR can be closed (but keep in mind that the fix is not on main yet)