question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Manual install on a long running raspiblitz: Error processing background data: list index (0) out of range

See original GitHub issue

Started to test LNDg as hearing more about it and got interested. Nice project!

Find my notes about the installation to a raspiblitz with a dedicated user: https://github.com/openoms/lightning-node-management/blob/en/hardware/raspiblitz/lndg.md

However the installation and the interface are running fine I get and error with the jobs:

$ sudo -u lndg /home/lndg/lndg/.venv/bin/python /home/lndg/lndg/jobs.py
Error processing background data: list index (0) out of range

Background info about the node:

₿ uname -a
Linux raspberrypi 5.10.63-v8+ #1496 SMP PREEMPT aarch64 GNU/Linux
₿ python --version
Python 3.7.3
₿ /home/lndg/lndg/.venv/bin/pip --version
pip 22.0.3 from /home/lndg/lndg/.venv/lib/python3.7/site-packages/pip (python 3.7)
₿ lnd --version
lnd version 0.14.2-beta commit=v0.14.2-beta

it has some known quirks in the database including stuck channels and some issue with recalling the payment history. Running LND v0.14.2, but has been through many versions and channels (120+ closed) over 2+ years.

Happy to test if there are some suggestions to make LNDg work,but wouldn’t be surprised if it is a unique issue related to the node’s database. Documenting also if any others would have a similar issue. Will test on a cleaner raspiblitz and on FreeBSD too (for that great that supervisord can be used).

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
cryptosharks131commented, Mar 6, 2022

Wow, an honor to have you here @openoms and thank you!

A few issues were addressed in the data processing in next version v1.0.4 including: -When channel ids were outside the signed integer range -When you have opened private channels

Both these issues have been resolved in v1.0.4 and it should be ready for release soon. If you would like, you can clear your data folder inside LNDg and then switch to the v1.0.4 branch to see if you are then able to load data successfully.

0reactions
cryptosharks131commented, Mar 8, 2022

Original issued described by OP resolved in #51

Read more comments on GitHub >

github_iconTop Results From Across the Web

Przemysław Thomann (@_pthomann) / Twitter
1/ I've published my Raspiblitz node setup on Twitter more than 1 year ago. I've succeed to run it for 3 months and...
Read more >
FAQ - Frequently Asked Questions - raspiblitz
The script offers you a command to transfer the lnd-rescue file to your laptop. If the transfer was successful you can now setup...
Read more >
RASPIBLITZ - How To Run A Lightning and Bitcoin Full Node
RaspiBlitz is an open source do-it-yourself Lightning and Bitcoin Full node. You can manage lightning channels, link external wallets, ...
Read more >
MAGEIA8 - Tenhard India
Server and a Pi Zero running PiCorePlayer. ... out the long-awaited Mageia 8 and the ... without an OS, so you can easily...
Read more >
Learn the Fundamentals : TheLightningNetwork - Reddit
The other is 1m that I just opened with an entirely local balance. I was hoping to rebalance by sending ~500k out of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found