Skip to content
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

ability to delete config #9997

Open
3 tasks done
thedavidmeister opened this issue Jun 27, 2023 · 2 comments
Open
3 tasks done

ability to delete config #9997

thedavidmeister opened this issue Jun 27, 2023 · 2 comments
Labels
kind/enhancement A net-new feature or improvement to an existing feature

Comments

@thedavidmeister
Copy link

Checklist

  • My issue is specific & actionable.
  • I am not suggesting a protocol enhancement.
  • I have searched on the issue tracker for my issue.

Description

Upon upgrading to 0.21.0 i got this error

Error: error loading plugins: failure to decode config: The Experimental.AcceleratedDHTClient key has been moved to Routing.AcceleratedDHTClient in Kubo 0.21, please use this new key and remove the old one.

That prevents ipfs from even booting

There's no config command for removing config, afaics

Setting the deprecated value to null and applying the default networking profile both fail to fix the above

@thedavidmeister thedavidmeister added the kind/enhancement A net-new feature or improvement to an existing feature label Jun 27, 2023
@Jorropo
Copy link
Contributor

Jorropo commented Jun 27, 2023

Fix is here #9995.
The point of this error message is for you to spin up nano or vim and remove that key completely, is that not reasonable ?

@thedavidmeister
Copy link
Author

thedavidmeister commented Jun 27, 2023

@Jorropo i'm managing this in docker so it's a script, and it ends up on a few machines i don't have direct access to via ssh

it would be more reasonable to do something like ipfs config rm <key> than some kind of string manipulation in bash

alternatively, applying profiles could handle this somehow like migrate-deprecated could be a profile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants