Cannot open assumeUTXO snapshot #31643

issue feelancer21 opened this issue on January 12, 2025
  1. feelancer21 commented at 1:19 PM on January 12, 2025: none

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    Using bitcoind 28.0 I wanted to setup a new full node and load the utxo snapshot from loop.net. I got the following error.

    $ bitcoin-cli -rpcclienttimeout=0 loadtxoutset   utxo-snapshot-height-840000.dat 
    RPC password> 
    error code: -8
    error message:
    Couldn't open file /appdata/bitcoin-01/data/utxo-snapshot-height-840000.dat for reading.
    

    Expected behaviour

    Should load

    Steps to reproduce

    The file is rw. Maybe the download is corrupt, but I have no sha256sum to compare

    dc4bb43d58d6a25e91eae93eb052d72e3318bd98ec62a5d0c11817cefbba177b utxo-snapshot-height-840000.dat

    Or there is something special with my config

    datadir=/appdata/bitcoin-01/data
    pid=/appdata/bitcoin-01/run/bitcoind.pid
    debuglogfile=/appdata/bitcoin-01/var/log/debug.log
    daemon=1
    
    # Bitcoin daemon
    server=1
    txindex=1
    blockfilterindex=1
    
    # Network
    listen=1
    listenonion=1
    externalip= someonion
    
    # Connections
    rpcauth=somecredentials 
    rpcauth=somecredentials
    rpcauth=somecredentials
    rpcauth=somecredentials
    rpcauth=somecredentials
    zmqpubrawblock=tcp://0.0.0.0:28332
    zmqpubrawtx=tcp://0.0.0.0:28333
    whitelist=download@127.0.0.1          # for Electrs
    
    # Initial block download optimizations
    dbcache=7500
    blocksonly=1
    maxmempool=800
    
    #SPV
    peerbloomfilters=1
    peerblockfilters=1
    
    [main]
    rpcbind=192.168.2.160
    rpcbind=127.0.0.1
    rpcallowip=127.0.0.1
    rpcallowip=192.168.0.0/16
    proxy=127.0.0.1:9050
    #bind=127.0.0.1
    bind=0.0.0.0
    

    Relevant log output

    No response

    How did you obtain Bitcoin Core

    Pre-built binaries

    What version of Bitcoin Core are you using?

    v28.0.0

    Operating system and version

    SMP PVE 5.15.116-1 ------> (debian on proxmox)

    Machine specifications

    I increased the RAM to 12G, but it did not help

  2. feelancer21 renamed this:
    Cannot open utxo snapshot
    Cannot open assumeUTXO snapshot
    on Jan 12, 2025
  3. sedited commented at 1:32 PM on January 12, 2025: contributor

    It looks like the snapshot you are trying to load is not in the data directory. Either move it there, or provide the full path to the file in the command. If you just pass the file name, bitcoin will attempt to load it from its data directory (as indicated by the error message).

  4. feelancer21 commented at 5:31 PM on January 12, 2025: none

    Thank you. I did not read the error message correctly.

  5. feelancer21 closed this on Jan 12, 2025

  6. bitcoin locked this on Jan 12, 2026
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-06-11 10:51 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me