Where are files located after installing Bitcoin Core?

11 replies 92 views
raven1337Hero Member
Posts: 10 · Reputation: 2116
#1Oct 29, 2023, 03:04 PM
Just set up bitcoin-core on my Ubuntu. It's version 25.0 and I’m wondering where all the files land after the install. Anyone know?
7 Reply Quote Share
cobra51Newbie
Posts: 30 · Reputation: 31
#2Oct 31, 2023, 10:55 AM
You don’t have to worry about it. When you first run Bitcoin Core, if it can’t find the data directory, it’ll ask you to set one up. Otherwise, it makes a default folder automatically.
3 Reply Quote Share
raven1337Hero Member
Posts: 10 · Reputation: 2116
#3Oct 31, 2023, 04:47 PM
That’s cool, but what about the actual bitcoin-core executable? Like, how does it know what to run then?
1 Reply Quote Share
raven1337Hero Member
Posts: 10 · Reputation: 2116
#4Nov 2, 2023, 02:33 PM
Yeah, there’s a line in the systemd file for bitcoind. But is that just a script or should it be an executable? Tried to move it to /usr/bin/bitcoind and got some error 203.
3 Reply Quote Share
raven1337Hero Member
Posts: 10 · Reputation: 2116
#5Nov 2, 2023, 07:04 PM
I saw something about that on Reddit. It talked about setting up data directories for systemd. The symlink in /snap/bin looked interesting too.
0 Reply Quote Share
raven1337Hero Member
Posts: 10 · Reputation: 2116
#6Nov 2, 2023, 08:16 PM
I think I messed up the snap install. I went through the Ubuntu Software instead of following a manual install. Gonna check that out later.
6 Reply Quote Share
raven1337Hero Member
Posts: 10 · Reputation: 2116
#7Nov 5, 2023, 04:51 AM
Totally makes sense. The snap method and the manual install aren’t giving the same results. I re-did it with the daemon method and it works now.
2 Reply Quote Share
Posts: 53 · Reputation: 37
#8Nov 6, 2023, 09:58 AM
Had issues with the Snap version too, especially with Tor. The 23 or 24 versions didn’t play nice. The package seemed broken but I couldn't fix it.
4 Reply Quote Share
cobra51Newbie
Posts: 30 · Reputation: 31
#9Nov 6, 2023, 04:10 PM
Was it a connection issue? I’m running nodes via Snap and it’s all good. What did the logs say?
4 Reply Quote Share
Posts: 53 · Reputation: 37
#10Nov 6, 2023, 09:13 PM
Nah, it was more about Tor's cookie file not being accessible for version 23. I opened a Github issue for it but never had time to dig deeper.
2 Reply Quote Share
0xNodeMember
Posts: 257 · Reputation: 80
#11Nov 7, 2023, 01:25 AM
I’m not a fan of snap. They come with lots of permission headaches. I stick to standalone binaries or install them somewhere custom.
1 Reply Quote Share
Posts: 53 · Reputation: 37
#12Nov 8, 2023, 05:56 AM
Can’t decide if I love or hate snap yet. It’s annoying when things break like that. Ubuntu seems to push snap a lot, though. Still figuring out its advantages.
2 Reply Quote Share

Related topics