Skip to content

Instantly share code, notes, and snippets.

@mks-d
Created December 16, 2016 10:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mks-d/61616cabcc76c2afaf5e09fdc78f53f0 to your computer and use it in GitHub Desktop.
Save mks-d/61616cabcc76c2afaf5e09fdc78f53f0 to your computer and use it in GitHub Desktop.
SDK & docker: Table 'openmrs.person_attribute_type' doesn't exist
WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2669) |2016-12-16 10:46:11,853| Unable to find a runtime properties file at /usr/local/tomcat/openmrs-runtime.properties
WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2697) |2016-12-16 10:46:11,853| Unable to find properties file: /usr/local/tomcat/.OpenMRS/openmrs-runtime.properties
INFO 12/16/16 10:46 AM:liquibase: Reading from `liquibasechangelog`
WARNING 12/16/16 10:46 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
WARNING 12/16/16 10:46 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
WARNING 12/16/16 10:46 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
INFO 12/16/16 10:46 AM:liquibase: Successfully acquired change log lock
WARNING 12/16/16 10:46 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
WARNING 12/16/16 10:46 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
WARNING 12/16/16 10:46 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
INFO 12/16/16 10:46 AM:liquibase: Reading from `liquibasechangelog`
SEVERE 12/16/16 10:46 AM:liquibase: Change Set liquibase-update-to-latest.xml::1::upul failed. Error: Error executing SQL ALTER TABLE `person_attribute_type` ADD `edit_privilege` VARCHAR(255): Table 'openmrs.person_attribute_type' doesn't exist
liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE `person_attribute_type` ADD `edit_privilege` VARCHAR(255): Table 'openmrs.person_attribute_type' doesn't exist
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62)
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:104)
at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1091)
at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1075)
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:200)
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:229)
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:164)
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:149)
at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1599)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'openmrs.person_attribute_type' doesn't exist
at sun.reflect.GeneratedConstructorAccessor85.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2819)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2768)
at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:949)
at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:795)
at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:92)
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
... 12 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment