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

Error: root version is N, but should be: N+1 #983

Closed
lucklove opened this issue Dec 11, 2020 · 0 comments
Closed

Error: root version is N, but should be: N+1 #983

lucklove opened this issue Dec 11, 2020 · 0 comments
Labels
type/bug Categorizes issue as related to a bug.

Comments

@lucklove
Copy link
Member

lucklove commented Dec 11, 2020

Bug Report

After #967, we support rotate the root.json.

However, the TiUP (version < v1.3.0) can't get new root.json correctly because the early implementation has a bug introduced by #230 (the very beginning commit for TiUP TUF implemmentation).

This bug has been fixed in #967, and planed to be released in v1.3.0.

The old TiUP will not work after we rotate root.json online (https://tiup-mirrors.pingcap.com), this issue is used to record this problem in case someone get into trouble unfortunately.

If you are troubled by this bug, just reinstall the tiup client by:

curl --proto '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh 

And update your installed components incase some of them (eg. tiup-cluster) reference to the old code:

tiup update --all
@lucklove lucklove added the type/bug Categorizes issue as related to a bug. label Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Categorizes issue as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant