Raspiblitz - "Blockchain Progress: XX restarts"

Hallo liebe Leute! Ich brauche bitte eure Hilfe!

wollte heute ein Update von 1.11.0 (Fatpack) auf 1.11.1 (minimal) machen. Leider gehts bei der Blockchainsyncronisation nicht mehr weiter - bei „Blockchain Progress“ seht immer nur „XX restarts“. Normalerweise sollte doch da eine % Anzeige kommen, oder?

Schon folgendes versucht:

  • 1.11.1 minimal - neu geflasht
  • 1.11.1 fatpack - neu geflasht
  • 1.11.0 fatpack - neu geflasht
    auf 2 verschiedenen SD-Karten versucht.

Hier das DebugLog: https://termbin.com/e0wx

Was kann ich machen? (hab einige Sats in ca. 4-5 Channels)

da kommt eine Fehlermeldung:
admin@192.168.0.242:~ sudo systemctl restart bitcoind

**Job for bitcoind.service failed because the control process exited with error code.**
**See "systemctl status bitcoind.service" and "journalctl -xeu bitcoind.service" for details.**

Verheimliche uns doch bitte nicht die Fehlermeldungen :slight_smile:

:grin: - alles klar - hab leider nur Linux Grundkenntisse…

● bitcoind.service - Bitcoin daemon on mainnet
     Loaded: loaded (/etc/systemd/system/bitcoind.service; enabled; preset: enabled)
     Active: activating (start) since Wed 2024-08-14 21:08:42 BST; 4s ago
    Process: 84385 ExecStartPre=/home/admin/config.scripts/bitcoin.check.sh prestart mainnet (code=exited, status=0/SUCCESS)
  Cntrl PID: 84409 (bitcoind)
      Tasks: 13 (limit: 9276)
        CPU: 4.362s
     CGroup: /system.slice/bitcoind.service
             ├─84409 /usr/local/bin/bitcoind -daemonwait -conf=/mnt/hdd/bitcoin/bitcoin.conf -datadir=/mnt/hdd/bitcoin
             └─84437 /usr/local/bin/bitcoind -daemonwait -conf=/mnt/hdd/bitcoin/bitcoin.conf -datadir=/mnt/hdd/bitcoin

bei: journalctl -xeu bitcoind.service steht am ende von vielen „~“ nur „-- No entries --“

Da steht mal so gar nichts. Auffällig ist, dass der Prozess erst seit 4 Sekunden läuft. Hast du den selbst neu gestartet oder ist er vielleicht in einer Crash-Schleife? Aber auch dann sollte irgendwas im Log stehen…

Bitcoind ist in Dauerschleife, allerdings zeigt das Log nichts Auffälliges an oder die Logs gehen nicht weit genug zurück. Versuche mal mehr Zeilen auszugeben:

sudo tail -n 200 /mnt/hdd/bitcoin/debug.log

hier die Ausgabe
2024-08-15T05:13:42Z Config file arg: i2psam="127.0.0.1:7656"

2024-08-15T05:13:42Z Config file arg: maxconnections="40"

2024-08-15T05:13:42Z Config file arg: maxmempool="300"

2024-08-15T05:13:42Z Config file arg: maxorphantx="10"

2024-08-15T05:13:42Z Config file arg: maxuploadtarget="5000"

2024-08-15T05:13:42Z Config file arg: onlynet="onion"

2024-08-15T05:13:42Z Config file arg: onlynet="i2p"

2024-08-15T05:13:42Z Config file arg: peerbloomfilters="1"

2024-08-15T05:13:42Z Config file arg: proxy="127.0.0.1:9050"

2024-08-15T05:13:42Z Config file arg: rpcallowip="127.0.0.1"

2024-08-15T05:13:42Z Config file arg: rpcpassword=****

2024-08-15T05:13:42Z Config file arg: rpcuser=****

2024-08-15T05:13:42Z Config file arg: server="1"

2024-08-15T05:13:42Z Config file arg: shrinkdebugfile="1"

2024-08-15T05:13:42Z Config file arg: testnet="0"

2024-08-15T05:13:42Z Config file arg: txindex="0"

2024-08-15T05:13:42Z Config file arg: upnp="0"

2024-08-15T05:13:42Z Config file arg: whitelist="127.0.0.1"

2024-08-15T05:13:42Z Config file arg: [main] bind="127.0.0.1"

2024-08-15T05:13:42Z Config file arg: [main] debuglogfile="/mnt/hdd/bitcoin/debug.log"

2024-08-15T05:13:42Z Config file arg: [main] rpcbind="127.0.0.1:8332"

2024-08-15T05:13:42Z Config file arg: [main] rpcport="8332"

2024-08-15T05:13:42Z Config file arg: [main] wallet="wallet.dat"

2024-08-15T05:13:42Z Config file arg: [main] zmqpubrawblock="tcp://127.0.0.1:28332"

2024-08-15T05:13:42Z Config file arg: [main] zmqpubrawtx="tcp://127.0.0.1:28333"

2024-08-15T05:13:42Z Config file arg: [test] bind="127.0.0.1"

2024-08-15T05:13:42Z Config file arg: [test] rpcbind="127.0.0.1:18332"

2024-08-15T05:13:42Z Config file arg: [test] rpcport="18332"

2024-08-15T05:13:42Z Command-line arg: conf="/mnt/hdd/bitcoin/bitcoin.conf"

2024-08-15T05:13:42Z Command-line arg: daemonwait=""

2024-08-15T05:13:42Z Command-line arg: datadir="/mnt/hdd/bitcoin"

2024-08-15T05:13:42Z Using at most 40 automatic connections (1024 file descriptors available)

2024-08-15T05:13:42Z Using 16 MiB out of 16 MiB requested for signature cache, able to store 524288 elements

2024-08-15T05:13:42Z Using 16 MiB out of 16 MiB requested for script execution cache, able to store 524288 elements

2024-08-15T05:13:42Z Script verification uses 3 additional threads

2024-08-15T05:13:42Z scheduler thread start

2024-08-15T05:13:42Z Binding RPC on address 127.0.0.1 port 8332

2024-08-15T05:13:42Z [http] creating work queue of depth 16

2024-08-15T05:13:42Z 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.

2024-08-15T05:13:42Z [http] starting 4 worker threads

2024-08-15T05:13:42Z Using wallet directory /mnt/hdd/bitcoin

2024-08-15T05:13:42Z init message: Verifying wallet(s)…

2024-08-15T05:13:42Z Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010)

2024-08-15T05:13:42Z Using wallet /mnt/hdd/bitcoin/wallet.dat/wallet.dat

2024-08-15T05:13:42Z BerkeleyEnvironment::Open: LogDir=/mnt/hdd/bitcoin/wallet.dat/database ErrorFile=/mnt/hdd/bitcoin/wallet.dat/db.log

2024-08-15T05:13:42Z Using /16 prefix for IP bucketing

2024-08-15T05:13:42Z init message: Loading P2P addresses…

2024-08-15T05:13:42Z Loaded 0 addresses from peers.dat 0ms

2024-08-15T05:13:42Z init message: Loading banlist…

2024-08-15T05:13:42Z SetNetworkActive: true

2024-08-15T05:13:42Z Cache configuration:

2024-08-15T05:13:42Z * Using 2.0 MiB for block index database

2024-08-15T05:13:42Z * Using 8.0 MiB for chain state database

2024-08-15T05:13:42Z * Using 502.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)

2024-08-15T05:13:42Z init message: Loading block index…

2024-08-15T05:13:42Z Assuming ancestors of block 00000000000000000001a0a448d6cf2546b06801389cc030b2b18c6491266815 have valid signatures.

2024-08-15T05:13:42Z Setting nMinimumChainWork=000000000000000000000000000000000000000052b2559353df4117b7348b64

2024-08-15T05:13:42Z Opening LevelDB in /mnt/hdd/bitcoin/blocks/index

2024-08-15T05:13:42Z Opened LevelDB successfully

2024-08-15T05:13:42Z Using obfuscation key for /mnt/hdd/bitcoin/blocks/index: 0000000000000000

2024-08-15T05:13:54Z LoadBlockIndexDB: last block file = 4442

2024-08-15T05:13:54Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=58, size=94540969, heights=856693...856750, time=2024-08-14...2024-08-14)

2024-08-15T05:13:54Z Checking all blk files are present...

2024-08-15T05:13:57Z Initializing chainstate Chainstate [ibd] @ height -1 (null)

2024-08-15T05:13:57Z Opening LevelDB in /mnt/hdd/bitcoin/chainstate

2024-08-15T05:13:57Z Opened LevelDB successfully

2024-08-15T05:13:57Z Using obfuscation key for /mnt/hdd/bitcoin/chainstate: 69e53d32e39cbe2a

2024-08-15T05:13:58Z Loaded best chain: hashBestChain=00000000000000000001d453456bcfc00dd8bd1f2a3e327e8fb421378e6446e6 height=856750 date=2024-08-14T14:17:30Z progress=0.999720

2024-08-15T05:13:58Z Opening LevelDB in /mnt/hdd/bitcoin/chainstate

2024-08-15T05:13:58Z Opened LevelDB successfully

2024-08-15T05:13:58Z Using obfuscation key for /mnt/hdd/bitcoin/chainstate: 69e53d32e39cbe2a

2024-08-15T05:13:58Z [Chainstate [ibd] @ height 856750 (00000000000000000001d453456bcfc00dd8bd1f2a3e327e8fb421378e6446e6)] resized coinsdb cache to 8.0 MiB

2024-08-15T05:13:58Z [Chainstate [ibd] @ height 856750 (00000000000000000001d453456bcfc00dd8bd1f2a3e327e8fb421378e6446e6)] resized coinstip cache to 502.0 MiB

2024-08-15T05:13:58Z init message: Verifying blocks…

2024-08-15T05:13:58Z Verifying last 6 blocks at level 3

2024-08-15T05:13:58Z Verification progress: 0%

2024-08-15T05:13:58Z LevelDB read failure: Corruption: not an sstable (bad magic number)

2024-08-15T05:13:58Z Fatal LevelDB error: Corruption: not an sstable (bad magic number)

2024-08-15T05:13:58Z You can use -debug=leveldb to get more complete diagnostic messages

2024-08-15T05:13:58Z Fatal LevelDB error: Corruption: not an sstable (bad magic number)

2024-08-15T05:13:58Z : Error opening block database.

Please restart with -reindex or -reindex-chainstate to recover.

2024-08-15T05:13:58Z Aborted block database rebuild. Exiting.

2024-08-15T05:13:58Z Shutdown: In progress...

2024-08-15T05:13:58Z scheduler thread exit

2024-08-15T05:13:58Z Flushed fee estimates to fee_estimates.dat.

2024-08-15T05:13:59Z Shutdown: done

2024-08-15T05:13:59Z Bitcoin Core version v26.0.0 (release build)

2024-08-15T05:13:59Z InitParameterInteraction: parameter interaction: -bind set -> setting -listen=1

2024-08-15T05:13:59Z InitParameterInteraction: parameter interaction: -proxy set -> setting -natpmp=0

2024-08-15T05:13:59Z InitParameterInteraction: parameter interaction: -proxy set -> setting -discover=0

2024-08-15T05:13:59Z Using the 'standard' SHA256 implementation

2024-08-15T05:13:59Z Default data directory /home/bitcoin/.bitcoin

2024-08-15T05:13:59Z Using data directory /mnt/hdd/bitcoin

2024-08-15T05:13:59Z Config file: /mnt/hdd/bitcoin/bitcoin.conf

2024-08-15T05:13:59Z Config file arg: daemon="1"

2024-08-15T05:13:59Z Config file arg: datadir="/mnt/hdd/bitcoin"

2024-08-15T05:13:59Z Config file arg: dbcache="512"

2024-08-15T05:13:59Z Config file arg: debug="tor"

2024-08-15T05:13:59Z Config file arg: debug="tor"

2024-08-15T05:13:59Z Config file arg: debug="tor"

2024-08-15T05:13:59Z Config file arg: debug="tor"

2024-08-15T05:13:59Z Config file arg: debug="tor"

2024-08-15T05:13:59Z Config file arg: debug="i2p"

2024-08-15T05:13:59Z Config file arg: deprecatedrpc="addresses"

2024-08-15T05:13:59Z Config file arg: disablewallet="0"

2024-08-15T05:13:59Z Config file arg: dns="0"

2024-08-15T05:13:59Z Config file arg: dnsseed="0"

2024-08-15T05:13:59Z Config file arg: i2pacceptincoming="1"

2024-08-15T05:13:59Z Config file arg: i2psam="127.0.0.1:7656"

2024-08-15T05:13:59Z Config file arg: maxconnections="40"

2024-08-15T05:13:59Z Config file arg: maxmempool="300"

2024-08-15T05:13:59Z Config file arg: maxorphantx="10"

2024-08-15T05:13:59Z Config file arg: maxuploadtarget="5000"

2024-08-15T05:13:59Z Config file arg: onlynet="onion"

2024-08-15T05:13:59Z Config file arg: onlynet="i2p"

2024-08-15T05:13:59Z Config file arg: peerbloomfilters="1"

2024-08-15T05:13:59Z Config file arg: proxy="127.0.0.1:9050"

2024-08-15T05:13:59Z Config file arg: rpcallowip="127.0.0.1"

2024-08-15T05:13:59Z Config file arg: rpcpassword=****

2024-08-15T05:13:59Z Config file arg: rpcuser=****

2024-08-15T05:13:59Z Config file arg: server="1"

2024-08-15T05:13:59Z Config file arg: shrinkdebugfile="1"

2024-08-15T05:13:59Z Config file arg: testnet="0"

2024-08-15T05:13:59Z Config file arg: txindex="0"

2024-08-15T05:13:59Z Config file arg: upnp="0"

2024-08-15T05:13:59Z Config file arg: whitelist="127.0.0.1"

2024-08-15T05:13:59Z Config file arg: [main] bind="127.0.0.1"

2024-08-15T05:13:59Z Config file arg: [main] debuglogfile="/mnt/hdd/bitcoin/debug.log"

2024-08-15T05:13:59Z Config file arg: [main] rpcbind="127.0.0.1:8332"

2024-08-15T05:13:59Z Config file arg: [main] rpcport="8332"

2024-08-15T05:13:59Z Config file arg: [main] wallet="wallet.dat"

2024-08-15T05:13:59Z Config file arg: [main] zmqpubrawblock="tcp://127.0.0.1:28332"

2024-08-15T05:13:59Z Config file arg: [main] zmqpubrawtx="tcp://127.0.0.1:28333"

2024-08-15T05:13:59Z Config file arg: [test] bind="127.0.0.1"

2024-08-15T05:13:59Z Config file arg: [test] rpcbind="127.0.0.1:18332"

2024-08-15T05:13:59Z Config file arg: [test] rpcport="18332"

2024-08-15T05:13:59Z Command-line arg: conf="/mnt/hdd/bitcoin/bitcoin.conf"

2024-08-15T05:13:59Z Command-line arg: daemonwait=""

2024-08-15T05:13:59Z Command-line arg: datadir="/mnt/hdd/bitcoin"

2024-08-15T05:13:59Z Using at most 40 automatic connections (1024 file descriptors available)

2024-08-15T05:13:59Z Using 16 MiB out of 16 MiB requested for signature cache, able to store 524288 elements

2024-08-15T05:13:59Z Using 16 MiB out of 16 MiB requested for script execution cache, able to store 524288 elements

2024-08-15T05:13:59Z Script verification uses 3 additional threads

2024-08-15T05:13:59Z scheduler thread start

2024-08-15T05:13:59Z Binding RPC on address 127.0.0.1 port 8332

2024-08-15T05:13:59Z [http] creating work queue of depth 16

2024-08-15T05:13:59Z 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.

2024-08-15T05:13:59Z [http] starting 4 worker threads

2024-08-15T05:13:59Z Using wallet directory /mnt/hdd/bitcoin

2024-08-15T05:13:59Z init message: Verifying wallet(s)…

2024-08-15T05:13:59Z Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010)

2024-08-15T05:13:59Z Using wallet /mnt/hdd/bitcoin/wallet.dat/wallet.dat

2024-08-15T05:13:59Z BerkeleyEnvironment::Open: LogDir=/mnt/hdd/bitcoin/wallet.dat/database ErrorFile=/mnt/hdd/bitcoin/wallet.dat/db.log

2024-08-15T05:14:00Z Using /16 prefix for IP bucketing

2024-08-15T05:14:00Z init message: Loading P2P addresses…

2024-08-15T05:14:00Z Loaded 0 addresses from peers.dat 0ms

2024-08-15T05:14:00Z init message: Loading banlist…

2024-08-15T05:14:00Z SetNetworkActive: true

2024-08-15T05:14:00Z Cache configuration:

2024-08-15T05:14:00Z * Using 2.0 MiB for block index database

2024-08-15T05:14:00Z * Using 8.0 MiB for chain state database

2024-08-15T05:14:00Z * Using 502.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)

2024-08-15T05:14:00Z init message: Loading block index…

2024-08-15T05:14:00Z Assuming ancestors of block 00000000000000000001a0a448d6cf2546b06801389cc030b2b18c6491266815 have valid signatures.

2024-08-15T05:14:00Z Setting nMinimumChainWork=000000000000000000000000000000000000000052b2559353df4117b7348b64

2024-08-15T05:14:00Z Opening LevelDB in /mnt/hdd/bitcoin/blocks/index

2024-08-15T05:14:00Z Opened LevelDB successfully

2024-08-15T05:14:00Z Using obfuscation key for /mnt/hdd/bitcoin/blocks/index: 0000000000000000

2024-08-15T05:14:11Z LoadBlockIndexDB: last block file = 4442

2024-08-15T05:14:11Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=58, size=94540969, heights=856693...856750, time=2024-08-14...2024-08-14)

2024-08-15T05:14:11Z Checking all blk files are present...

2024-08-15T05:14:15Z Initializing chainstate Chainstate [ibd] @ height -1 (null)

2024-08-15T05:14:15Z Opening LevelDB in /mnt/hdd/bitcoin/chainstate

2024-08-15T05:14:15Z Opened LevelDB successfully

2024-08-15T05:14:15Z Using obfuscation key for /mnt/hdd/bitcoin/chainstate: 69e53d32e39cbe2a

2024-08-15T05:14:15Z Loaded best chain: hashBestChain=00000000000000000001d453456bcfc00dd8bd1f2a3e327e8fb421378e6446e6 height=856750 date=2024-08-14T14:17:30Z progress=0.999720

2024-08-15T05:14:15Z Opening LevelDB in /mnt/hdd/bitcoin/chainstate

2024-08-15T05:14:15Z Opened LevelDB successfully

2024-08-15T05:14:15Z Using obfuscation key for /mnt/hdd/bitcoin/chainstate: 69e53d32e39cbe2a

2024-08-15T05:14:15Z [Chainstate [ibd] @ height 856750 (00000000000000000001d453456bcfc00dd8bd1f2a3e327e8fb421378e6446e6)] resized coinsdb cache to 8.0 MiB

2024-08-15T05:14:15Z [Chainstate [ibd] @ height 856750 (00000000000000000001d453456bcfc00dd8bd1f2a3e327e8fb421378e6446e6)] resized coinstip cache to 502.0 MiB

2024-08-15T05:14:15Z init message: Verifying blocks…

2024-08-15T05:14:15Z Verifying last 6 blocks at level 3

2024-08-15T05:14:15Z Verification progress: 0%

2024-08-15T05:14:16Z LevelDB read failure: Corruption: not an sstable (bad magic number)

2024-08-15T05:14:16Z Fatal LevelDB error: Corruption: not an sstable (bad magic number)

2024-08-15T05:14:16Z You can use -debug=leveldb to get more complete diagnostic messages

2024-08-15T05:14:16Z Fatal LevelDB error: Corruption: not an sstable (bad magic number)

2024-08-15T05:14:16Z : Error opening block database.

Please restart with -reindex or -reindex-chainstate to recover.

2024-08-15T05:14:16Z Aborted block database rebuild. Exiting.

2024-08-15T05:14:16Z Shutdown: In progress...

2024-08-15T05:14:16Z scheduler thread exit

2024-08-15T05:14:16Z Flushed fee estimates to fee_estimates.dat.

Ich bin auch bereit alles neu einzurichten. Wie geh ich da am besten vor?
ich habe:

  • das „rescuefile“
  • das SCB
  • und den Seed

Cool wär wenn ich die Blockchain behalten könnte, aber uU. liegt ja da der Fehler?

2024-08-15T05:13:58Z Fatal LevelDB error: Corruption: not an sstable (bad magic number)

Da ist der Fehler. Die Blockchaindaten sind defekt. RaspiBlitz sollte einen Menüeintrag „Reindex“ dafür haben. Die Blockchain wird anschließend von Beginn an neu heruntergeladen und verifiziert, was eine gute Zeit lang dauern kann.

Super, danke! Ich hab jetzt mal „Reindex-UTXO“ genommen. Ich hoff damit klappts schon…

1 „Gefällt mir“

Er sagt einem.ja schon, was man versuchen soll.

Please restart with -reindex or -reindex-chainstate to recover.