Closed Sakuya-CN closed 8 months ago
Delete the snapshot blockchain_v2_mainnet.sqlite file and restart the chia-gui program. Everything starts normally and the program is automatically generated. blockchain_v2_mainnet.sqlite blockchain_v2_mainnet.sqlite-shm blockchain_v2_mainnet.sqlite-wal It’s just that the block height has changed to 0. This will waste too much time for me. I don’t understand why the blockchain_v2_mainnet.sqlite file of the snapshot cannot be used normally.
You need to stop chia, reboot.
delete all these files
blockchain_v2_mainnet.sqlite blockchain_v2_mainnet.sqlite-shm blockchain_v2_mainnet.sqlite-wal
Now get the torrent and put it in that folder. Restart chia.
If you see this in the log, try the above again
sqlite3.DatabaseError: database disk image is malformed
It means the database file is not OK.
What happened?
When I changed from version below 2.0 to version above 2.0, I was prompted that the database needed to be upgraded to V2, but my upgrade failed, causing the block data to be damaged. I tried to download the torrent snapshot and restart the gui program of version 2.1.4. Always stuck in full node, it seems that block snapshot cannot be used
Version
2.1.4
What platform are you using?
Windows
What ui mode are you using?
GUI
Relevant log output