My Umbrel has been out for over a week now. First the update deleted the SSD, now everything is new and now it stops when the blockchain backup is imported.
What is the command to get to the container and recover BTC individually with “-reindex”?
-03-26T22:28:22Z Fatal LevelDB error: Corruption: CURRENT points to a non-existent file: NotFound: /data/.bitcoin/blocks/index/MANIFEST-001899: No such file or directory
bitcoin_bitcoind_1 | 2024-03-26T22:28:22Z You can use -debug=leveldb to get more complete diagnostic messages
bitcoin_bitcoind_1 | : Error opening block database.
bitcoin_bitcoind_1 | 2024-03-26T22:28:22Z Fatal LevelDB error: Corruption: CURRENT points to a non-existent file: NotFound: /data/.bitcoin/blocks/index/MANIFEST-001899: No such file or directory
bitcoin_bitcoind_1 | 2024-03-26T22:28:22Z : Error opening block database.
bitcoin_bitcoind_1 | Please restart with -reindex or -reindex-chainstate to recover.
bitcoin_bitcoind_1 | 2024-03-26T22:28:22Z Aborted block database rebuild. Exiting.
bitcoin_bitcoind_1 | Please restart with -reindex or -reindex-chainstate to recover.
bitcoin_bitcoind_1 | 2024-03-26T22:28:22Z Shutdown: In progress…
bitcoin_bitcoind_1 | 2024-03-26T22:28:22Z scheduler thread exit
bitcoin_bitcoind_1 | 2024-03-26T22:28:22Z Flushed fee estimates to fee_estimates.dat.
bitcoin_bitcoind_1 | 2024-03-26T22:28:22Z Shutdown: done
To reindex block umbrel, you can follow these steps:
Stop the Umbrel service to prevent any further writes to the database.
Copy only the blocks and chainstate files from your full node to the Umbrel node. Do not copy the indexes, as this can cause conflicts.
Run the command bitcoind --reindex to start the reindexing process. This will rebuild the block index and recreate the chainstate.
Alternatively, if you suspect corruption of the chainstate only, you can use the command bitcoind --reindex-chainstate instead. This will recreate the chainstate without rebuilding the block index.
Note that running bitcoind --reindex on a pruned node will delete all blockchain data and start from scratch, so use this option with caution.
Then restart bitcoin core app (right click → restart)
After it restarts (and starts reindexing) open the file again and make sure that line is no longer present, so the next restart in the future it won’t redo the whole thing.
The process should take between a few days to a couple of weeks, depending if using SSD.
Thank you. It started the reindexing. Will take a 2 or 3 days. I thought I was smart at pruning the db…… I did not know that electro did not work on pruned data.