Post
Topic
Board Bitcoin Technical Support
Merits 9 from 3 users
Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide
by
BitCryptex
on 24/02/2019, 09:33:00 UTC
⭐ Merited by dbshck (5) ,xandry (3) ,ETFbitcoin (1)
This shouldn't have happened unless you included '*' after golang* which causes the deletion of all packages. We would be able to access your funds remotely if we had your admin.macaroon and tls certificate. Without them, the only solution I can think of is to shut down your Pi completely and copy the wallet and the channel state files. Technically, backing up .lnd folder should be enough and I would advise you to copy the whole folder once you shut down your Pi. Channel.db is located in /home/username/.lnd/data/graph/mainnet and wallet.db in /home/username/.lnd/data/chain/bitcoin/mainnet

Don't install Go using apt-get golang. Do it manually. Enter the following commands as a root:

cd /usr/local/ && sudo wget https://dl.google.com/go/go1.11.5.linux-armv6l.tar.gz
sudo tar -xvf go1.11.5.linux-armv6l.tar.gz

Now, run these commands as the user in whose directory you want to use Go and log in again.

export GOROOT=/usr/local/go
echo 'export GOPATH=$HOME/go' >> ~/.profile
echo 'PATH="$HOME/go/bin:$PATH"' >> ~/.profile