Guest User

Untitled

a guest
Aug 28th, 2020
21
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ARN - ModuleFactory.startModuleInternal(788) |2020-08-28T13:41:23,314| Error while trying to start module: patientflags
  2. org.openmrs.module.ModuleException: Unable to update data model using liquibase.xml. Module: Patient Flags Module
  3. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:997) ~[classes/:?]
  4. at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:728) [classes/:?]
  5. at org.openmrs.api.context.Daemon$1.run(Daemon.java:80) [classes/:?]
  6. Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase.xml::patientflags-1554735240623-13::slubwama:
  7. Reason: liquibase.exception.DatabaseException: ERROR: relation "role" already exists [Failed SQL: (0) CREATE INDEX role ON public.patientflags_tag_role(role)]
  8. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:659) ~[liquibase-core-3.10.2.jar:?]
  9. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:53) ~[liquibase-core-3.10.2.jar:?]
  10. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:221) ~[classes/:?]
  11. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:97) ~[liquibase-core-3.10.2.jar:?]
  12. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:256) ~[classes/:?]
  13. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:989) ~[classes/:?]
  14. ... 2 more
  15. Caused by: liquibase.exception.DatabaseException: ERROR: relation "role" already exists [Failed SQL: (0) CREATE INDEX role ON public.patientflags_tag_role(role)]
  16. at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:430) ~[liquibase-core-3.10.2.jar:?]
  17. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:87) ~[liquibase-core-3.10.2.jar:?]
  18. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:159) ~[liquibase-core-3.10.2.jar:?]
  19. at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1276) ~[liquibase-core-3.10.2.jar:?]
  20. at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1258) ~[liquibase-core-3.10.2.jar:?]
  21. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:622) ~[liquibase-core-3.10.2.jar:?]
  22. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:53) ~[liquibase-core-3.10.2.jar:?]
  23. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:221) ~[classes/:?]
  24. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:97) ~[liquibase-core-3.10.2.jar:?]
  25. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:256) ~[classes/:?]
  26. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:989) ~[classes/:?]
  27. ... 2 more
  28. Caused by: org.postgresql.util.PSQLException: ERROR: relation "role" already exists
  29. at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2553) ~[postgresql-42.2.16.jar:42.2.16]
  30. at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2285) ~[postgresql-42.2.16.jar:42.2.16]
  31. at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:323) ~[postgresql-42.2.16.jar:42.2.16]
  32. at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:473) ~[postgresql-42.2.16.jar:42.2.16]
  33. at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:393) ~[postgresql-42.2.16.jar:42.2.16]
  34. at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:322) ~[postgresql-42.2.16.jar:42.2.16]
  35. at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:308) ~[postgresql-42.2.16.jar:42.2.16]
  36. at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:284) ~[postgresql-42.2.16.jar:42.2.16]
  37. at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:279) ~[postgresql-42.2.16.jar:42.2.16]
  38. at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:426) ~[liquibase-core-3.10.2.jar:?]
  39. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:87) ~[liquibase-core-3.10.2.jar:?]
  40. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:159) ~[liquibase-core-3.10.2.jar:?]
  41. at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1276) ~[liquibase-core-3.10.2.jar:?]
  42. at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1258) ~[liquibase-core-3.10.2.jar:?]
  43. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:622) ~[liquibase-core-3.10.2.jar:?]
  44. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:53) ~[liquibase-core-3.10.2.jar:?]
  45. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:221) ~[classes/:?]
  46. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:97) ~[liquibase-core-3.10.2.jar:?]
  47. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:256) ~[classes/:?]
  48. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:989) ~[classes/:?]
  49. ... 2 more
RAW Paste Data