I have 5 Umbrel VMs running and I’d like to connect them all together as peers. Umbrel Team, can you please add this to the Bitcoin/Bitcoin-Knots “Advanced Settings” in the UI. I’ve tried modifying the ./umbrel/app-data/bitcoin/data/bitcoin/bitcoin.conf file without any success. Anybody have any ideas how to enable RPC and add local nodes?
# Load additional configuration file, relative to the data directory.
includeconf=umbrel-bitcoin.conf
server=1
rpcallow=192.168.2.0/24
rpcauth=bitcoin:77ef21bd026a1cc44f...
rpcwhitelist=bitcoin,umbrel
rpcuser=bitcoin
rpcpass=xxxx
connect=192.168.2.201
connect=192.168.2.203
connect=192.168.2.204
connect=192.168.2.206
This has been a long time coming. SSH into your umbrel and run this command.
sudo docker exec -it `sudo docker ps |grep bitcoind |cut -d " " -f 1` bitcoin-cli getpeerinfo
sudo docker exec -it `sudo docker ps |grep bitcoind |cut -d " " -f 1` bitcoin-cli addnode [IP] onetry
e.g.
sudo docker exec -it `sudo docker ps |grep bitcoind |cut -d " " -f 1` bitcoin-cli addnode 192.168.1.209 onetry
sudo docker exec -it `sudo docker ps |grep bitcoind |cut -d " " -f 1` bitcoin-cli getpeerinfo |grep "addr"
You should see the address listed there. Also look at your bitcoin debug.log
cat ~/umbrel/app-data/bitcoin/data/bitcoin/debug.log
cat ~/umbrel/app-data/bitcoin-knots/data/bitcoin/debug.log
I don’t believe this last through reboots or restarts, so hopefully the Umbrel team will add this ability to the Advanced Settings in the UI.