Thanks Rick
I have started with these steps so far:
-------------------------START-----------------------
on rpi
stop bitcoind and lnd and also disable and mask lnd service to prevent old channel states being broadcasted in case the old node starts up again
sudo systemctl stop lnd
sudo systemctl disable lnd
sudo rm /etc/systemd/system/lnd.service
sudo systemctl mask lnd
sudo systemctl stop bitcoind
sudo chown admin:admin -R /data/bitcoin/
ssh into start9
generate ssh file:
sudo ssh-keygen -t rsa -b 4096
display pubkey to copy:
sudo cat /root/.ssh/id_rsa.pub
on rpi add start9 pubkey to file (paste at bottom):
nano /home/admin/.ssh/authorized_keys
–copy Bitcoin blockchain data----
on start9
install and configure bitcoin service. Save a sample config file and start and stop the service after 1 min to generate default files and folders.
Then copy the blockchain data across (10.0.0.101 is my rpi LAN IP)
cd /embassy-data/package-data/volumes/bitcoind/data/main
sudo rsync -avz --progress -e "ssh -i /root/.ssh/id_rsa" admin@10.0.0.101:/data/bitcoin/blocks/ /embassy-data/package-data/volumes/bitcoind/data/main/blocks/
sudo rsync -avz --progress -e "ssh -i /root/.ssh/id_rsa" admin@10.0.0.101:/data/bitcoin/chainstate/ /embassy-data/package-data/volumes/bitcoind/data/main/chainstate/
sudo rsync -avz --progress -e "ssh -i /root/.ssh/id_rsa" admin@10.0.0.101:/data/bitcoin/indexes/ /embassy-data/package-data/volumes/bitcoind/data/main/indexes/
on rpi reset ownership
sudo chown bitcoin:bitcoin -R /data/bitcoin/
–copy LND data----
on rpi
sudo chown admin:admin -R /data/lnd/
on start9
copy lnd wallet password from raspibolt file /home/admin/.lnd/password.txt to:
ssh start9@ADJECTIVE-NOUN.local
sudo -i
echo -n 'moneyprintergobrrr' > /embassy-data/package-data/volumes/lnd/data/main/pwd.dat
exit
copy relevant LND data
cd /embassy-data/package-data/volumes/lnd/data/main
sudo mkdir data
sudo rsync -avz --progress -e "ssh -i /root/.ssh/id_rsa" admin@10.0.0.101:/data/lnd/data/ /embassy-data/package-data/volumes/lnd/data/main/data/
on rpi reset ownership
sudo chown lnd:lnd -R /data/lnd/
configure LND in start9 GUI manually to be similar to lnd.conf on rpi (i.e. do not copy the lnd.conf file across since it gets created at runtime from the GUI settings)
eventually start LND and view logs for any errors
install and configure other services as needed e.g. electrs, rtl, mempool
-------------------------END-----------------------
Questions before I start LND service:
Question (1):
What are the differences between config files and if there are duplicate settings, which file takes precedence:
/embassy-data/package-data/volumes/lnd/data/main/start9/config.yaml
(^ presumably used by the GUI)
/embassy-data/package-data/volumes/lnd/data/main/lnd.conf
(^ copied from Raspibolt and typically the default file used by LND. Can someone please provide a sample of default recommended settings assumed by start9 in this file?)
Question (2):
Is my folder structure correct after copying i.e. lowest level where wallet.dat was copied across from Raspibolt:
/embassy-data/package-data/volumes/lnd/data/main/data/chain/bitcoin/mainnet
Question (3):
I have passwords containing ascii characters like ~= etc which is not considered alphanumeric during validation in the GUI. Would that be a challenge?