After
- cloning this repo
- run
make build
(getting as outputs3plugin.so
) - run
make install
- make the appropriate changes in both
/data/ipfs/config
"Datastore": {"BloomFilterSize": 0,"GCPeriod": "1h","HashOnRead": false,"Spec": {"mounts": [ {"child": {"type": "s3ds","region": "us-east-1","bucket": "ipfs-test2-node","accessKey": "******","secretKey": "******" },"mountpoint": "/blocks","prefix": "s3.datastore","type": "measure" }, {"child": {"compression": "none","path": "datastore","type": "levelds" },
and /data/ipfs/datastore_spec
,
{"mounts":[{"bucket":"ipfs-test2-node","mountpoint":"/blocks","region":"us-east-1","rootDirectory":""},{"mountpoint":"/","path":"datastore","type":"levelds"}],"type":"mount"}
I restarted ipfs sudo systemctl restart ipfs
and then while checking that didn't have errors
systemctl status ipfs
then got
Error: error loading plugins: loading plugin /data/ipfs/plugins/go-ds-s3.so: not built with cgo support