User Tools

Site Tools


guides:farming:upgradedb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
guides:farming:upgradedb [2022/05/17 13:14] vleesbanaanguides:farming:upgradedb [2022/05/18 06:10] vleesbanaan
Line 28: Line 28:
   - Stop all chia processes   - Stop all chia processes
   - go to ''C:\Users\%USERNAME%\.chia\mainnet\db'' and delete ''blockchain_v1_mainnet.sqlite''   - go to ''C:\Users\%USERNAME%\.chia\mainnet\db'' and delete ''blockchain_v1_mainnet.sqlite''
-  - download the v2 db from a source you trust. Spacefarmers offers a daily snapshot [[guides/farming/downloaddb|here]]+  - download the v2 db from a source you trust and place it in the folder. Spacefarmers offers a daily snapshot [[guides/farming/downloaddb|here]]
   - in your your config.yaml, replace under the ''full_node:'' section from ''database_path: db/blockchain_v1_CHALLENGE.sqlite'' to ''database_path: db/blockchain_v2_CHALLENGE.sqlite''   - in your your config.yaml, replace under the ''full_node:'' section from ''database_path: db/blockchain_v1_CHALLENGE.sqlite'' to ''database_path: db/blockchain_v2_CHALLENGE.sqlite''
  
Line 38: Line 38:
   * in CLI change directory to chia ''cd c:\Users\%USERNAME%\AppData\Local\chia-blockchain\a*\resources\app.asar.unpacked\daemon\''   * in CLI change directory to chia ''cd c:\Users\%USERNAME%\AppData\Local\chia-blockchain\a*\resources\app.asar.unpacked\daemon\''
   * ''chia db upgrade''   * ''chia db upgrade''
-  * when done, ''chia start all'' and wait for it to sync+  * in your your config.yaml, replace under the ''full_node:'' section from ''database_path: db/blockchain_v1_CHALLENGE.sqlite'' to ''database_path: db/blockchain_v2_CHALLENGE.sqlite'' 
 +  * when done, ''chia start farmer -r'' and wait for it to sync
  
 === Error when TMP folder full === === Error when TMP folder full ===
guides/farming/upgradedb.txt · Last modified: 2022/06/21 08:09 by vleesbanaan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki