无法在升级后启动服务、因为未更新数据库架构
适用场景
- ActiveIQ Unified Manager 9.12 OVA
- 升级到ActiveIQ Unified Manager 9.13 OVA (AIQUM)
问题描述
- 升级成功
- 服务不会在1小时后启动并超时
- 中出现错误
/var/log/ocum/ocumserver.log:
2024-01-15 16:37:17,734 ERROR [oncommand] [ServerService Thread Pool -- 118] [o.s.web.context.ContextLoader] Context initialization failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dataSourceInformationServiceImpl': Unsatisfied dependency expressed through field 'dataSourceCacheService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dataSourceCacheService': Unsatisfied dependency expressed through field 'ontapConnectionInfoProvider'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dataSourceManager': Unsatisfied dependency expressed through field 'dataSourceEntityManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dataSourceEntityManager': Unsatisfied dependency expressed through field 'session'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hibernateSessionProxyFactoryBean': Unsatisfied dependency expressed through field 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'migrationVersionVerifier': Invocation of init method failed; nested exception is java.lang.IllegalStateException: The database schema is not up to date. Run the 'db update' tool to bring the schema up to date.