Browse Source

info on corrupted data

dev
rootzoll 6 years ago
parent
commit
70635f5b31
  1. 4
      home.admin/50copyHDD.sh
  2. 4
      home.admin/config.scripts/network.reindex.sh

4
home.admin/50copyHDD.sh

@ -14,7 +14,8 @@ if [ "${setupStep}" = "100" ]; then
# make sure services are not running # make sure services are not running
echo "stopping servcies ..." echo "stopping servcies ..."
sudo systemctl stop lnd sudo systemctl stop lnd
sudo systemctl stop bitcoind sudo systemctl stop bitcoind
sudo systemctl disable bitcoind
fi fi
# delete all IN bitcoin directory but not itself if it exists # delete all IN bitcoin directory but not itself if it exists
@ -115,6 +116,7 @@ echo "*********************************************"
# if started after intial setup - quit here # if started after intial setup - quit here
if [ "${setupStep}" = "100" ]; then if [ "${setupStep}" = "100" ]; then
sudo systemctl enable bitcoind
"DONE - reboot is needed: sudo shutdown -r now" "DONE - reboot is needed: sudo shutdown -r now"
exit 0 exit 0
fi fi

4
home.admin/config.scripts/network.reindex.sh

@ -50,7 +50,9 @@ while [ ${finished} -eq 0 ]
echo "REINDEXING BLOCKCHAIN" echo "REINDEXING BLOCKCHAIN"
echo "*************************" echo "*************************"
date date
echo "THIS CAN TAKE SOME LONG TIME" echo "THIS CAN TAKE SOME VERY LONG TIME"
echo "See Raspiblitz FAQ: https://github.com/rootzoll/raspiblitz"
echo "On question: My blockchain data is corrupted - what can I do?"
echo "If you dont see any progress after 24h keep X pressed to stop." echo "If you dont see any progress after 24h keep X pressed to stop."
# get blockchain sync progress # get blockchain sync progress

Loading…
Cancel
Save