Skip to content

BSC Geth 1.6.6 fails to start after PBSS snapshot extraction: requires --datadir.ancient #3561

@KevinShen1124

Description

@KevinShen1124

System information

Geth version: 1.6.6
OS & Version: Linux
Arguments:

Description

  • Steps to reproduce the behaviour
    Download snapshot
    bash fetch-snapshot.sh -d -c -p -D /opt/bsc/downloads/mainnet-geth-pbss-20260202 mainnet-geth-pbss-20260202
    Unzip snapshot
    bash fetch-snapshot.sh -e -D /opt/bsc/downloads/mainnet-geth-pbss-20260202 -E /opt/bsc/node mainnet-geth-pbss-20260202-pruneancient.csv
    Startup command
    ~/geth --tries-verify-mode none --config /opt/bsc/config.toml --datadir /opt/bsc/node/server/data-seed --cache 8000 --rpc.allow-unprotected-txs --history.transactions 0

I've already tried starting it with --datadir.ancient, but the same problem persists.

  • Expected behaviour
    Node starts successfully using the PBSS snapshot without errors.

  • Actual behaviour
    1.During extraction of the 2026-02-02 snapshot, an error appears near the end indicating a mismatch between the required decompression version and the actual files.
    2.When starting the node, geth exits with: Fatal: Failed to register the Ethereum service: ancient chain segments already extracted, please set --datadir.ancient to the correct path

Backtrace

[backtrace]
~/geth --tries-verify-mode none --config /opt/bsc/config.toml --datadir /opt/bsc/node/server/data-seed --cache 8000 --rpc.allow-unprotected-txs --history.transactions 0
INFO [02-11|17:04:02.760] ApplyDefaultMinerConfig                  DelayLeftOver=25ms
INFO [02-11|17:04:02.760] ApplyDefaultMinerConfig                  MaxWaitProposalInSecs=45
INFO [02-11|17:04:02.760] ApplyDefaultMinerConfig                  Recommit=10s
INFO [02-11|17:04:02.760] ApplyDefaultMinerConfig                  Mev.Enabled=false
INFO [02-11|17:04:02.760] ApplyDefaultMinerConfig                  Mev.BuilderFeeCeil=0
INFO [02-11|17:04:02.760] ApplyDefaultMinerConfig                  Mev.GreedyMergeTx=true
INFO [02-11|17:04:02.760] ApplyDefaultMinerConfig                  Mev.ValidatorCommission=100
INFO [02-11|17:04:02.760] ApplyDefaultMinerConfig                  Mev.BidSimulationLeftOver=30ms
INFO [02-11|17:04:02.760] ApplyDefaultMinerConfig                  Mev.NoInterruptLeftOver=235ms
INFO [02-11|17:04:02.760] ApplyDefaultMinerConfig                  Mev.MaxBidsPerBuilder=2
INFO [02-11|17:04:02.762] Maximum peer count                       ETH=1350 total=1350
INFO [02-11|17:04:02.763] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
Chain metadata
  databaseVersion: 9 (0x9)
  headBlockHash: 0xef72d758c18920eff6ca7f85f874b7d9b990198b315a198d8bfc8005d79ebcb3
  headFastBlockHash: 0xef72d758c18920eff6ca7f85f874b7d9b990198b315a198d8bfc8005d79ebcb3
  headHeaderHash: 0xef72d758c18920eff6ca7f85f874b7d9b990198b315a198d8bfc8005d79ebcb3
  lastPivotNumber: 6920578 (0x699982)
  len(snapshotSyncStatus): 0 bytes
  snapshotDisabled: false
  snapshotJournal: 13721860 bytes
  snapshotRecoveryNumber: 47342098 (0x2d26212)
  snapshotRoot: 0xaa1acbcd6885d5acaea11ece605dd94ad0dceeca71a07b0180dcfa6e2e410fc4
  txIndexTail: 0 (0x0)

Fatal: Failed to register the Ethereum service: ancient chain segments already extracted, please set --datadir.ancient to the correct path

Metadata

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