guides:farming:upgradedb
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
guides:farming:upgradedb [2022/05/17 13:08] – [Download and replace] vleesbanaan | guides:farming:upgradedb [2022/06/21 08:09] (current) – vleesbanaan | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== How to Upgrade the Chia db ===== | ===== How to Upgrade the Chia db ===== | ||
- | Upgrading the Chia db from v1 to v2 The process of upgrading the Chia db CAN be a very simple process. | + | Upgrading the Chia db from v1 to v2 CAN be a very simple process. |
However, the reason you are reading this guide is most probably because you want to learn how to upgrade AFTER your drive is full and you don't want to sync from scratch. | However, the reason you are reading this guide is most probably because you want to learn how to upgrade AFTER your drive is full and you don't want to sync from scratch. | ||
Line 8: | Line 8: | ||
- Download v2 from a trusted source and replace v1 | - Download v2 from a trusted source and replace v1 | ||
- Using an external SSD | - Using an external SSD | ||
+ | - Using the SpaceFarmer Community Node | ||
- | ==== Updating the easy way ==== | + | ==== 1. Updating the easy way ==== |
* in CLI change directory to chia '' | * in CLI change directory to chia '' | ||
Line 23: | Line 24: | ||
For further reference, see https:// | For further reference, see https:// | ||
- | ==== Download and replace ==== | + | ==== 2. Download and replace ==== |
The advantage of this method is that it is easy and has minimal downtime. The trick is to download the db right after the snapshot, so your node needs to do minimal syncing to catch up with the latest blockheight. The downside is that you need to trust the source from which you download the snapshot. | The advantage of this method is that it is easy and has minimal downtime. The trick is to download the db right after the snapshot, so your node needs to do minimal syncing to catch up with the latest blockheight. The downside is that you need to trust the source from which you download the snapshot. | ||
- Stop all chia processes | - Stop all chia processes | ||
- go to '' | - go to '' | ||
- | - download the v2 db from a source you trust. Spacefarmers offers a daily snapshot [[guides/ | + | - download the v2 db from a source you trust and place it in the folder. Spacefarmers offers a daily snapshot [[guides/ |
- | - in your your config.yaml, | + | - in your your config.yaml, |
- | ==== Using an external SSD ==== | + | ==== 3. Using an external SSD ==== |
* stop all chia processes '' | * stop all chia processes '' | ||
Line 38: | Line 39: | ||
* in CLI change directory to chia '' | * in CLI change directory to chia '' | ||
* '' | * '' | ||
- | * when done, '' | + | |
+ | | ||
- | === Error when TMP folder full === | + | === 3.1 Error when TMP folder full === |
The method above doesn' | The method above doesn' | ||
Line 62: | Line 64: | ||
* In case you already used '' | * In case you already used '' | ||
* '' | * '' | ||
+ | |||
+ | after you are done, don't forget to set back your temporary folder back to your original folder! | ||
+ | |||
+ | ==== 4. SpaceFarmer Community Node ==== | ||
+ | It is also possible to farm without running a full node locally. Using the hooks that already exist in Chia 1.3+, we created the [[poolinfo/ |
guides/farming/upgradedb.txt · Last modified: 2022/06/21 08:09 by vleesbanaan