# How to set Kubo on a RPi to an attached storage?

**URL:** https://discuss.ipfs.tech/t/how-to-set-kubo-on-a-rpi-to-an-attached-storage/17028
**Category:** Help
**Tags:** kubo
**Created:** [October 2, 2023, 6:59pm UTC](https://discuss.ipfs.tech/t/how-to-set-kubo-on-a-rpi-to-an-attached-storage/17028 "2023-10-02T18:59:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![42piratas](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/42piratas/32/7984_2.png) [@42piratas](https://discuss.ipfs.tech/u/42piratas)
#### Post date: [October 2, 2023, 6:59pm UTC](https://discuss.ipfs.tech/t/how-to-set-kubo-on-a-rpi-to-an-attached-storage/17028/1 "2023-10-02T18:59:08Z")

</div>

How to set Kubo on a RPi/Ubuntu to an attached storage/SSD?

First, I’ve tried to change “Datastore”: `{ { "mounts": [ { "child": { "path": "/<NEWPATH>"}`, but I ended up with…

`Error: datastore configuration of ‘{“mounts”:[{...}’ does not match what is on disk ‘{“mounts”:[{...}`

Then, I tried `ipfs config Datastore.Path <newpath>`, and it ended up with…

`~$ ipfs swarm peers`  
`Error: old style datatstore config detected`

I also tried to simply move the entire `./ipfs` folder to the SSD, but when I try “ipfs daemon”, I get a…

`Error: no IPFS repo found in /home/<ORIGINAL>/.ipfs.`  
`please run: 'ipfs init`

I also get the same error above if I try to run `ipfs init` directly from the SSD.

Thanks in advance for the help 🙏🏽

---

<div class="post-metadata">

### Author: ![hector](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/hector/32/178_2.png) [@hector](https://discuss.ipfs.tech/u/hector)
#### Post date: [October 2, 2023, 8:08pm UTC](https://discuss.ipfs.tech/t/how-to-set-kubo-on-a-rpi-to-an-attached-storage/17028/2 "2023-10-02T20:08:53Z")

</div>

I’m going to close this as duplicate to [How to update the storage location?](https://discuss.ipfs.tech/t/how-to-update-the-storage-location/17016) and answering there.

---

<div class="post-metadata">

### Author: ![hector](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/hector/32/178_2.png) [@hector](https://discuss.ipfs.tech/u/hector)
#### Post date: [October 2, 2023, 8:09pm UTC](https://discuss.ipfs.tech/t/how-to-set-kubo-on-a-rpi-to-an-attached-storage/17028/3 "2023-10-02T20:09:01Z")

</div>


