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
After running this command, you may face problem, so to resolve this use the below commands
First use Ctrl+C to stop this
Now use the below command to edit config.toml
nano config/config.toml
You need to use WASD key to move the cursor, Use S button to scroll down, You will see a P2P configuration section, Initially you will find persistent_peers="", remove this line and then copy the below mentioned peer id and paste it there
Save this file using Ctrl+X then Y and then press Enter
If you check now, you'll notice a significant difference between your node and the latest block. Your node needs to synchronize with the most recent block
So, I would recommend you to use snapshot, it does not mean that your node will be synchronised with latest block immedietly, there will be still some gap
So to use snapshot first stop the story using Ctrl+C and then detach from the screen session Ctrl+A+D
Move to the home directory using the below command
cd
Reattach with geth screen session now using screen -r geth command , and then use Ctrl+C to stop it and then detach from this screen session using Ctrl+A+D
Now visit this docs by Joseph Tran, You don't need to stop node using his command, as our command is different, you just do these things from that doc Download Geth-data and Story-data , Backup priv_validator_state.json , Remove old data , Extract Story-data and geth-data , Move priv_validator_state.json back
Now come back to my guide and use this command to restart again
screen -r geth
Now use this command to start geth again
geth-linux-amd64-0.9.2-ea9f0d2/geth --iliad --syncmode full
Detach from this screen session again using Ctrl+A+D
Use the below command to reattach to story screen session
screen -r story
Use this command to start story
story-linux-amd64-0.9.11-2a25df1/story run
Detach from this screen session using Ctrl+A+D
You need to wait until your node sync with latest block, you can check how many blocks are still left to synchronised with your node using below command