Post
Topic
Board Hardware
Re: Official FutureBit Apollo II/BTC Software/Image and Support thread
by
eagleye
on 29/04/2025, 16:48:31 UTC
Hi, what about this problem? I formatted the ssd three times on my new Apollo 2 to restart the process. There is a repair/recovery procedure to avoid wasting time?  Huh
This is a part of debug.log:

2025-04-29T10:02:02Z Synchronizing blockheaders, height: 894449 (~100.00%)
2025-04-29T10:02:03Z New outbound peer connected: version: 70016, blocks=894449, peer=1 (outbound-full-relay)
2025-04-29T10:02:03Z No valid UPnP IGDs found
2025-04-29T10:02:04Z UpdateTip: new best=000000000000000000161b3eb86d10c4ca7501c597f01007530c318549e1dde5 height=505892 version=0x20000000 log2_work=87.952195 tx=295081822 date='2018-01-24T14:42:57Z' progress=0.278244 cache=1.2MiB(9206txo)
2025-04-29T10:02:06Z UpdateTip: new best=00000000000000000038dd541c3c5ae0df94f6b606b4caf89f3085aec7417ae3 height=505893 version=0x20000000 log2_work=87.952241 tx=295083361 date='2018-01-24T14:49:42Z' progress=0.278246 cache=2.1MiB(16043txo)
2025-04-29T10:02:07Z UpdateTip: new best=00000000000000000079010c5b9058205c8c646e67765de3c1260be2bf06cea3 height=505894 version=0x20000000 log2_work=87.952287 tx=295085778 date='2018-01-24T15:15:59Z' progress=0.278248 cache=3.5MiB(26303txo)
2025-04-29T10:02:08Z UpdateTip: new best=00000000000000000067ed29ff5a5b8ce33c697a72b2a9db31af3e34afa77a66 height=505895 version=0x20000000 log2_work=87.952334 tx=295087877 date='2018-01-24T15:16:20Z' progress=0.278250 cache=4.6MiB(34864txo)
2025-04-29T10:02:10Z UpdateTip: new best=0000000000000000004464b8ddeda229a7d97f6cc5c7b35612c9cb153c18a270 height=505896 version=0x20000000 log2_work=87.952380 tx=295089051 date='2018-01-24T15:18:16Z' progress=0.278251 cache=5.8MiB(42202txo)
2025-04-29T10:02:11Z UpdateTip: new best=0000000000000000001a3a514a5be70a838d2feffa35338ff22e2c85254ec4fb height=505897 version=0x20000000 log2_work=87.952426 tx=295089825 date='2018-01-24T15:20:04Z' progress=0.278252 cache=6.6MiB(48369txo)
2025-04-29T10:02:11Z LevelDB read failure: Corruption: block checksum mismatch: /media/nvme/Bitcoin/chainstate/128041.ldb
2025-04-29T10:02:11Z Fatal LevelDB error: Corruption: block checksum mismatch: /media/nvme/Bitcoin/chainstate/128041.ldb
2025-04-29T10:02:11Z You can use -debug=leveldb to get more complete diagnostic messages
2025-04-29T10:02:11Z Error: Error reading from database, shutting down.
2025-04-29T10:02:11Z Error reading from database: Fatal LevelDB error: Corruption: block checksum mismatch: /media/nvme/Bitcoin/chainstate/128041.ldb

Thanks

shutdown and restart the miner.  Turn off completely then turn on.  you want to reset the system this way.  the chainstate will rebuild itself.  Just restarting the node may not clear the error.  That has been my solution.  These chainstate files are temporary and get rewritten on bitcoind restart and when bitcoind flushes the database memory.  If the error continues after several attempts then you could have a corrupt database on the nvme and you'll need to format the nvme.  It's why I have a backup nvme.  Also, when you restart the apollo bitcoind will take several minutes rewriting the chainstate.  You'll see the cpu usage running 100% or close to it as it rebuilds the chainstate and verifies the database.  If you interrupt this process by stopping the node you interrupt this process and don't fix the problem.  Use the system monitor to look at bitciond running.  You'll see cpu usage and disk read/writes  as long as thats active bitcoind is running properly.