<p>I had problems like this too and through hours of trial and error, I got it working, Check out my bitcoin and bifrost settings found in repositories here</p>

<p><a href="https://github.com/StellarKit" rel="nofollow noreferrer">https://github.com/StellarKit</a></p>

<p>I can't remember the exact problem, I think I remember I had my rpc urls wrong. </p>

<p>BIFROST_BITCOIN_RPC_SERVER:         "bitcoind:18332"</p>

<p>bitcoind refers to the bitcoin docker image and uses dockers networking.</p>

<p>But look at the docker-compose.yml files for a working example.</p>

<p>You can install everything I have to get bifrost working on testnet.</p>

CC BY-SA 3.0
2018-01-19T11:39:57.790Z
2018-01-19T11:39:57.790Z
Steve Gehrman
<p>i am installing a full node on a linux server  and i'm trying to connect to bitcoin with BIFROST(<a href="https://github.com/stellar/go/tree/master/services/bifrost" rel="nofollow noreferrer">https://github.com/stellar/go/tree/master/services/bifrost</a>) but i am getting the error below which looks like a bitcoin error. All blocks have been downloaded. Please someone should guide me. Thanks </p>

<p>Error getting bitcoin block to process from DB: Error getting <code>bitcoin_last_block</code> from DB: get failed: get failed: pq: relation "key_value_store" does not exist  pid=65548 service=BitcoinListener
ERRO[2018-01-05T18:42:41Z] Error starting the server                     err="Error starting BitcoinListener: Error getting bitcoin block to process from DB: Error getting <code>bitcoin_last_block</code> from DB: get failed: get failed: pq: relation "key_value_store" does not exist" pid=65548</p>

<blockchain><bitcoind><linux><ubuntu><stellar>
Error getting bitcoin block to process from DB
user72642
# Error getting bitcoin block to process from DB

(Asked by: username_0 on 2018-01-05)

i am installing a full node on a linux server and i'm trying to connect to bitcoin with BIFROST(<https://github.com/stellar/go/tree/master/services/bifrost>) but i am getting the error below which looks like a bitcoin error. All blocks have been downloaded. Please someone should guide me. Thanks

Error getting bitcoin block to process from DB: Error getting `bitcoin_last_block` from DB: get failed: get failed: pq: relation "key\_value\_store" does not exist pid=65548 service=BitcoinListener
ERRO[2018-01-05T18:42:41Z] Error starting the server err="Error starting BitcoinListener: Error getting bitcoin block to process from DB: Error getting `bitcoin_last_block` from DB: get failed: get failed: pq: relation "key\_value\_store" does not exist" pid=65548

**Tags:** blockchain, bitcoind, linux, ubuntu, stellar


---

## 1 answers

### Answer by username_1 on 2018-01-19. Score: 0

I had problems like this too and through hours of trial and error, I got it working, Check out my bitcoin and bifrost settings found in repositories here

<https://github.com/StellarKit>

I can't remember the exact problem, I think I remember I had my rpc urls wrong.

BIFROST\_BITCOIN\_RPC\_SERVER: "bitcoind:18332"

bitcoind refers to the bitcoin docker image and uses dockers networking.

But look at the docker-compose.yml files for a working example.

You can install everything I have to get bifrost working on testnet.


---

