I’m trying to run ipfs node backed by s3.
I think I followed instructions from https://github.com/ipfs/go-ds-s3, but I’m not sure my config is valid. This might be the cause of the problem I’m facing.
When I add file with ipfs add comand i get following output:
$ docker exec -i -t b74661b71c86 /bin/bash
root@b74661b71c86:/go/src/ipfs/go-ipfs# ipfs add README.md
2020-12-07T22:09:57.410Z DEBUG cmd/ipfs config path is /root/.ipfs
added QmYTMhRvRnBLxbXPGJCVixHSBwVgtWjVJ86YHC2aATxdzp README.md
35.20 KiB / 35.20 KiB [=======================================================================================================================================] 100.00%
Error: cannot store pin state: no datastore mounted for this key
You probably need to keep the levelds mount that was there originally (mountpoint: "/"), along with the s3 one, or if you want absolutely all the data on s3, and not just the blocks, change the mountpoint of this datastore to "/".