Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INFO 3/23/21 1:27 PM:liquibase: Successfully released change log lock
- WARN - ModuleFactory.startModuleInternal(786) |2021-03-23 13:27:41,463| Error while trying to start module: openmrs-atomfeed
- org.openmrs.module.ModuleException: Unable to update data model using liquibase.xml. Module: AtomFeed Module
- at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:993)
- at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:726)
- at org.openmrs.api.context.Daemon$1.run(Daemon.java:80)
- Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase.xml::org.ict4h.openmrs-atomfeed-2013-03-01-18:30::ict4h:
- Reason: liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE `event_records` (`id` serial NOT NULL, `uuid` VARCHAR(40) NULL, `title` VARCHAR(255) NULL, `timestamp` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `uri` VARCHAR(255) NULL, `object` VARCHAR(1000) NULL, `category` VARCHAR(255) NULL, CONSTRAINT `PK_EVENT_RECORDS` PRIMARY KEY (`id`)): Table 'event_records' already exists:
- Caused By: Error executing SQL CREATE TABLE `event_records` (`id` serial NOT NULL, `uuid` VARCHAR(40) NULL, `title` VARCHAR(255) NULL, `timestamp` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `uri` VARCHAR(255) NULL, `object` VARCHAR(1000) NULL, `category` VARCHAR(255) NULL, CONSTRAINT `PK_EVENT_RECORDS` PRIMARY KEY (`id`)): Table 'event_records' already exists:
- Caused By: Table 'event_records' already exists
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:347)
- at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
- at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:191)
- at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:220)
- at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:986)
- ... 2 more
- Caused by: liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE `event_records` (`id` serial NOT NULL, `uuid` VARCHAR(40) NULL, `title` VARCHAR(255) NULL, `timestamp` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `uri` VARCHAR(255) NULL, `object` VARCHAR(1000) NULL, `category` VARCHAR(255) NULL, CONSTRAINT `PK_EVENT_RECORDS` PRIMARY KEY (`id`)): Table 'event_records' already exists
- 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)
- ... 7 more
- Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'event_records' already exists
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
- at com.mysql.jdbc.Util.getInstance(Util.java:408)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
- at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
- at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
- at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2480)
- at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2438)
- at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845)
- at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745)
- at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:92)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
- ... 11 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement