-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: required Datastore.Spec entry missing form config file #163
Comments
@maxkerp is this still an issue with the latest ipfs-repo? |
I created a new temporary jsipfs repo under /tmp $ IPFS_PATH=./ipfs/ jsipfs add data.json
added QmYvuL72a7qZJq6EzXAzGix1FsJ1ZUjgAXvAuq2795bznw data.json
/tmp $ IPFS_PATH=./ipfs/ jsipfs cat QmYvuL72a7qZJq6EzXAzGix1FsJ1ZUjgAXvAuq2795bznw
"{\"hash\":null,\"id\":\"QmXGrQZ8vPqwsCLHL9DhQEYLQb13n96oUtLatteh1zNk89\",\"payload\":{\"op\":\"PUT\",\"key\":\"002\",\"value\":{\"key\":\"002\",\"name\":\"Daniel\"}},\"next\":[\"QmRvhdhy5GQzs7Rd9KRh1x8GSCEXooFBa9GqbZvixnn9s1\"],\"v\":0,\"clock\":{\"id\":\"QmXGrQZ8vPqwsCLHL9DhQEYLQb13n96oUtLatteh1zNk89\",\"time\":2},\"sig\":\"304502203c5e6e26377e46b49f5bccdf6bd066f31314c0caa90fd05550f1616715d4bb38022100800665bc58d7639a5403dcab6dc52428a281219f46b66523e01f74a9e956c465\",\"key\":\"04fbfa074a34326a6099d1c1a05109b610687e5066c2ba4944105e15fdc74261ac391520d47fd2064eb6f6458224f2a66a89f03215bc3d51c1922a15db5606e6cc\"}"
/tmp $ IPFS_PATH=./ipfs/ ipfs cat QmYvuL72a7qZJq6EzXAzGix1FsJ1ZUjgAXvAuq2795bznw
Error: required Datastore.Spec entry missing form config file
/tmp $ jsipfs --version
0.29.2
/tmp $ ipfs --version
ipfs version 0.4.14 I created the repo with |
Basically
|
Hi there :)
TL;DR
js-ipfs-repo
seems to miss some entries in theconfig
file.What
I'm working with
orbit-db-cli
and trying to examine theipfs repo
withgo-ipfs
results in this error message.js-ipfs
doesn't care about it and works fine.I'd liked to be able to examine the
repo
withgo-ipfs
(since it has a bit more features ), but adding the defaultconfig
file to it, does not solve the issue.Any ideas what I can do? Adding the entry to the config file should fix the issue, but I might made some stupid mistake I'm not aware of.
For more background see this issue.
The text was updated successfully, but these errors were encountered: