Use neutrino start Error : target hash not found in index #926
Unanswered
SevenLiquor
asked this question in
Q&A
Replies: 1 comment
-
Sounds like you might need to remove the neutrino database to force a re-sync. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My attempt to start a previously working node failed and I got an error:
unable to sync PoV of the wallet with current best block in the main chain: target hash not found in index.
Please help me see how to solve this problem
This is the full startup log:
2024-12-23 07:56:02.538 [INF] LITD: LiT version: 0.13.3-alpha commit= 2024-12-23 07:56:02.542 [INF] LITD: Listening for http_tls on: 127.0.0.1:8443 2024-12-23 07:56:02.587 [INF] SESS: Checking for schema update: latest_version=2, db_version=2 2024-12-23 07:56:02.595 [INF] FWDB: Checking for schema update: latest_version=0, db_version=0 2024-12-23 07:56:02.596 [INF] LTND: Version: 0.18.2-beta commit=, build=production, logging=default, debuglevel=info 2024-12-23 07:56:02.596 [INF] LTND: Active chain: Bitcoin (network=mainnet) 2024-12-23 07:56:02.600 [INF] RPCS: RPC server listening on bufconn 2024-12-23 07:56:02.600 [INF] RPCS: RPC server listening on 0.0.0.0:10009 2024-12-23 07:56:02.698 [INF] RPCS: gRPC proxy started at 127.0.0.1:8080 2024-12-23 07:56:02.698 [INF] LTND: Opening the main database, this might take a few minutes... 2024-12-23 07:56:02.698 [INF] LTND: Opening bbolt database, sync_freelist=false, auto_compact=true 2024-12-23 07:56:02.700 [INF] CHDB: Not compacting database file at /home/en/.lnd/data/graph/mainnet/channel.db, it was last compacted at 2024-12-21 03:55:38.496077902 +0000 UTC (52h0m24s ago), min age is set to 168h0m0s 2024-12-23 07:56:16.141 [INF] CHDB: Not compacting database file at /home/en/.lnd/data/chain/bitcoin/mainnet/macaroons.db, it was last compacted at 2024-12-21 03:55:38.627918006 +0000 UTC (52h0m37s ago), min age is set to 168h0m0s 2024-12-23 07:56:16.146 [INF] CHDB: Not compacting database file at /home/en/.lnd/data/graph/mainnet/sphinxreplay.db, it was last compacted at 2024-12-21 03:55:38.637569048 +0000 UTC (52h0m37s ago), min age is set to 168h0m0s 2024-12-23 07:56:16.149 [INF] LTND: Creating local graph and channel state DB instances 2024-12-23 07:56:22.067 [INF] CHDB: Checking for schema update: latest_version=31, db_version=31 2024-12-23 07:56:22.068 [INF] CHDB: Checking for optional update: prune_revocation_log=false, db_version=empty 2024-12-23 07:56:22.068 [INF] LTND: Database(s) now open (time_to_open=19.369645831s)! 2024-12-23 07:56:35.335 [INF] BTCN: Loaded 5547 addresses from file '/home/en/.lnd/data/chain/bitcoin/mainnet/peers.json' 2024-12-23 07:56:35.336 [INF] BTCN: Registering block subscription: id=1 2024-12-23 07:56:35.339 [INF] LTND: We're not running within systemd or the service type is not 'notify' 2024-12-23 07:56:35.340 [INF] BTCN: Broadcaster now active 2024-12-23 07:56:35.339 [INF] LTND: Waiting for wallet encryption password. Use
lncli createto create a wallet,
lncli unlockto unlock an existing wallet, or
lncli changepasswordto change the password of an existing wallet and unlock it. 2024-12-23 07:56:35.355 [INF] CMGR: 7 addresses found from DNS seed x49.seed.bitcoin.wiz.biz 2024-12-23 07:56:35.362 [INF] CMGR: 23 addresses found from DNS seed x49.seed.bitcoin.sprovoost.nl 2024-12-23 07:56:35.362 [INF] CMGR: 23 addresses found from DNS seed x49.seed.btc.petertodd.net 2024-12-23 07:56:35.363 [INF] CMGR: 23 addresses found from DNS seed x49.dnsseed.bluematt.me 2024-12-23 07:56:35.365 [INF] CMGR: 23 addresses found from DNS seed dnsseed.bitcoin.dashjr.org 2024-12-23 07:56:35.367 [INF] CMGR: 40 addresses found from DNS seed seed.bitnodes.io 2024-12-23 07:56:35.375 [INF] CMGR: 39 addresses found from DNS seed x49.seed.bitcoin.sipa.be 2024-12-23 07:56:35.408 [INF] BTCN: Waiting for more block headers, then will start cfheaders sync from height 875294... 2024-12-23 07:56:35.408 [INF] BTCN: New valid peer 118.24.37.253:8333 (outbound) (/Satoshi:25.0.0/) 2024-12-23 07:56:35.417 [INF] BTCN: Syncing to block height 876002 from peer 118.24.37.253:8333 2024-12-23 07:56:35.418 [INF] BTCN: Fetching set of headers from tip (height=875294) from peer 118.24.37.253:8333 2024-12-23 07:56:35.479 [INF] BTCN: Lost peer 118.24.37.253:8333 (outbound) 2024-12-23 07:56:35.479 [WRN] BTCN: No sync peer candidates available 2024-12-23 07:56:35.745 [INF] BTCN: New valid peer 154.53.63.218:8333 (outbound) (/btcwire:0.5.0/btcd:0.24.2/) 2024-12-23 07:56:35.747 [INF] BTCN: Syncing to block height 876004 from peer 154.53.63.218:8333 2024-12-23 07:56:35.747 [INF] BTCN: Fetching set of headers from tip (height=875294) from peer 154.53.63.218:8333 2024-12-23 07:56:35.758 [INF] BTCN: New valid peer 154.53.63.218:8333 (outbound) (/btcwire:0.5.0/btcd:0.24.2/) 2024-12-23 07:56:35.816 [INF] BTCN: New valid peer 45.79.195.29:8333 (outbound) (/btcwire:0.5.0/btcd:0.24.2/) 2024-12-23 07:56:35.835 [INF] BTCN: New valid peer 45.79.195.29:8333 (outbound) (/btcwire:0.5.0/btcd:0.24.2/) 2024-12-23 07:56:35.859 [INF] BTCN: New valid peer 24.27.9.128:8333 (outbound) (/Satoshi:27.0.0/) 2024-12-23 07:56:35.893 [INF] BTCN: Lost peer 24.27.9.128:8333 (outbound) 2024-12-23 07:56:35.928 [INF] BTCN: New valid peer 46.250.236.40:8333 (outbound) (/btcwire:0.5.0/btcd:0.24.2/) 2024-12-23 07:56:36.585 [WRN] BTCN: Header doesn't pass sanity check: block difficulty of 386045946 is not the expected value of 0 -- disconnecting peer 2024-12-23 07:56:36.586 [INF] BTCN: Lost peer 154.53.63.218:8333 (outbound) 2024-12-23 07:56:36.587 [INF] BTCN: Syncing to block height 876004 from peer 154.53.63.218:8333 2024-12-23 07:56:36.587 [INF] BTCN: Fetching set of headers from tip (height=875294) from peer 154.53.63.218:8333 2024-12-23 07:56:37.378 [WRN] BTCN: Header doesn't pass sanity check: block difficulty of 386045946 is not the expected value of 0 -- disconnecting peer 2024-12-23 07:56:37.379 [INF] BTCN: Lost peer 154.53.63.218:8333 (outbound) 2024-12-23 07:56:37.379 [INF] BTCN: Syncing to block height 876004 from peer 45.79.195.29:8333 2024-12-23 07:56:37.379 [INF] BTCN: Fetching set of headers from tip (height=875294) from peer 45.79.195.29:8333 2024-12-23 07:56:37.382 [INF] BTCN: New valid peer 154.26.130.77:8333 (outbound) (/btcwire:0.5.0/btcd:0.24.2/) 2024-12-23 07:56:38.119 [WRN] BTCN: Header doesn't pass sanity check: block difficulty of 386045946 is not the expected value of 0 -- disconnecting peer 2024-12-23 07:56:38.120 [INF] BTCN: Lost peer 45.79.195.29:8333 (outbound) 2024-12-23 07:56:38.121 [INF] BTCN: Syncing to block height 876004 from peer 45.79.195.29:8333 2024-12-23 07:56:38.121 [INF] BTCN: Fetching set of headers from tip (height=875294) from peer 45.79.195.29:8333 2024-12-23 07:56:38.914 [WRN] BTCN: Header doesn't pass sanity check: block difficulty of 386045946 is not the expected value of 0 -- disconnecting peer 2024-12-23 07:56:38.915 [INF] BTCN: Lost peer 45.79.195.29:8333 (outbound) 2024-12-23 07:56:38.917 [INF] BTCN: Syncing to block height 876004 from peer 46.250.236.40:8333 2024-12-23 07:56:38.917 [INF] BTCN: Fetching set of headers from tip (height=875294) from peer 46.250.236.40:8333 2024-12-23 07:56:40.010 [INF] LNWL: Opened wallet 2024-12-23 07:56:40.164 [WRN] BTCN: Header doesn't pass sanity check: block difficulty of 386045946 is not the expected value of 0 -- disconnecting peer 2024-12-23 07:56:40.165 [INF] BTCN: Lost peer 46.250.236.40:8333 (outbound) 2024-12-23 07:56:40.166 [INF] BTCN: Syncing to block height 876004 from peer 154.26.130.77:8333 2024-12-23 07:56:40.166 [INF] BTCN: Fetching set of headers from tip (height=875294) from peer 154.26.130.77:8333 2024-12-23 07:56:40.485 [INF] LITD: Connecting basic lnd client 2024-12-23 07:56:40.490 [INF] LITD: Basic lnd client connected 2024-12-23 07:56:40.490 [INF] LITD: Connecting full lnd client 2024-12-23 07:56:40.490 [INF] LNDC: Creating lnd connection to 127.0.0.1:10009 2024-12-23 07:56:40.493 [INF] LNDC: Connected to lnd 2024-12-23 07:56:40.499 [INF] LNDC: Waiting for lnd to unlock 2024-12-23 07:56:40.500 [INF] CHRE: Using external fee estimator https://nodes.lightning.computer/fees/v1/btc-fee-estimates.json: cached=true: min update timeout=5m0s, max update timeout=20m0s 2024-12-23 07:56:40.502 [INF] LNWL: Starting web API fee estimator 2024-12-23 07:56:40.502 [INF] LNWL: Web API fee estimator using update timeout of 7m20s 2024-12-23 07:56:40.505 [INF] LNDC: Wallet state of lnd is now: Wallet is unlocked 2024-12-23 07:56:40.540 [INF] BTCN: New valid peer 118.24.37.253:8333 (outbound) (/Satoshi:25.0.0/) 2024-12-23 07:56:40.564 [INF] BTCN: Lost peer 118.24.37.253:8333 (outbound) 2024-12-23 07:56:41.415 [INF] BTCN: New valid peer 24.27.9.128:8333 (outbound) (/Satoshi:27.0.0/) 2024-12-23 07:56:41.448 [INF] BTCN: Lost peer 24.27.9.128:8333 (outbound) 2024-12-23 07:56:42.036 [INF] BTCN: New valid peer 154.53.63.218:8333 (outbound) (/btcwire:0.5.0/btcd:0.24.2/) 2024-12-23 07:56:43.589 [INF] LNWL: The wallet has been unlocked without a time limit 2024-12-23 07:56:43.596 [INF] BTCN: New valid peer 45.79.195.29:8333 (outbound) (/btcwire:0.5.0/btcd:0.24.2/) 2024-12-23 07:56:43.599 [INF] CHRE: LightningWallet opened 2024-12-23 07:56:43.629 [INF] HSWC: Cleaning circuits from disk for closed channels 2024-12-23 07:56:43.631 [INF] HSWC: Finished cleaning: no closed channels found, no actions taken. 2024-12-23 07:56:43.631 [INF] HSWC: Restoring in-memory circuit state from disk 2024-12-23 07:56:43.632 [INF] HSWC: Payment circuits loaded: num_pending=0, num_open=0 2024-12-23 07:56:43.652 [INF] LTND: Channel backup proxy channel notifier starting 2024-12-23 07:56:43.654 [INF] ATPL: Instantiating autopilot with active=false, max_channels=5, allocation=0.600000, min_chan_size=20000, max_chan_size=16777215, private=false, min_confs=1, conf_target=3 2024-12-23 07:56:43.662 [INF] LTND: We're not running within systemd or the service type is not 'notify' 2024-12-23 07:56:43.662 [INF] LTND: Waiting for chain backend to finish sync, start_height=875294 2024-12-23 07:56:43.663 [ERR] LTND: Shutting down because error in main method: unable to determine if wallet is synced: target hash not found in index 2024-12-23 07:56:43.663 [INF] RPCS: Stopping RPC Server 2024-12-23 07:56:43.663 [INF] RPCS: Stopping ChainRPC Sub-RPC Server 2024-12-23 07:56:43.663 [INF] RPCS: Stopping InvoicesRPC Sub-RPC Server 2024-12-23 07:56:43.663 [INF] RPCS: Stopping RouterRPC Sub-RPC Server 2024-12-23 07:56:43.663 [INF] RPCS: Stopping SignRPC Sub-RPC Server 2024-12-23 07:56:43.663 [INF] RPCS: Stopping VersionRPC Sub-RPC Server 2024-12-23 07:56:43.663 [INF] RPCS: Stopping WalletKitRPC Sub-RPC Server 2024-12-23 07:56:43.663 [INF] RPCS: Stopping WatchtowerClientRPC Sub-RPC Server 2024-12-23 07:56:43.663 [INF] RPCS: Stopping AutopilotRPC Sub-RPC Server 2024-12-23 07:56:43.663 [INF] LNWL: Stopped waiting for wallet sync due to error: wallet shutting down 2024-12-23 07:56:43.663 [INF] BTCN: Canceling block subscription: id=1 2024-12-23 07:56:43.664 [INF] LNDC: Wallet state of lnd is now: Lnd RPC server is ready for requests 2024-12-23 07:56:43.678 [ERR] RPCS: [/lnrpc.Lightning/GetInfo]: unable to sync PoV of the wallet with current best block in the main chain: target hash not found in index 2024-12-23 07:56:43.680 [ERR] STAT: could not start the lit sub-server: Error when creating LND Services client: rpc error: code = Unknown desc = unable to sync PoV of the wallet with current best block in the main chain: target hash not found in index 2024-12-23 07:56:43.714 [INF] BTCN: Block manager shutting down 2024-12-23 07:56:43.764 [INF] BTCN: Address manager shutting down 2024-12-23 07:56:43.804 [INF] LNWL: Stopping web API fee estimator 2024-12-23 07:56:43.827 [INF] LTND: Shutdown complete
Beta Was this translation helpful? Give feedback.
All reactions