btcpayserver: FastSync failing to synchronize. Asking to reindex
BTCPay and FastSyncwas working fine on AWS till last week. I had to move and reinstall to DigitalOcean droplet a few hours ago.
Full node is ok. However, if I use “./load-utxo-set.sh” to enable FastSync then bitcoin daemon failing to synchronize.
docker logs --tail 10 btcpayserver_bitcoind:
2019-11-11T17:40:37Z BerkeleyEnvironment::Open: LogDir=/walletdata/mainnet/database ErrorFile=/walletdata/mainnet/db.log
2019-11-11T17:40:37Z [default wallet] nFileVersion = 180000
2019-11-11T17:40:37Z [default wallet] Keys: 2001 plaintext, 0 encrypted, 2001 w/ metadata, 2001 total. Unknown wallet records: 0
2019-11-11T17:40:37Z [default wallet] Wallet completed loading in 168ms
2019-11-11T17:40:37Z Error: Prune: last wallet synchronisation goes beyond pruned data. You need to -reindex (download the whole blockchain again in case of pruned node) Error: Prune: last wallet synchronisation goes beyond pruned data. You need to -reindex (download the whole blockchain again in case of pruned node)
2019-11-11T17:40:37Z [default wallet] Releasing wallet
2019-11-11T17:40:37Z Shutdown: In progress…
2019-11-11T17:40:37Z scheduler thread interrupt
2019-11-11T17:40:37Z Shutdown: done`
docker logs generated_nbxplorer_1:
info: Configuration: Data Directory: /datadir info: Configuration: Configuration File: /datadir/Main/settings.config info: Configuration: Network: Mainnet info: Configuration: Supported chains: BTC info: Configuration: Network: Mainnet info: Configuration: Supported chains: BTC info: Configuration: BTC: Testing RPC connection to http://bitcoind:43782/ info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… Hosting environment: Production Content root path: /app/ Now listening on: http://0.0.0.0:32838 Application started. Press Ctrl+C to shut down. info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Verifying blocks…’, retrying soon… fail: Configuration: BTC: Error connecting to RPC server Response status code does not indicate success: 503 (Service Unavailable). info: Configuration: BTC: Testing again in 5 seconds info: Configuration: BTC: Testing RPC connection to http://bitcoind:43782/ info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Rewinding blocks…’, retrying soon… fail: Configuration: BTC: Error connecting to RPC server Response status code does not indicate success: 503 (Service Unavailable). info: Configuration: BTC: Testing again in 10 seconds info: Configuration: BTC: Testing RPC connection to http://bitcoind:43782/ info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… fail: Configuration: BTC: Error connecting to RPC server Response status code does not indicate success: 503 (Service Unavailable). info: Configuration: BTC: Testing again in 15 seconds info: Configuration: BTC: Testing RPC connection to http://bitcoind:43782/ info: Configuration: BTC: Transient error ‘Rewinding blocks…’, retrying soon… info: Configuration: BTC: Transient error ‘Verifying blocks…’, retrying soon… fail: Configuration: BTC: Error connecting to RPC server Response status code does not indicate success: 503 (Service Unavailable). info: Configuration: BTC: Testing again in 20 seconds info: Configuration: BTC: Testing RPC connection to http://bitcoind:43782/ info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Rewinding blocks…’, retrying soon… fail: Configuration: BTC: Error connecting to RPC server Response status code does not indicate success: 503 (Service Unavailable). info: Configuration: BTC: Testing again in 25 seconds
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 20 (17 by maintainers)
I just added proper warnings on the cli
https://github.com/btcpayserver/btcpayserver-docker/commit/18ef1d2d462feccf32044bd69d81f732a495c063
Ooh it’s the wallet, ok I see @NicolasDorier Will update fastsync doc.
I will show a warning.
Is there a way to include that into a script? But then it can fuck things up if the wallet is used right?
This is bad, if there’s no other way we must remove that,
Fuck, this seems to be since I added the wallet feature back to Bitcoin Core for FullyNoded which need it…
Since you’re trying to fast sync, I think you can just
rm -r blocksin_dataand try to run./load-utxo-set.shagain.