Coder Social home page Coder Social logo

Comments (8)

gdzien-co avatar gdzien-co commented on September 26, 2024

Tried running with debugging options I've seen in #541
-l state-db=trace,sync=trace

It has changed nothing, seems like something in my data is corrupted, will try to run other node with other data location, keeping those for a week or so in case if you need the data files to investigate further.
Log file from docker logs of "new container with old data" attached:
log.txt

from moonbeam.

crystalin avatar crystalin commented on September 26, 2024

Thank you for trying.
The parameter you typed looks good, but the output should look like those (where you see the log level in the line, like INFO, TRACE...)

2021-07-12 17:46:16.383  INFO main sc_cli::runner: Moonbeam Parachain Collator
2021-07-12 17:46:16.384  INFO main sc_cli::runner: ✌️  version 0.9.2-c25242f8-x86_64-linux-gnu
2021-07-12 17:46:16.384  INFO main sc_cli::runner: ❤️  by PureStake, 2019-2021
2021-07-12 17:46:16.384  INFO main sc_cli::runner: 📋 Chain specification: Moonbase Alpha
2021-07-12 17:46:16.384  INFO main sc_cli::runner: 🏷 Node name: tricky-crate-7940
2021-07-12 17:46:16.384  INFO main sc_cli::runner: 👤 Role: FULL
2021-07-12 17:46:16.384  INFO main sc_cli::runner: 💾 Database: RocksDb at /tmp/substrateKm2Dx8/chains/moonbase_alpha/db
2021-07-12 17:46:16.384  INFO main sc_cli::runner: ⛓  Native runtime: moonbase-155 (moonbase-0.tx2.au3)
2021-07-12 17:46:16.420  INFO main moonbeam_cli::command: Parachain id: Id(1000)
2021-07-12 17:46:16.420  INFO main moonbeam_cli::command: Parachain Account: 5Ec4AhPZk8STuex8Wsi9TwDtJQxKqzPJRCH7348Xtcs9vZLJ
2021-07-12 17:46:16.421  INFO main moonbeam_cli::command: Parachain genesis state: 0x000000000000000000000000000000000000000000000000000000000000000000b505bc9a20d69f14620b2417b6d777c398ceb3e32119b9a53507111d1880927c03170a2e7597b7b7e3d84c05391d139a62b157e78786d8c082f29dcf4c11131400
2021-07-12 17:46:16.532 TRACE main state-db: [🌗] StateDb settings: Constrained(Constraints { max_blocks: Some(256), max_mem: None }). Ref-counting: true
2021-07-12 17:46:16.532 TRACE main state-db: [🌗] DB pruning mode: None
2021-07-12 17:46:16.533 TRACE main state-db: [🌗] Reading pruning journal. Pending #0
2021-07-12 17:46:16.553  INFO main sc_service::client::client: [🌗] 🔨 Initializing Genesis block/state (state: 0xb505…927c, header-hash: 0x91bc…9527)
2021-07-12 17:46:16.554 TRACE main state-db: [🌗] Inserted uncanonicalized changeset 0.0 (75 inserted, 0 deleted)
2021-07-12 17:46:16.555 TRACE main state-db: [🌗] Canonicalizing 0x91bc6e169807aaa54802737e1c504b2577d4fafedd5a02c10293b1cd60e39527
2021-07-12 17:46:16.555 TRACE main state-db: [🌗] Discarding 1 records

from moonbeam.

gdzien-co avatar gdzien-co commented on September 26, 2024

I will try on the chain that was failing yesterday but I am afraid that the same thing may happen as it did happen with second attempt node - which after waiting some time and restarting went further and fully synchronized the chain.

from moonbeam.

gdzien-co avatar gdzien-co commented on September 26, 2024

The way I tried to start the node does not seem to take the provided arguments:
docker logs -f $(docker run -d --network="host" -v "/data:/data" -u $(id -u ${USER}):$(id -g ${USER}) purestake/moonbeam:v0.9.1 --base-path=/data --chain alphanet --name="GDZIEN-C1-Test2-Temp" --execution wasm --wasm-execution compiled --pruning archive --state-cache-size 1 -- --pruning archive --name="GDZIEN-C1-Test2-Temp (Embedded Relay)" -l state-db=trace,sync=trace)

How else I may try to set those debugging/tracing options?

from moonbeam.

crystalin avatar crystalin commented on September 26, 2024

@gdzien-co you should try to put the flags before the -- one
-- is used to separate the parameter of the parachain (before) and the relaychain (after)

from moonbeam.

gdzien-co avatar gdzien-co commented on September 26, 2024

Perfect, log is now way faster to scroll the screen, if the node will fail (I am running it as the 2nd one on the same network, so some network port collision is expected).

from moonbeam.

gdzien-co avatar gdzien-co commented on September 26, 2024

log-new-net.zip
This file deflates to 109MiB. Contains error with debugging options.

Can provide corrupted files upon request.

from moonbeam.

crystalin avatar crystalin commented on September 26, 2024

Closing it in favor of #541

from moonbeam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.