Is it an error? Witness node on RPi4

in blurt •  3 years ago 

Here is the result of docker ps command:

[root@cryptopie ~]# docker ps
CONTAINER ID   IMAGE                                           COMMAND                  CREATED        STATUS        PORTS     NAMES
6cb92030506a   registry.gitlab.com/blurt/blurt/megadrive:dev   "/usr/bin/blurtd --d…"   26 hours ago   Up 26 hours             blurtd

and top:

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
    760 root      20   0 9786560  36364  23060 S 199.3   0.5   2555:58 blurtd

It seems the rpi4 is doing something very hard but when I printed out the blurtd container, it seems blurtd process is dead due to an error:

345763ms p2p_plugin.cpp:231            handle_block         ] Rethrowing as graphene::net exception
345763ms fork_database.cpp:43          push_block           ] Pushing block to fork database that failed to link: 000005780f862936034defdf11e4d94ed849e336, 1400
345763ms fork_database.cpp:44          push_block           ] Head: 1201, 000004b15d5fef838596800d38249c9197a4b947
345764ms p2p_plugin.cpp:229            handle_block         ] Error when pushing block:
4080000 unlinkable_block_exception: unlinkable block
block does not link to known chain
    {}
    fork_database.cpp:64 _push_block

    {}
    database.cpp:871 _push_block

    {"new_block":{"previous":"00000577fa4c2fc61cb2425cba657da33e237428","timestamp":"2020-07-04T03:00:09","witness":"initblurt2","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"2045a973bfa43b1f43bb7b7e4401dde119e1926a517e0445f12aebb182ceecb629487ee9d1989ff97c1d4802920f1bcc56436f62f91619ea4b628cbdea231dc378","transactions":[]}}
    database.cpp:759 operator()
345764ms p2p_plugin.cpp:231            handle_block         ] Rethrowing as graphene::net exception

Do I have to restart the syncing command, which is update.sh on rpi4?

@jacobgadikian

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE BLURT!
Sort Order:  
  ·  3 years ago  ·  

You've wrecked something hard. Just reflash the image to the SD card. Insert it and let the device do its job for an hour. Then the blockchain should be completely synced. Then you can set up your Witness. But everything is described here.

https://blurtter.com/blurtgerman/@dotwin1981/raspi-update-03-june-2021-de-en-von-neuinstallation-bis-witness-or-from-new-installation-to-witness

During the initial setup, the RasPi must not be disconnected from power or restarted. Just wait until the chain is synced.

  ·  3 years ago  ·  

thanks. i will try as you said.

You are at timestamp 2020-07-04T03:00:09 - what image are you using?

My recommendation, Download the current image here.

and follow this description.
You will have your Witness running in at least 2 hours.

  ·  3 years ago  ·  

i used the May version. I will try the newer. Thanks a lot.

Congratulations, your post has been curated by @dsc-r2cornell. You can use the tag #R2cornell. Also, find us on Discord

Manually curated by @blessed-girl

logo3 Discord.png

Felicitaciones, su publicación ha sido votada por @ dsc-r2cornell. Puedes usar el tag #R2cornell. También, nos puedes encontrar en Discord

hi this will happen, but how about we make it go faster cause that's always nicer?

heh, also could be a bug :)

  ·  3 years ago  ·  

Hi, @etainclub,
great post

  ·  3 years ago  ·  

I downloaded it. could you guide me how to run the image?
I simply tried docker run <the-image> and got


            STARTING BLURT NETWORK

------------------------------------------------------
initminer public key: BLT5QRsKZp7TFNQdTj7VbpGHWxNL3Eq4zmfER4vJPBpK5VMbrprn8
chain id: cd8d90f29ae273abec3eaa7731e25934c63eb654d55080caff2ebb7f5df6381f
blockchain version: 0.7.0
------------------------------------------------------
829441ms chain_plugin.cpp:486          plugin_startup       ] Starting chain with shared_file_size: 8589934592 bytes
829448ms chain_plugin.cpp:616          plugin_startup       ] Opening shared memory from /blurtd/blockchain

You didn't have to do that, @dotwin1981 is now checking Jakob's presync, which will take a little while. Dotwin or I will let you know later what you can do next...

  ·  3 years ago  ·  

It's nice that Jacob has updated his presync image, but I find my backup method much faster until the node is up and running. :) I'm waiting my ass off until this is done :D It also takes a lot more space on the SD card. My test card with 32GB ran full what had so far loosely enough.

  ·  3 years ago  ·  

Fast is different. :D
And I get the error:
image.png