Keycloak 升级到 16.1.0 失败

Keycloak upgrade to 16.1.0 fails

我正在尝试将 keycloak 从 11 迁移到 16.1.0 但失败了,出现以下错误...我已经删除了 standalone.xml 中的所有 smallrye 条目,我如何才能看到更详细的错误消息?

迁移是 运行 通过

bin/jboss-cli.sh --file=bin/migrate-standalone.cli

*** WARNING ***

** If the following embed-server command fails, manual intervention is needed.
** In such case, remove any <extension> and <subsystem> declarations referring
** to the removed smallrye modules from the standalone.xml file and rerun this script.
** For details, see Migration Changes section in the Upgrading guide.
** We apologize for this inconvenience.

Cannot start embedded server: WFLYEMB0021: Cannot start embedded process: JBTHR00005: Operation failed: WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

我有同样的问题,从 15.0.2 升级到 16.1,独立模式 + 外部 MySQL 数据库。

#编辑

我找到了这个... - https://www.keycloak.org/docs/latest/upgrading/#migrating-to-16-0-0

Due to the amount of changes we are not able to provide migration scripts as we have done in the past.

We recommend that rather than copying configuration files from previous versions of Keycloak that you start with the default configuration files provided in Keycloak 16 and apply the relevant changes.