Post
Topic
Board Bitcoin Technical Support
Merits 4 from 1 user
Topic OP
An unsolicited update broke my Bitcoin Core
by
Picaflor
on 24/05/2024, 22:32:45 UTC
⭐ Merited by LoyceV (4)
I had Bitcoin Core 23.0 if I remember correctly. After months of it running I realized it had stopped working.

It turned out Snap had updated it to 27.0.0. I downgraded it to 25.2 using Ubuntu Software package manager in the hope it would be less broken, but it's equally broken.

I don't have `bitcoind` or `bitcoin-cli` like I used to. The symlinks point to non-existent files.
However, I do have `bitcoin-core.daemon` and `bitcoin-core.cli`. I created symlinks to them as follows:

Code:
sudo ln -s /snap/bin/bitcoin-core.daemon /usr/local/bin/bitcoind
sudo ln -s /snap/bin/bitcoin-core.cli /usr/local/bin/bitcoin-cli

but when I run `bitcoind`, it gives me output from Snap and not from `bitcoin-core.daemon`.

This is not the main issue, as I can replace `bitcoind` with `bitcoin-core.daemon` in the systemd config file (but it would be handy to fix).

What I'm struggling with is passing the config file to it. When I run:
Code:
/snap/bin/bitcoin-core.daemon -conf=/home/sov/.bitcoin/bitcoin.conf
I get:
Code:
Error: Error reading configuration file: specified config file "/home/sov/.bitcoin/bitcoin.conf" could not be opened.

The file is readable:
Code:
-rw-r--r-- 1 sov sov 617 Aug 22  2023 /home/sov/.bitcoin/bitcoin.conf

 Huh