Skip to content

electrs is missing /data/.bitcoin/.cookie #11

Open
@TylonHH

Description

I am experiencing issues with Electrs on my Umbrel node and would appreciate assistance. My setup includes Umbrel version 1.3 running on a Raspberry Pi 5 with 8GB RAM and a 2TB SSD. Bitcoin is fully synchronized, and the Lightning Network is functioning correctly. However, when attempting to connect Sparrow Wallet to Electrs, I encounter the following problem:

Electrs displays the message: "Connecting to Electrs server…" continuously.

Here is the relevant log output:

electrs_electrs_1    | Starting electrs 0.10.7 on aarch64 linux with Config { network: Bitcoin, db_path: "/data/db/bitcoin", db_log_dir: None, daemon_auth: CookieFile("/data/.bitcoin/.cookie"), daemon_rpc_addr: 10.xxx.xxx.8:8332, daemon_p2p_addr: 10.xxx.xxx.8:8333, electrum_rpc_addr: 0.0.0.0:50001, monitoring_addr: 127.0.0.1:4224, wait_duration: 10s, jsonrpc_timeout: 15s, index_batch_size: 10, index_lookup_limit: None, reindex_last_blocks: 0, auto_reindex: true, ignore_mempool: false, sync_once: false, skip_block_download_wait: false, disable_electrum_rpc: false, server_banner: "Umbrel Electrs (0.10.7)", signet_magic: f9beb4d9 }
electrs_electrs_1    | [2025-02-04T10:38:32.818Z INFO  electrs::metrics::metrics_impl] serving Prometheus metrics on 127.0.0.1:4224
electrs_electrs_1    | [2025-02-04T10:38:32.818Z INFO  electrs::server] serving Electrum RPC on 0.0.0.0:50001
electrs_electrs_1    | [2025-02-04T10:38:32.862Z INFO  electrs::db] "/data/db/bitcoin": 38 SST files, 0.000038662 GB, 0.000000021 Grows
electrs_electrs_1    | [2025-02-04T10:38:32.866Z INFO  electrs::db] closing DB at /data/db/bitcoin
electrs_electrs_1    | Error: electrs failed
electrs_electrs_1    | 
electrs_electrs_1    | Caused by:
electrs_electrs_1    |     0: failed to open bitcoind cookie file: /data/.bitcoin/.cookie
electrs_electrs_1    |     1: No such file or directory (os error 2)

It appears that Electrs is unable to locate the bitcoind cookie file at /data/.bitcoin/.cookie. I suspect there might be a configuration issue causing this problem since it should use rpc, shouldn't? Has anyone encountered a similar issue or can provide guidance on resolving this?

Thank you in advance for your assistance.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions