Bitcoin docker container keeps restarting

I run Umbrel on a Raspberry Pi 4 8go connected via Ethernet, with a SSD.

The Bitcoin docker container keeps restarting, it can’t find the settings.json file.

Here are some of the logs:

bitcoin Restarting (1) 22 seconds ago

Bitcoin Core logs

Attaching to bitcoin
bitcoin | Error: Failed loading settings file:
bitcoin | - Unable to parse settings file /data/.bitcoin/settings.json
bitcoin |

btc-rpc-explorer

web_1 | 2021-07-24T16:16:00.417Z btcexp:error Error 937gf47dsyde: Error: connect ECONNREFUSED 10.21.21.10:50001, json: {“errno”:“ECONNREFUSED”,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“10.21.21.10”,“port”:50001}, userData: [object Object] (json: {“host”:“10.21.21.10”,“port”:50001,“protocol”:“tcp”})

Any help appreciated.

Thanks!

Any luck in resolving this issue? I am having the same problem with

Unable to parse settings file /data/.bitcoin/settings.json

Okay, i fixed the issue…
my umbrel/bitcoin/settings.json file was empty and I simply modified it to be

{
}

All is well now

3 Likes

Thank you exabyte!

Can you share how to do modify the file please?

Thanks again.

Ok I did:
cd /umbrel/bitcoin and nano settings.json

And it worked! Thanks

2 Likes

…thx, looks promising- but for some reason I can’t log in on the terminal to get started either.

Did you ever get logged in? I can’t ssh from my Linux Mint machine, but I can from my Linux terminal on my chromebook… I hate being computer illiterate.

To find your settings.json for Bitcoin on Umbrel:

cd ~
find . -name "settings.json"

look at the results and you will see the path to something like this:

./umbrel/app-data/bitcoin/data/bitcoin/settings.json

then just do nano ./umbrel/app-data/bitcoin/data/bitcoin/settings.json and add the

{
}
1 Like