We have an existing 3.3 installation and are trying to upgrade to 3.4. Here is what has been done:
- cloned the latest github source
- did a checkout on v3.4.x to set the branch
- cd to www and did the npm install and bower install
- changed build.properties to match the settings in the 3.3 instance
- gradle clean
- gradle deploy
The application fails to start and I see this in /$tomcat/webapps/openspecimen/osData/logs/os.log:
2017-01-30 17:50:08,860 [localhost-startStop-5] WARN org.springframework.web.context.support.XmlWebApplicationContext- Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'os-liquibase' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is liquibase.exception.MigrationFailedException: Migration failed for change set db/3.4/schema.xml::Enable/disable specimen barcoding::ckhilosiya:
Reason: liquibase.exception.DatabaseException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: PROCEDURE osdb.add_cfg_prop does not exist
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1514)
Any idea as to what might be causing this error?
Thanks in advance for any insight you can provide.