Bitcoin Forum
May 27, 2024, 06:18:06 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide on: February 24, 2019, 11:42:00 AM
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

Hey i managed to save the whole .lnd folder in my desktop pc but can't I just use all the info stored in the ExtHdisk when restarting the system on the SD card from scratch?  I mean as far as im concerned the Harddisk didnt suffer any issues, the bitcoin blockchain and the .lnd files were all there impecable.
2  Bitcoin / Bitcoin Technical Support / Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide on: February 24, 2019, 10:17:20 AM
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


Hey 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.
3  Bitcoin / Bitcoin Technical Support / Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide on: February 24, 2019, 12:41:24 AM
I am afraid that the package (golang) is a bit out-of-date (it's a common thing, unfortunately). Can you tell me which version of Go is currently installed? (go version) If it's lower than 1.11.1 then we will have to proceed with the manual installation again. Try the following commands anyway.

sudo apt-get remove golang* - '*' is necessary
sudo apt-get autoremove
sudo rm -r /usr/local/go - just in case you accidentally moved the old version

I try running these commands (after an unsuccessfully installation of GO )  and after i ran
Code:
sudo apt-get remove golang*[/tt] - '*'
my PI started to remove ton of necessary data for the pi, at the end of the process it asked me to accept by typing a phrase which i did ( kindda stupid ik ) and now It wouldn't let me log in again, stating that PAM selected was missing.

I terminated my CLI and now whenever i try to shh into my pi i get: ssh: connect to host 192.168.1.10 port 22: Connection refused

The most hilarious thing is that both my bitcoin node and lightning node both keep running smooth in the back but i completely lost access to my PI thru ssh and im afraid of force it off and brick the sd card. Any ideas how to fix this issue? Or at least how to close all those opened channels without ssh'ing into the pi so i can start from scratch?

Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!