Follow the Raspibolt guide installing on new HW til wallet creation (don't create the wallet). Pay attention to system configuration, security, privacy and then bitcoin client and lightning client. Electrs is not needed in principle. This can be done with a NUC / Laptop / RPi. https://raspibolt.org/
Decide if you want to download a new blockchain copy, rsync from old node or just use mv command to move ~/umbrel/bitcoin/blocks & ~/umbrel/bitcoin/chainstate from umbrel to /data/bitcoin.
- Stop umbrel lnd. ~/umbrel/sudo scripts/stop. sudo systemctl stop umbrel-startup. Check the bitcoin debug.log and lnd logs or sudo journalctl -f -u lnd to ensure it's been stopped.
- Keep a copy of old seed and channel.backup
- Install bitcoin client and lnd client until wallet creation following www.raspibolt.org
- Delete new machine lnd folder or move to /tmp
- Copy lnd directory from umbrel to new machine
- sudo rsync -arhvP --append-verify ~/umbrel/lnd /data no trailing slash, no lnd after /data so dir copied
- Old umbrel mv channel.db channel.db_bak and lnd.conf lnd.conf_bak
- Remove tls files (tls.cert, tls.key), Tor cert (v3_onion_private_key) from /data/lnd and admin macaroon, macaroons.db, *macaroon: from /data/lnd/data/chain/bitcoin/mainnet
- Ensure correct ownership and permissions for lnd and bitcoin dirs : sudo chown -R lnd:lnd /data/lnd and sudo chown -R bitcoin:bitcoin /data/bitcoin
- Modify lnd.conf adding autounlock and deleting zmq from old umbrel lnd.conf
- Create password.txt as .password.txt
- chmod 600 /data/lnd/.password.tx
- Start lnd as lnd user
- Check lncli getinfo, might need reboot
- sudo systemctl enable lnd
- sudo systemctl start lnd
- systemctl status lnd
- Allow user admin to work with LND
- ln -s /data/lnd /home/admin/.lnd
- sudo chmod -R g+X /data/lnd/data/
- sudo chmod g+r /data/lnd/data/chain/bitcoin
Done