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/mainnetDon'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.gzsudo tar -xvf go1.11.5.linux-armv6l.tar.gzNow, run these commands as the user in whose directory you want to use Go and log in again.
export GOROOT=/usr/local/goecho 'export GOPATH=$HOME/go' >> ~/.profileecho 'PATH="$HOME/go/bin:$PATH"' >> ~/.profileHey thanks a lot for the heads up... Indeed something went stupidly bad for the wrong use of the wildcard... I have another question, im gonna start the whole process again. I will shitdown that Pi and sace all the .lnd info i have stored in yhe SD, i wanted to ask as well... Are you familiar with the raspiblitz environment? Is it possible to start from scratch then with my .lnd files recover the info of my channels using the comfigutation of the raspiblitz guide? Is it possible? If so, could you please walk me theu the steps?
Thanks for your patience.