Concordium / Testnet4-Challenges

Creative Commons Attribution Share Alike 4.0 International
95 stars 642 forks source link

Node not appearing on network dashboard #80

Open concordium-cl opened 3 years ago

concordium-cl commented 3 years ago

It is possible that your node is running fine without appearing on the dashboard.

pablozsc commented 3 years ago

https://drive.google.com/drive/folders/1XJdC1niL6A2Z04Ah24ZxBngrNvWrtmbx?usp=sharing

The node is constantly disappearing from the dashboard. Synchronized, everything is fine with the chain. After restarting, it appears on the dashboard, then disappears after a while. And then everything repeats again.

abizjak commented 3 years ago

The logs show that the service that reports to the node dashboard keeps being killed, but it is unclear why.

The way to restart the service is to run

docker exec concordium-client supervisorctl restart collector 

Unfortunately there is no useful logging for the collector normally. You could try running

docker exec concordium-client supervisorctl tail collector stdout                               
docker exec concordium-client supervisorctl tail collector stderr

to see whether anything specific triggered the problem.

I can see in the log that the failure of the collector starting happened on 2021-04-04 at around 10, which is after you restarted the node. Can you clarify what the sequence of events was?

Did you first notice that the node disappeared from the dashboard and then restarted, or the other way around?

mhmtozback commented 3 years ago

Hi. I cant see my node on dashboard ---- https://dashboard.testnet.concordium.com --- MODEKAL1

I see that on Linux screen .. How can I fix this problem ?

CallStack (from HasCallStack): error, called at src/Concordium/GlobalState/Persistent/BlobStore.hs:158:27 in concordium-consensus-0.1.0.0-8r37AgxhHDq8bBZMuXhUwf:Concordium.GlobalState.Persistent.BlobStore ��`�U: warning: too many hs_exit()s 2021-04-13 08:01:57,693 INFO exited: concordium-node (exit status 0; expected) 2021-04-13 08:01:58,694 INFO spawned: 'concordium-node' with pid 160756 2021-04-13T08:01:58.716496462Z: INFO: Starting up concordium_node version 0.4.11! 2021-04-13T08:01:58.716508263Z: INFO: Application data directory: "/var/lib/concordium/data" 2021-04-13T08:01:58.716513765Z: INFO: Application config directory: "/var/lib/concordium/config" 2021-04-13T08:01:58.716516498Z: INFO: Network: enabled 2021-04-13T08:01:58.716517706Z: INFO: Log level: info 2021-04-13T08:01:58.716632541Z: INFO: My Node ID is a823360e60fcc373 2021-04-13T08:01:58.764558300Z: INFO: Starting consensus layer 2021-04-13T08:01:58.764569348Z: INFO: Starting up the consensus thread 2021-04-13T08:01:58.765090760Z: INFO: Starting up the consensus layer 2021-04-13 08:01:59,766 INFO success: concordium-node entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) concordium-node: too few bytes From: demandInput

abizjak commented 3 years ago

@mhmtozback it looks like your node's database is corrupt so it cannot start.

The only solution is to stop the node, run concordium-node-reset-data and start the node again.

Note that this will delete any baker keys you may have.