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 12:27] – 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 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. | ||
+ | |||
+ | We will go through three different ways: | ||
+ | - Upgrading the easy way | ||
+ | - Download v2 from a trusted source and replace v1 | ||
+ | - Using an external SSD | ||
+ | - Using the SpaceFarmer Community Node | ||
+ | |||
+ | |||
+ | ==== 1. Updating the easy way ==== | ||
+ | |||
+ | * in CLI change directory to chia '' | ||
+ | * run '' | ||
+ | * Update your config.yaml under the '' | ||
There are two prerequisites for upgrading the Chia db the easy way. | There are two prerequisites for upgrading the Chia db the easy way. | ||
* enough space on the target directory | * enough space on the target directory | ||
- | * enough space on your temporary directory | + | * enough space on your temporary directory |
- | 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. | + | For further reference, see https:// |
- | We will go through two different ways: | + | ==== 2. Download and replace ==== |
- | - download v2 from a trusted source and replace v1 | + | |
- | - Using an external SSD | + | |
- | + | ||
- | ==== 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 DIRECTORY | + | - go to '' |
- | - delete | + | - download |
- | - download | + | - in your your config.yaml, replace under the '' |
- | - edit config.yaml | + | |
- | ==== Using an external SSD ==== | + | ==== 3. Using an external SSD ==== |
- | === Error when TMP folder full === | + | * stop all chia processes '' |
- | The method above doesn' | + | * [[guides/ |
+ | * Make sure your TMP folder has enough space available (size of v1+v2). If not, see the fix under "Error when TMP folder full" | ||
+ | * in CLI change directory to chia '' | ||
+ | * '' | ||
+ | * in your your config.yaml, | ||
+ | * when done, '' | ||
+ | |||
+ | === 3.1 Error when TMP folder full === | ||
+ | The method above doesn' | ||
You will attempt to do so, you get a pop-up with the following window somewhere in the process: | You will attempt to do so, you get a pop-up with the following window somewhere in the process: | ||
Line 46: | 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