You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my stack wasnt working right (i got initGrpcSubscriptions error cannot read LND macaroon or cert error in relay) so i removed my entire docker dir and stack itself, cloned it fresh from github and ran docker-compose -f ./alts/no-alice.yml --project-directory . up -d
after that running the following docker logs commands the 2 setup container gave some js errors
$ docker logs sphinx-stack-lndsetup-1
internal/modules/cjs/loader.js:818
throw err;
^
Error: Cannot find module './nodes'
Require stack:
- /lndsetup/index.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/lndsetup/index.js:2:13)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/lndsetup/index.js' ]
}
$ docker logs sphinx-stack-relaysetup-1
=> /relay/botEnvVars.json does not exist, creating now false
=> /relay/NODES.json does not exist, creating now false
=> preSetup error Error: ENOENT: no such file or directory, copyfile '/relay/nodes_partial.json' -> '/relay/NODES.json'
at Object.copyFileSync (fs.js:1907:3)
at preSetup (/relay/setup/index.js:124:10)
at setup (/relay/setup/index.js:8:9)
at Object.<anonymous> (/relay/setup/index.js:58:1)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47 {
errno: -2,
syscall: 'copyfile',
code: 'ENOENT',
path: '/relay/nodes_partial.json',
dest: '/relay/NODES.json'
}
(node:1) UnhandledPromiseRejectionWarning: Error: Cannot find module '/relay/NODES.json'
Require stack:
- /relay/setup/index.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at setup (/relay/setup/index.js:9:15)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
i actually got here by trying to setup stack and relay couldnt connect to it, turns out alice-lnd dit not unlock and was waiting for a password
$ docker logs alice-lnd.sphinx
+ lnd_init
+ '[' '!' -e /lnd/.lnd/lnd.conf ']'
+ mkdir -p /lnd/.lnd
+ echo 'Creating lnd.conf'
+ cat
Creating lnd.conf
+ cat /lnd/.lnd/lnd.conf
+ echo 'Initialization completed successfully'
Initialization completed successfully
+ unlock
[lnd_unlock] Please set PASSWORD in order to unlock wallet automatically.
+ PARAMS=' --configfile=/lndsetup/alice.conf'
+ echo 'Command: lnd --configfile=/lndsetup/alice.conf'
Command: lnd --configfile=/lndsetup/alice.conf
+ exec lnd --configfile=/lndsetup/alice.conf
2022-09-13 19:09:16.187 [INF] LTND: Version: 0.12.1-beta commit=v0.12.1-beta-2-gb4b25fff, build=production, logging=default, debuglevel=info
2022-09-13 19:09:16.187 [INF] LTND: Active chain: Bitcoin (network=regtest)
2022-09-13 19:09:16.187 [INF] LTND: Opening the main database, this might take a few minutes...
2022-09-13 19:09:16.187 [INF] LTND: Opening bbolt database, sync_freelist=false, auto_compact=false
2022-09-13 19:09:16.191 [INF] CHDB: Checking for schema update: latest_version=20, db_version=20
2022-09-13 19:09:16.191 [INF] LTND: Database now open (time_to_open=3.74953ms)!
2022-09-13 19:09:16.191 [INF] RPCS: Generating TLS certificates...
2022-09-13 19:09:16.246 [INF] RPCS: Done generating TLS certificates
2022-09-13 19:09:16.247 [INF] RPCS: Password gRPC proxy started at 0.0.0.0:38881
2022-09-13 19:09:16.247 [INF] RPCS: Password RPC server listening on 0.0.0.0:10009
2022-09-13 19:09:16.247 [INF] LTND: Waiting for wallet encryption password. Use `lncli create` to create a wallet, `lncli unlock` to unlock an existing wallet, or `lncli changepassword` to change the password of an existing wallet and unlock it.
The text was updated successfully, but these errors were encountered:
my stack wasnt working right (i got
initGrpcSubscriptions error cannot read LND macaroon or cert
error in relay) so i removed my entire docker dir and stack itself, cloned it fresh from github and randocker-compose -f ./alts/no-alice.yml --project-directory . up -d
after that running the following
docker logs
commands the 2 setup container gave some js errorsi actually got here by trying to setup stack and relay couldnt connect to it, turns out
alice-lnd
dit not unlock and was waiting for a passwordThe text was updated successfully, but these errors were encountered: