AIQUMのアップグレードに失敗しました。エラー:「UMのデータベース作成コマンドに失敗しました」
環境
- ActiveIQ Unified Manager(AIQUM)9.14
- Windowsプラットフォーム
問題
AIQUM Windowsを9.12から9.13にアップグレードすると、次のエラーが表示されて失敗します。
Database creation command failed for UM.Installer will exit now. Refer logs for more detailsInstall_Drive\ProgramData\OnCommandAppData\ocum\log\dbsetup.logで次のエラーが発生しましたNetApp。
INFO [main] [c.n.d.m.MigrationsManager] MIGRATIONS_INITIALIZING_DATABASE_START [21.005, 23.001, jdbc:mysql://localhost:3306/ocum?cachePre...atements=true]ERROR [main] [c.n.dfm.migrations.DbMain] Unexpected error: StatementCallback; bad SQL grammar [CREATE TABLE IdpServerDetails( uuid VARCHAR(36) NOT NULL, objVersion integer NOT NULL, useLocalRoles bit NOT NULL, idpName VARCHAR(255) NOT NULL, idpUri VARCHAR(255) NOT NULL, clientId VARCHAR(255) , clientSecret VARCHAR(255) , remoteUserClaim VARCHAR(255) NOT NULL, validationMethod VARCHAR(255) NOT NULL, introspectionEndpoint VARCHAR(255) , introspectionEndpointParams VARCHAR(255) , introspectionAuthenticationMethod VARCHAR(255) , jwksLocation VARCHAR(255) , jwksRefreshIntervalSeconds integer, CONSTRAINT IdpServerDetails_PK PRIMARY KEY (uuid), CONSTRAINT IdpServerDetails_name_UQ UNIQUE (idpName) )]; nested exception is java.sql.SQLSyntaxErrorException: (conn=12) Table 'idpserverdetails' already existsDEBUG [main] [c.n.dfm.migrations.DbMain] Database setup errororg.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [CREATE TABLE IdpServerDetails( uuid VARCHAR(36) NOT NULL, objVersion integer NOT NULL, useLocalRoles bit NOT NULL, idpName VARCHAR(255) NOT NULL, idpUri VARCHAR(255) NOT NULL, clientId VARCHAR(255) , clientSecret VARCHAR(255) , remoteUserClaim VARCHAR(255) NOT NULL, validationMethod VARCHAR(255) NOT NULL, introspectionEndpoint VARCHAR(255) , introspectionEndpointParams VARCHAR(255) , introspectionAuthenticationMethod VARCHAR(255) , jwksLocation VARCHAR(255) , jwksRefreshIntervalSeconds integer, CONSTRAINT IdpServerDetails_PK PRIMARY KEY (uuid), CONSTRAINT IdpServerDetails_name_UQ UNIQUE (idpName) )]; nested exception is java.sql.SQLSyntaxErrorException: (conn=12) Table 'idpserverdetails' already exists at org.springframework.jdbc.support.SQLExceptionSubclassTranslator.doTranslate(SQLExceptionSubclassTranslator.java:93)Caused by: java.sql.SQLSyntaxErrorException: (conn=12) Table 'idpserverdetails' already exists