Chia-Network / chia-blockchain

Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Apache License 2.0
10.82k stars 2.03k forks source link

Upgraded main node to 1.3.0 - DB still to large and cannot join pool[Bug] #10667

Closed mrxzius closed 2 years ago

mrxzius commented 2 years ago

What happened?

I upgraded my main node to 1.3 ( took 36 hs or less...) but i found some issues: 1) DB file is at the same size as 1.2.11 ( 73 GB aprox) - I upgraded on another machine and DB is 40GB 2) cant seem to connect to pool... even when i try to connect, its stays pending ( for a long time)

image

Version

1.3.0

What platform are you using?

Windows

What ui mode are you using?

GUI

Relevant log output

No response

lincolnthalles commented 2 years ago

Are you trying to change pools? This is probably related to this github issue , which is already being adressed. It is related to config.yaml writing issues. Close Chia, delete files within %USERPROFILE%\.chia\mainnet\wallet\db and try this build (download Windows-Installers artifact): https://github.com/Chia-Network/chia-blockchain/actions/runs/1966443423

The command chia db upgrade doesn't delete any files by itself. To free up to 70GB, go to %USERPROFILE%\.chia\mainnet\db and check if the file blockchain_v2_mainnet.sqlite is there. If it is, you may delete blockchain_v1_mainnet.sqlite. If the v2 blockchain file isn't there, it means your upgrade failed. You may run chia db upgrade again or copy the v2 blockchain from your other node that is running fine. Note that if you copy the v2 blockchain manually, you need to edit config.yaml and replace db/blockchain_v1_CHALLENGE.sqlite with db/blockchain_v2_CHALLENGE.sqlite on full_node.database_path, otherwise it will start syncing the v1 blockchain again. When everything is synced, it should work as expected.

mrxzius commented 2 years ago

I downgraded to V 1.2.11 and it appears to have the wallet stuck at syncing.... will try to do later the instructions you proposed...

image

image image

image apparently pool seems to be working... but not the wallet...

github-actions[bot] commented 2 years ago

This issue has not been updated in 14 days and is now flagged as stale. If this issue is still affecting you and in need of further review, please comment on it with an update to keep it from auto closing in 7 days.

github-actions[bot] commented 2 years ago

This issue was automatically closed because it has been flagged as stale, and subsequently passed 7 days with no further activity from the submitter or watchers.