# Failed to build a farmer

**URL:** <https://forum.autonomys.xyz/t/failed-to-build-a-farmer/1482>\
**Category:** Support\
**Tags:** gemini-3d\
**Created:** [May 9, 2023, 10:55am UTC](https://forum.autonomys.xyz/t/failed-to-build-a-farmer/1482 "2023-05-09T10:55:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![casbolat](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/casbolat/32/867_2.png) [@casbolat](https://forum.autonomys.xyz/u/casbolat)\
**Post date:** [May 9, 2023, 10:55am UTC](https://forum.autonomys.xyz/t/failed-to-build-a-farmer/1482/1 "2023-05-09T10:55:53Z")

</div>

Hello,  
I am getting this error while running node. help please

Error:  
0: Failed to build a farmer  
1: Single disk plot creation error: I/O error: File exists (os error 17)  
2: I/O error: File exists (os error 17)  
3: File exists (os error 17)

Location:  
src/config.rs:130

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  
1: color\_eyre::config::EyreHook::into\_eyre\_hook::{{closure}}::h6e0f30e052fde71f  
at :  
2: eyre::capture\_handler::h0f12d3a4ca1b1720  
at :  
3: subspace\_cli::commands::farm::farm::{{closure}}::{{closure}}::hd48233d523a12c91  
at :  
4: \<tracing::instrument::Instrumented as core::future::future::Future\>::poll::ha69d2cfba140e540  
at :  
5: subspace\_cli::main::ha7bf79e05a858f4f  
at :  
6: std::sys\_common::backtrace::\_\_rust\_begin\_short\_backtrace::h01d2325af002aa28  
at :  
7: main  
at :  
8: \_\_libc\_start\_main  
at :  
9: \_start  
at :

---

<div class="post-metadata">

**Author:** ![ImmaZoni](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/immazoni/32/7_2.png) [@ImmaZoni](https://forum.autonomys.xyz/u/ImmaZoni)\
**Post date:** [May 9, 2023, 5:36pm UTC](https://forum.autonomys.xyz/t/failed-to-build-a-farmer/1482/2 "2023-05-09T17:36:44Z")

</div>

Is this your first time setting up the farmer? It appears that the system is detecting a pre-existing installation. If this is the case, you might consider wiping the current setup and re-initializing the CLI to ensure a clean installation.

---

<div class="post-metadata">

**Author:** ![casbolat](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/casbolat/32/867_2.png) [@casbolat](https://forum.autonomys.xyz/u/casbolat)\
**Post date:** [May 11, 2023, 11:37am UTC](https://forum.autonomys.xyz/t/failed-to-build-a-farmer/1482/3 "2023-05-11T11:37:56Z")

</div>

It was giving the same error before, I reinstalled the server and reinstalled the node that way.

---

<div class="post-metadata">

**Author:** ![ImmaZoni](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/immazoni/32/7_2.png) [@ImmaZoni](https://forum.autonomys.xyz/u/ImmaZoni)\
**Post date:** [May 11, 2023, 4:46pm UTC](https://forum.autonomys.xyz/t/failed-to-build-a-farmer/1482/5 "2023-05-11T16:46:23Z")

</div>

Interesting, lets check for the file that it says exists manually,

you can find the configuration file in the following locations

**Windows:** `%appdata%\subspace-cli\settings.toml`

**MacOS:** `$HOME/Library/Application Support/subspace-cli/settings.toml`

**Ubuntu:** `$HOME/.config/subspace-cli/settings.toml`

if that file is infact there, go ahead and delete it and try and try to re-run the initialization phase.

---

<div class="post-metadata">

**Author:** ![casbolat](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/casbolat/32/867_2.png) [@casbolat](https://forum.autonomys.xyz/u/casbolat)\
**Post date:** [May 13, 2023, 6:13am UTC](https://forum.autonomys.xyz/t/failed-to-build-a-farmer/1482/7 "2023-05-13T06:13:00Z")

</div>

I deleted node and reinstalled it and it gave an error again

 ![Screenshot_1](https://canada1.discourse-cdn.com/flex011/uploads/subspace/original/1X/ee663a20a4c70e7644698bba1ae1891dbbba240e.jpeg)

---

<div class="post-metadata">

**Author:** ![ImmaZoni](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/immazoni/32/7_2.png) [@ImmaZoni](https://forum.autonomys.xyz/u/ImmaZoni)\
**Post date:** [May 15, 2023, 3:31pm UTC](https://forum.autonomys.xyz/t/failed-to-build-a-farmer/1482/9 "2023-05-15T15:31:49Z")

</div>

when you deleted and reinstalled, did you run the `wipe` command from the terminal?

If not, you will want to wipe everything and attempt again, simply removing the program does not remove the config files on your system, meaning a reinstall could replicate the same issue with no wipe (assuming the error is related to your config file which appears to be the case with this error)
