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

[Bug] Full Node does not load, stuck on Starting Services from 2.1.1 + #18133

Closed mstfmzr closed 3 months ago

mstfmzr commented 4 months ago

What happened?

software stuck in opening in "full node" and do not open in. this happen from version 2.1.1 onwards for me

Version

2.3.1

What platform are you using?

Windows

What ui mode are you using?

GUI

Relevant log output

box-sizing: inherit;
BrandtH22 commented 4 months ago

Hey @mstfmzr , this is generally related to 1 of 2 things. Either your system needs to have its blockchain database updated from v1 to v2 or your system has more than 61 cores and needs another config setting to be updated.

NOTE - make sure to fully stop chia before making any changes to the needed files.

To verify if the blockchain db needs to be updated navigate to ~/.chia/mainnet/db/ and look at the .sqlite file, if it has V1 in the title then we need to update and you can proceed with the steps outlined here: https://docs.chia.net/faq/#how-do-i-upgrade-my-version-1-blockchain-database-to-version-2

If this is not the case then I would look at your log file located at ~/.chia/mainnet/log/debug.log for a line that indicates ValueError: max_workers must be <= 61 . If this line is present then you will need to navigate to the config file at ~/.chia/mainnet/config/config.yaml and in the full_node section update the parameter reserved_cores to 10.

If neither of these are the issue let us know and we can further debug.

As a heads up we can generally provide more timely and thorough support in our discord server (https://discord.gg/chia)

emlowe commented 3 months ago

Closing - you may add new comments and reopen with additional details as needed