Advertisement
anatoleabe

Untitled

Mar 23rd, 2021
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.01 KB | None | 0 0
  1. INFO 3/23/21 1:27 PM:liquibase: Successfully released change log lock
  2. WARN - ModuleFactory.startModuleInternal(786) |2021-03-23 13:27:41,463| Error while trying to start module: openmrs-atomfeed
  3. org.openmrs.module.ModuleException: Unable to update data model using liquibase.xml. Module: AtomFeed Module
  4. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:993)
  5. at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:726)
  6. at org.openmrs.api.context.Daemon$1.run(Daemon.java:80)
  7. Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase.xml::org.ict4h.openmrs-atomfeed-2013-03-01-18:30::ict4h:
  8. 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:
  9. 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:
  10. Caused By: Table 'event_records' already exists
  11. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:347)
  12. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
  13. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:191)
  14. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
  15. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:220)
  16. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:986)
  17. ... 2 more
  18. 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
  19. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62)
  20. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:104)
  21. at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1091)
  22. at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1075)
  23. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
  24. ... 7 more
  25. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'event_records' already exists
  26. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  27. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  28. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  29. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  30. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  31. at com.mysql.jdbc.Util.getInstance(Util.java:408)
  32. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944)
  33. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
  34. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
  35. at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
  36. at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
  37. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2480)
  38. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2438)
  39. at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845)
  40. at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745)
  41. at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:92)
  42. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
  43. ... 11 more
  44.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement