pull down to refresh
trying
wget -qO- https://deploy.lightning.pub | bash
give me an error in macOS. It's that normal?$ wget -qO- https://deploy.lightning.pub | bash
dyld[84152]: Library not loaded: /usr/local/opt/libunistring/lib/libunistring.2.dylib
Referenced from: <EA607B2B-AD3B-3A0D-85F9-B4E54C36EC2F> /usr/local/Cellar/wget/1.21.1/bin/wget
Reason: tried: '/usr/local/opt/libunistring/lib/libunistring.2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/libunistring/lib/libunistring.2.dylib' (no such file), '/usr/local/opt/libunistring/lib/libunistring.2.dylib' (no such file), '/usr/local/lib/libunistring.2.dylib' (no such file), '/usr/lib/libunistring.2.dylib' (no such file, not in dyld cache), '/usr/local/Cellar/libunistring/1.3/lib/libunistring.2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/libunistring/1.3/lib/libunistring.2.dylib' (no such file), '/usr/local/Cellar/libunistring/1.3/lib/libunistring.2.dylib' (no such file), '/usr/local/lib/libunistring.2.dylib' (no such file), '/usr/lib/libunistring.2.dylib' (no such file, not in dyld cache)
All smooth on Linux
reply
Yea macos support not implemented yet, though I should probably make sure to give a better error...
reply
I meant to circle back and try Lightning.Pub to see how it was progressing, but the easiest device to do that on is an Ubuntu machine that is already running Alby Hub. With the one line install there are port conflicts. Since running Alby Hub is fairly common, is there any way to get a one line install that uses alternate ports and doesn’t interfere with Alby Hub?
reply
The bigger problem would be both trying to use LND, the script installs LND as well which is probably the conflict
reply
reply
Ah, LDK must be using 9735, that's the standard lightning P2P port... Maybe I can add a switch to change the default...
reply
reply
Testing this now but can't reproduce it with 9735, can you show me the error exactly?
reply
I think I got it, merging now...
The new change will check if the port is occupied before installing LND and then bump it
Take it for another spin, should work over the existing failed install, but if not just stop the hung lnd first
systemctl --user stop lnd
so the script can confirm its not lnd hogging the portAfter its up if you
cat ./lnd/lnd.conf
you should see what port is is listening on, it increments so likely 9736reply
Thanks for your efforts here. This is what I got:
Have to head back out. Will try again later. I went from Lightning.Pub to Alby Hub, so previous Lightning.Pub files were still around. Seems like the install may have worked? I'll have to figure out how to get the nprofile to pop up again. I have the nprofile saved from the last time I was running Lightning.Pub but that isn't working as a source in Shockwallet. I get a "Cannot connect to source. error enrolling admin token. Nostr connection timeout" error in Shockwallet . Maybe wiping Lightning.Pub and starting from scratch with a fresh nprofile is the way to go. LND is also hanging around from the previous Shockwallet install. Wiping that and reinstalling might also help.
Can you do this on mobile?
reply
Which part? ShockWallet has apps for both mobile OS's and a PWA
Pub needs a Linux system
reply
Pub.
reply
wget -qO- https://deploy.lightning.pub | bash
nprofile:string
in the output is what you'll paste into ShockWallet to connect (with administrative dashboard privileges) to the node over Nostr. No horsing around with a network config required and no flakey ecash gateway!nprofile
(and :adminkey).