Raspiblitz: Neverending Loop on LND Wallet Unlocking

Created on 25 Jan 2019  路  8Comments  路  Source: rootzoll/raspiblitz

Hi there.

Just finishing my LN node set up, when i come to this step, it starts to loop with no end. This is the screen, clearing afterwards.

****************************************************************************
Unlock LND Wallet --> lncli --chain= unlock
****************************************************************************
HELP: Enter your PASSWORD C
You may wait some seconds until you get asked for password.
****************************************************************************
[lncli] unknown chain:
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
checking setup script
network(bitcoin)
chain(main)
setupStep(0)
LND is running ...
lnd wallet exists ... checking if locked
cat: .network: No such file or directory
gathering chain info ... please wait
./AAunlockLND.sh: line 8: -cli: command not found

How can i resolve this looping?

Most helpful comment

Its loosing the "network" information from the config file.

Can you go to the terminal (CTRL+c), exceute the following command and post the result:
sudo cat /mnt/hdd/raspiblitz.conf

Three people so far are seeing this problem from the raspiblitz.conf file does not exist: https://github.com/rootzoll/raspiblitz/issues/293#issue-403350241

All 8 comments

Its loosing the "network" information from the config file.

Can you go to the terminal (CTRL+c), exceute the following command and post the result:
sudo cat /mnt/hdd/raspiblitz.conf

The command proposed and a bit more.

admin@RaspiBlitz:~ $ sudo cat /mnt/hdd/raspiblitz.conf
cat: /mnt/hdd/raspiblitz.conf: No such file or directory
admin@RaspiBlitz:~ $ cd /mnt/hdd
admin@RaspiBlitz:/mnt/hdd $ ls
bitcoin  lnd  lost+found
admin@RaspiBlitz:/mnt/hdd $ ls -lh
total 24K
drwxr-xr-x 6 bitcoin bitcoin 4.0K Jan 25 23:23 bitcoin
drwxr-xr-x 4 bitcoin bitcoin 4.0K Jan 25 16:26 lnd
drwx------ 2 root    root     16K Jan 23 16:27 lost+found
admin@RaspiBlitz:/mnt/hdd $ ls -a
.  ..  bitcoin  lnd  lost+found
admin@RaspiBlitz:/mnt/hdd $

@Jos3xTv a quick fix should be running on terminal:
echo "bitcoin" > /home/admin/.network
and then try again with the command
raspiblitz

But just one more question - can you describe the moment a bit more when this error showed up? Did you had a reboot before it asked for unlocking and got into looping?

Thanks @rootzoll . It's fixed and now working fine.
About that moment, the only reboot i made before the looping was just finishing the Blockchain scan. Then started the loop when i reenter on SSH. I was out while scanning so i can't figure out what hapenned meanwhile the scan.
驴Is there a log i can check?

Its loosing the "network" information from the config file.

Can you go to the terminal (CTRL+c), exceute the following command and post the result:
sudo cat /mnt/hdd/raspiblitz.conf

Three people so far are seeing this problem from the raspiblitz.conf file does not exist: https://github.com/rootzoll/raspiblitz/issues/293#issue-403350241

@fluidvoice Yes this needs to be fixed before version 1.0 release.
@Jos3xTv whats in the lost+found directory, can you post a directory listing?

Hi there.

LND working smoothly. Great work. And in lost+found i found nothing.

admin@RaspiBlitz:/mnt/hdd $ cd /lost+found
-bash: cd: /lost+found: Permission denied
admin@RaspiBlitz:/mnt/hdd $ ls -lh
total 1.1G
drwxr-xr-x 6 bitcoin bitcoin 4.0K Jan 28 15:03 bitcoin
drwxr-xr-x 4 bitcoin bitcoin 4.0K Jan 25 16:26 lnd
drwx------ 2 root    root     16K Jan 23 16:27 lost+found
-rwxrwxrwx 1 root    root     110 Jan 26 10:06 raspiblitz.conf
-rw------- 1 root    root    1.0G Jan 26 09:57 swapfile
admin@RaspiBlitz:/mnt/hdd $ sudo su
root@RaspiBlitz:/mnt/hdd# cd /lost+found
root@RaspiBlitz:/lost+found# ls -lh
total 0
root@RaspiBlitz:/lost+found#

OK. I will close this issue - but the basic problem will be worked on in #293

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shawnyeager picture shawnyeager  路  3Comments

fluidvoice picture fluidvoice  路  3Comments

shawnyeager picture shawnyeager  路  4Comments

Himbeergeld picture Himbeergeld  路  3Comments

frennkie picture frennkie  路  5Comments