-
Notifications
You must be signed in to change notification settings - Fork 350
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
Raspberry Pi 4 and Raspbian Buster / Docker #170
Comments
nginx is needed in my opinion or you will miss many feature in BTCPay. The way of doing it is using asahi, having a mdns name like Ping @jmaurice |
re Tor only: re rpi 4 + sdcard: pruned node + FastSync: Maybe we should add a second rpi guide or additional section "non pruned full rpi node for developers"? Also it seems that full sync can be done in 96h on a rpi 4 (with ssd though, likely sdcard slower) raspiblitz/raspiblitz#592 (comment) |
agree, I am also interested into having an idea in how much time it took to sync for mainnet. |
my provider will hate me downloading 250 GB data but I will give it a try, having only 30-50/Mbit/s downstream at home will be a challenge but will try in a few days re Tor only:
When trying to use this in Zap it fails with "unable to connect error, make sure TLS certi is valid..". Afaik LND requires/forces SSL connections. I guess even self signed certificate will fail here maybe but not sure if Zap only cares about the cert validity together with hostname or also the CA root etc. Did not try yet. I tried also the .onion host and set port to 443 + ssl to true but that fails as expected because DNS tries to resolve the .onion TLD and runs into nirvana. So not sure what the best solution is here. Either make it working using .onion or do self signed cert and import it to local trust store. Or somehow detect .local hosts and make non SSL connections work or use the LND generated default TLS for this? |
@ndeet I sent you a draft of an article I've been writing for running BTCPay on RPI4 with 4GB ram, I was also working this past week on making a Tor only setup. But to address some of your specific concerns on this issue, I think I arrived at all the same conclusions you did I just beat you by a few days ;)
Let's exchange notes on mattermost chat and discuss what PR(s) we should do in addition to the ones I already made? |
For 3. I don't think it will work @jmaurice . Zap will not trust the certificate probably. Maybe if you add the certthumbprint ? unsure Zap did it as nobody do it. |
@jmaurice @NicolasDorier |
Does Zap support Tor? It's not very useful to connect to Zap over your LAN. |
Nah, does not work with Tor, mentioned it above, the electrum app does normal dns lookup which fails. So you would have to somehow make it go through socks to find its way to .onion
Other than that, RTL works now thanks to your PR so that is fine for me now as I mainly find it useful for channel managment. Wanted to check Zap just because of interest, tried it last time a year ago or so. |
@jmaurice there is @mandelduck who made his wallet works with orbot and VPN mode. Work only for REST, not grpc. |
Because grpc sucks. But I think I already covered the topic. |
@ndeet I pushed new version of RTL, now it works even on http. |
I think you guys should ping the library authors that rely on gRPC and make them work without HTTPS if accessing onion website. |
I think its easy to make grpc work over http, I left an issue on grpc
github about tor an waiting for a response
…On Tue, Jul 23, 2019 at 4:58 PM Nicolas Dorier ***@***.***> wrote:
I think you guys should ping the library authors that rely on gRPC and
make them work without HTTPS if accessing onion website.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#170?email_source=notifications&email_token=AB3Y5H74S6ZBK2NX5HDAR53QA22ZTA5CNFSM4IEIIOQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2SII2Y#issuecomment-514098283>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB3Y5H2F4YG2HK35DTCN7ITQA22ZTANCNFSM4IEIIOQA>
.
|
Closing this #176 fix it |
Playing around with rpi 4 with 2GB ram and a 512GB microSD card (no external drive)
Writing down notes on differences to current docs here: https://docs.btcpayserver.org/deployment/raspberrypideployment
Step 3:
the link says "Raspbian Stretch Lite" but it links to https://downloads.raspberrypi.org/raspbian_lite_latest which is now Raspbian Buster (which currently breaks
btcpay-setup.sh
, see Step 14 below)Step 12+13:
maybe can be made optional with rpi4. Currently testing a 512GB Samsung EVO microSD card but only ran it for 1h now, needs more testing
Step 14:
installing docker on stable buster channel currently does not work and
. ./btcpay-setup.sh -i
fails withE: Package 'docker-ce' has no installation candidate
This will break also current rpi 3 I guess as it is Raspian Buster related.
Upstream issue here docker/for-linux#709
Temporary fix, should not be done on offical repo imo:
I made it work by doing the step of the setup script manually and pass the nightly channel and run setup again.
Step 14 (take 2):
off topic: document tor only mode
Add info how to run Tor only with no need for public static IP and opening the router etc. It just works if you follow the docs but maybe be more precise that eg. nginx + host is not needed etc.
see #157
The text was updated successfully, but these errors were encountered: