Update seed peer to resolve connectivity issue
(A) For Windows
Login Gitbash as a administrator and switch to script path
The normal path should be “$GOPATH/src/github.com/scripttoken/script”. Type “cd go/src/github.com/scripttoken/script” and press enter to get there, then run the following command.
git pull
Now execute below command to copy or match the updated config file to scriptnet path,
cp -r ./integration/scriptnet/node/config.yaml ../scriptnet/node
cd ../scriptnet/node
rm db
wget https://scripttv.s3.eu-central-1.amazonaws.com/ablockchain-backup/db.zip
unzip db.zip
Close gitbash and then reopen gitbash again by right clicking the icon and select run as an administrator, then execute the below command.
cd go/src/github.com/scripttoken/script
Switch to "bin" directory i.e $GOPATH/bin/ where your binary has been generated using the above command. Navigate to the bin folder by typing “cd $GOPATH/bin”.
Atlast run your node as it was running earlier after closing the previous terminals
(B) Linux/Ubuntu
Open terminal and navigate to script path which should be similar to this : "$GOPATH/src/github.com/scripttoken/script" . Type "cd /usr/local/go/src/github/scripttoken/script" and press enter to get there, then run the following command.
git pull
Now execute below command to copy or match the updated config file to scriptnet path,
cp -r ./integration/scriptnet/node/config.yaml ../scriptnet/node
cd ../scriptnet/node
rm -rf db
wget https://scripttv.s3.eu-central-1.amazonaws.com/ablockchain-backup/db.zip
unzip db.zip
Switch back to script path by below command,
cd ../../script
sudo chmod -R 777 /usr/local/go
close the running sesssion of node.
Atlast run your node as it was running earlier in sessions.
(C) MAC
Open terminal and navigate to script path which should be similar to this : "$GOPATH/src/github.com/scripttoken/script" . Type "cd /usr/local/go/src/github/scripttoken/script" and press enter to get there, then run the following command.
git pull
Now execute below command to copy or match the updated config file to scriptnet path,
cp -r ./integration/scriptnet/node/config.yaml ../scriptnet/node
cd ../scriptnet/node
rm -rf db
wget https://scripttv.s3.eu-central-1.amazonaws.com/ablockchain-backup/db.zip
unzip db.zip
Switch back to script path by below command,
cd ../../script
sudo chmod -R 777 /usr/local/go
close the running sesssion of node.
Atlast run your node as it was running earlier in sessions.
Last updated
Was this helpful?