Ubuntu 22.04.4 LTS. 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. 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:
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:
/snap/bin/bitcoin-core.daemon -conf=/home/sov/.bitcoin/bitcoin.conf
I get:
Error: Error reading configuration file: specified config file "/home/sov/.bitcoin/bitcoin.conf" could not be opened.
The file is readable:
-rw-r--r-- 1 sov sov 617 Aug 22 2023 /home/sov/.bitcoin/bitcoin.conf