Skip to main content
NetApp Knowledge Base

AIQUM upgrade failed with error "Database creation command failed for UM"

Views:
66
Visibility:
Public
Votes:
0
Category:
active-iq-unified-manager
Specialty:
om
Last Updated:

Applies to

  • ActiveIQ Unified Manager (AIQUM) 9.14
  • Windows platform
  • Issue

Upgrading AIQUM Windows from 9.12 to 9.13 failing with below error.
 
Database creation command failed for UM.Installer will exit now. Refer logs for more details
 
Following error observed in Install_Drive\ProgramData\NetApp\OnCommandAppData\ocum\log\dbsetup.log
 
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 exists
 
DEBUG [main] [c.n.dfm.migrations.DbMain] Database setup error
org.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

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.