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

Upgrade from 0.13.1 to 0.14.x failed #1186

Open
Showfom opened this issue Jan 30, 2024 · 3 comments
Open

Upgrade from 0.13.1 to 0.14.x failed #1186

Showfom opened this issue Jan 30, 2024 · 3 comments

Comments

@Showfom
Copy link

Showfom commented Jan 30, 2024

I try to upgrade krill from 0.13.1 to 0.14.4 but failed:

# krillup prepare -c /etc/krill.conf
*** Error Preparing Data Migration ***
Upgrade preparation failed because of: Keystore Error: Store error: unknown error

Note that your server data has NOT been modified. Do not upgrade krill itself yet!
If you did upgrade krill, then downgrade it to your previous installed version.

From log:

2024-01-30 15:03:38 [ERROR] Krill failed to start: Upgrade data migration failed with error: Upgrade preparation failed because of: Keystore Error: Store error: unknown error

NOTE: your data was not changed. Please downgrade your krill instance to your previous version.
2024-01-30 15:04:03 [ERROR] Krill failed to start: Upgrade data migration failed with error: Upgrade preparation failed because of: Keystore Error: Store error: unknown error
@timbru
Copy link
Contributor

timbru commented Jan 31, 2024

Hi,

As a first step, could you try this with log_level = "debug" in your /etc/krill.conf, and then post the output before the error?

@AlexanderBand
Copy link
Member

AlexanderBand commented Jan 31, 2024

Can we have a chat about this on the RPKI Discord server? That'll bring all the people who can help together.

@Showfom
Copy link
Author

Showfom commented Jan 31, 2024

Sure, I'm on the Discord server.

Here is the log

# krillup prepare -c /etc/krill.conf
2024-01-31 17:09:08 [INFO] [krill::daemon::config] Prepare upgrade using configuration file: /etc/krill.conf
2024-01-31 17:09:08 [INFO] [krill::daemon::config] Processing data from: local:///var/lib/krill/data/
2024-01-31 17:09:08 [DEBUG] [krill::upgrades] Signers were set up before. No need to migrate keys.
2024-01-31 17:09:08 [INFO] [krill::upgrades] Preparing upgrade from 0.13.1 to 0.14.4
2024-01-31 17:09:08 [INFO] [krill::upgrades] Prepare upgrading CAs to Krill version 0.14.4
*** Error Preparing Data Migration ***
Upgrade preparation failed because of: Keystore Error: Store error: unknown error

Note that your server data has NOT been modified. Do not upgrade krill itself yet!
If you did upgrade krill, then downgrade it to your previous installed version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants