Copied our 2.2 database over to the 4.0 server. Fired up tomcat, but startup fails executing db-os-changelog-pre-2.0-mysql.xml trying to create tables that already exist.
INFO 5/3/17 2:17 PM: liquibase: classpath:db/db-os-changelog-master-fresh.xml: db/db-os-pre-conditions.xml::Pre condition to check the storage engine::slakhani: ChangeSet db/db-os-pre-conditions.xml::Pre condition to check the storage engine::slakhani ran successfully in 2ms
INFO 5/3/17 2:17 PM: liquibase: classpath:db/db-os-changelog-master-fresh.xml: db/db-os-pre-conditions.xml::Pre condition to check the case sensitivity::nmarwaha: ChangeSet db/db-os-pre-conditions.xml::Pre condition to check the case sensitivity::nmarwaha ran successfully in 1ms
SEVERE 5/3/17 2:17 PM: liquibase: classpath:db/db-os-changelog-master-fresh.xml: db/db-os-changelog-pre-2.0-mysql.xml::1427110515738-2::OpenSpecimen: Change Set db/db-os-changelog-pre-2.0-mysql.xml::1427110515738-2::OpenSpecimen failed. Error: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table ‘cat_stor_cont_spec_types’ already exists
liquibase.exception.DatabaseException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table ‘cat_stor_cont_spec_types’ already exists
at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:316)
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:122)
at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1227)
at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1210)
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:550)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:43)
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:73)
at liquibase.Liquibase.update(Liquibase.java:200)
at liquibase.integration.spring.SpringLiquibase.performUpdate(SpringLiquibase.java:402)
at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:366)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)