Knots is looping in running-erroring-restarting

Please can somebody tell me what to do? Knots (and also all the other programs are starting, running, erroring in a loop)

Here is the loop of the log info on Knots:

2025-06-25T08:28:01Z Shutdown: done
2025-06-25T10:28:17+02:00 Error updating blockchain info: error: timeout on transient error: Could not connect to the server 127.0.0.1:8332
2025-06-25T10:28:17+02:00
2025-06-25T10:28:17+02:00 Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
2025-06-25T10:28:17+02:00 Use “bitcoin-cli -help” for more info.
2025-06-25T10:28:17+02:00
2025-06-25T10:28:17+02:00 Error updating network info: error: timeout on transient error: Could not connect to the server 127.0.0.1:8332
2025-06-25T10:28:17+02:00
2025-06-25T10:28:17+02:00 Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
2025-06-25T10:28:17+02:00 Use “bitcoin-cli -help” for more info.
2025-06-25T10:28:17+02:00
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Bitcoin Knots version v28.1.0 (release build)
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z parameter interaction: -externalip set → setting -discover=0
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z ParameterInteraction: parameter interaction: -walletimplicitsegwit=0 → setting -addresstype=legacy
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Script verification uses 15 additional threads
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Using the ‘sse4(1way)’ SHA256 implementation
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Feeding 37211 bytes of environment data into RNG
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Using RdSeed as an additional entropy source
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Using RdRand as an additional entropy source
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Default data directory /root/.bitcoin
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Using data directory /root/.bitcoin
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file: /root/.bitcoin/bitcoin.conf
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z R/W Config file: /root/.bitcoin/bitcoin_rw.conf (not found, skipping)
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: acceptnonstddatacarrier=“0”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: avoidpartialspends=“1”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: bind=“0.0.0.0:8333”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: blockfilterindex=“basic”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: blockmaxsize=“3985000”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: blockmaxweight=“3985000”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: blocknotify=“curl -s -m5 http://datum.embassy:7152/NOTIFY
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: bytespersigop=“20”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: bytespersigopstrict=“20”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: datacarrier=“1”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: datacarriercost=“2”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: datacarriersize=“42”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: deprecatedrpc=“create_bdb”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: disablewallet=“0”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: discardfee=“0.0001”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: dustrelayfee=“0.00003”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: limitancestorcount=“25”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: limitancestorsize=“101”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: limitdescendantcount=“25”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: limitdescendantsize=“101”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: listen=“1”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: maxmempool=“300”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: maxscriptsize=“1650”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: mempoolexpiry=“336”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: mempoolfullrbf=“1”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: minrelaytxfee=“0.00001”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: permitbaremultisig=“0”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: permitbarepubkey=“0”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: persistmempool=“1”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: rejectparasites=“1”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: rejecttokens=“1”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: rpcallowip=“0.0.0.0/0”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: rpcbind=“0.0.0.0:8332”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: rpcpassword=****
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: rpcservertimeout=“30”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: rpcthreads=“16”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: rpcuser=****
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: rpcworkqueue=“128”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: txindex=“1”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: v2transport=“1”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: whitelist=“172.18.0.0/16”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: zmqpubhashblock=“tcp://0.0.0.0:28332”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: zmqpubhashtx=“tcp://0.0.0.0:28333”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: zmqpubrawblock=“tcp://0.0.0.0:28332”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: zmqpubrawtx=“tcp://0.0.0.0:28333”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config file arg: zmqpubsequence=“tcp://0.0.0.0:28333”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Command-line arg: conf=“/root/.bitcoin/bitcoin.conf”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Command-line arg: datadir=“/root/.bitcoin”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Command-line arg: deprecatedrpc=“warnings”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Command-line arg: externalip=“lizsra5zhxuxdpxectezh47akwwfpqqm6izow5fl2lc6fdplwuorthid.onion
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Command-line arg: onion=“172.18.0.1:9050”
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Using at most 125 automatic connections (1048576 file descriptors available)
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z scheduler thread start
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Binding RPC on address 0.0.0.0 port 8332
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z WARNING: the RPC server is not safe to expose to untrusted networks such as the public internet
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcauth for rpcauth auth generation.
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Starting HTTP server with 16 worker threads
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Using wallet directory /root/.bitcoin
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z init message: Verifying wallet(s)…
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Using /16 prefix for IP bucketing
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z init message: Loading P2P addresses…
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Loaded 68292 addresses from peers.dat 193ms
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z init message: Loading banlist…
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z SetNetworkActive: true
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z AddLocal(lizsra5zhxuxdpxectezh47akwwfpqqm6izow5fl2lc6fdplwuorthid.onion:8333,4)
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Script verification uses 15 additional threads
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Cache configuration:
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z * Using 2.0 MiB for block index database
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z * Using 56.0 MiB for transaction index database
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z * Using 49.0 MiB for basic block filter index database
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z * Using 8.0 MiB for chain state database
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z * Flushing caches if available system memory drops below 10 MiB
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z * Using 335.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Using obfuscation key for blocksdir *.dat files (/root/.bitcoin/blocks): ‘9adee7afe9a0167b’
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Using 16 MiB out of 16 MiB requested for signature cache, able to store 524288 elements
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Using 16 MiB out of 16 MiB requested for script execution cache, able to store 524288 elements
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z init message: Loading block index…
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Assuming ancestors of block 000000000000000000006e926737e6a349f7581525ad36e743dfe5f4bc3abbb7 have valid signatures.
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Setting nMinimumChainWork=0000000000000000000000000000000000000000b08ea5865bede3101629fa0e
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Opening LevelDB in /root/.bitcoin/blocks/index
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Opened LevelDB successfully
2025-06-25T10:28:17+02:00 2025-06-25T08:28:17Z Using obfuscation key for /root/.bitcoin/blocks/index: 0000000000000000
2025-06-25T10:28:21+02:00 2025-06-25T08:28:21Z LoadBlockIndexDB: last block file = 4998
2025-06-25T10:28:21+02:00 2025-06-25T08:28:21Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=81, size=120060404, heights=902447…902527, time=2025-06-23…2025-06-24)
2025-06-25T10:28:21+02:00 2025-06-25T08:28:21Z Checking all blk files are present…
2025-06-25T10:28:21+02:00 2025-06-25T08:28:21Z Initializing chainstate Chainstate [ibd] @ height -1 (null)
2025-06-25T10:28:21+02:00 2025-06-25T08:28:21Z Opening LevelDB in /root/.bitcoin/chainstate
2025-06-25T10:28:21+02:00 2025-06-25T08:28:21Z Opened LevelDB successfully
2025-06-25T10:28:21+02:00 2025-06-25T08:28:21Z Using obfuscation key for /root/.bitcoin/chainstate: 1033cbf22294293f
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Loaded best chain: hashBestChain=00000000000000000000b7036470be554afa3e9eb67a954866df2eb6c7aef260 height=901561 date=2025-06-16T21:30:26Z progress=0.995934
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z init message: Verifying blocks…
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Verifying last 6 blocks at level 3
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Verification progress: 0%
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Verification progress: 16%
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Verification progress: 33%
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Verification progress: 50%
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Verification progress: 66%
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Verification progress: 83%
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Verification progress: 99%
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Verification: No coin database inconsistencies in last 6 blocks (14720 transactions)
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z block index 4795ms
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Opening LevelDB in /root/.bitcoin/indexes/txindex
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Opened LevelDB successfully
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Using obfuscation key for /root/.bitcoin/indexes/txindex: 0000000000000000
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Opening LevelDB in /root/.bitcoin/indexes/blockfilter/basic/db
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Opened LevelDB successfully
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Using obfuscation key for /root/.bitcoin/indexes/blockfilter/basic/db: 0000000000000000
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z [error] basic block filter index: best block of the index not found. Please rebuild the index.
2025-06-25T10:28:22+02:00 Error: basic block filter index: best block of the index not found. Please rebuild the index.
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Shutdown: In progress…
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z scheduler thread exit
2025-06-25T10:28:22+02:00 2025-06-25T08:28:22Z Flushed fee estimates to fee_estimates.dat.
2025-06-25T10:28:23+02:00 2025-06-25T08:28:23Z Shutdown: done

Everything worked perfect after starting this journy with Start9 and my Bitaxe (lottery-miner), didn’t do anything.
What to do? thnx

I think 2 main issus here:
1)

and 2)

But maybe one causes the other ?? don’t know
I somebody could help I realy appriciate, thnx

Start9 and Knots are now working on Reindexing the blockchain. Hope this solves it

1 Like

Re-indexing has completed this morning. Everything seems to work again.

Hope the re-indexings solves it. Why does this happen?
I’m still little bit confused…

It often happens when people lose power in the middle of writing a block. It’s not uncommon for some people to restart their server by just pulling the power, others will have a situation where there is power loss for some reason that goes unnoticed that does the same. It’s never a bad idea to have the server connected to a UPS. And if you worry the server lost power while you were out, asleep, on vacation etc, you can go to System → Monitor to see when the uptime is and if that looks off.

1 Like

Was the fix here to reindex the blockchain? I’m running into the same issue