You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I couldn't figure out how to replay the block_log as mentioned here.
If I understand correctly, I should run some command like this in the terminal
steemd --data-dir=. --replay-blockchain
However, when I type steemd in the command line, it says steemd: command not found
My guess is that I should use docker exec to run the command. Something like this, sudo docker exec -it steemd-simple /bin/sh/steemd
Then, It returned the following error OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"/bin/sh/steemd\": stat /bin/sh/steemd: not a directory": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
Please show me some guidance on how to replay block_log and the use of steemd!
The text was updated successfully, but these errors were encountered:
Start the container and get a shell prompt inside the container using: sudo docker exec -it steemd-simple /bin/bash
When you are inside the container, install the steemd command using : apt-get update && apt-get install -y steem
Once the installation is complete, you can replay the block_log using the command: steemd --data-dir=/var/lib/steemd --replay-blockchain Hope it helps
This question may be basic. But I couldn't find materials that can guide me through.
I have pulled a steemit/steem image using docker and had it run using the following command
However, I couldn't figure out how to replay the block_log as mentioned here.
If I understand correctly, I should run some command like this in the terminal
steemd --data-dir=. --replay-blockchain
However, when I type
steemd
in the command line, it sayssteemd: command not found
My guess is that I should use
docker exec
to run the command. Something like this,sudo docker exec -it steemd-simple /bin/sh/steemd
Then, It returned the following error
OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"/bin/sh/steemd\": stat /bin/sh/steemd: not a directory": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
Please show me some guidance on how to replay block_log and the use of steemd!
The text was updated successfully, but these errors were encountered: