Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jet not finding file channel.db #49

Open
ghost opened this issue Jan 5, 2022 · 1 comment
Open

Jet not finding file channel.db #49

ghost opened this issue Jan 5, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 5, 2022

zombie@zombie:~$ uname -a
Linux zombie 5.11.0-41-generic #45-Ubuntu SMP Fri Nov 5 11:37:01 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

zombie:~$ jet channeldb
channel.db is located at /home/zombie/.lnd/data/graph/mainnet/channel.db
/home/zombie/.lnd/data/graph/signet/channel.db
checkChannelDb: Error: ENOENT: no such file or directory, stat '/home/zombie/.lnd/data/graph/mainnet/channel.db
/home/zombie/.lnd/data/graph/signet/channel.db'
/home/zombie/lightning-jet/api/channeldb.js:30
if (res.priority === priority.urgent) {

@ghost ghost changed the title Jet not finding file channeldb Jet not finding file channel.db Jan 5, 2022
@itsneski
Copy link
Owner

itsneski commented Jan 5, 2022

This issue occurred on a bare metal install of jet. Wrote an independent test code that calls statSync on the path, /home/zombie/.lnd/data/graph/mainnet/channel.db. The test code worked. User is the same in jet channeldb and the test code, printed via require('os').userInfo().

Root cause is unclear atm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant