NLnetLabs / krill

RPKI Certificate Authority and Publication Server written in Rust
https://nlnetlabs.nl/projects/routing/krill/
Mozilla Public License 2.0
280 stars 37 forks source link

Upgrade from 0.13.1 to 0.14.x failed #1186

Open Showfom opened 5 months ago

Showfom commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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

Showfom commented 5 months ago

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.