Advertisement
ssmusoke

Untitled

Oct 7th, 2015
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.98 KB | None | 0 0
  1. Changeset
  2. =========
  3.  
  4. <changeSet id="201110091820-c" author="jkeiper">
  5. <preConditions onFail="MARK_RAN">
  6. <and>
  7. <changeSetExecuted id="201103152243-a" author="jkeiper" changeLogFile="liquibase-update-to-latest.xml"/>
  8. <not>
  9. <changeSetExecuted id="20111010-1515" author="jkeiper" changeLogFile="liquibase-update-to-latest.xml"/>
  10. </not>
  11. </and>
  12. </preConditions>
  13. <comment>Rename form_resource table to preserve data; 20111010-1515 reference is for bleeding-edge developers and can be generally ignored</comment>
  14. <renameTable oldTableName="form_resource" newTableName="old_form_resource"/>
  15. </changeSet>
  16.  
  17. Error Stack
  18. ===========
  19.  
  20. INFO 10/7/15 7:38 PM:liquibase: Reading from `liquibasechangelog`
  21. SEVERE 10/7/15 7:38 PM:liquibase: Change Set liquibase-update-to-latest.xml::20111010-1515::jkeiper failed. Error: Migration failed for change set liquibase-update-to-latest.xml::20111010-1515::jkeiper:
  22. Reason:
  23. liquibase-update-to-latest.xml : Not precondition failed
  24. :
  25. Caused By: Preconditions Failed
  26. liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20111010-1515::jkeiper:
  27. Reason:
  28. liquibase-update-to-latest.xml : Not precondition failed
  29. :
  30. Caused By: Preconditions Failed
  31. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:260)
  32. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
  33. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:200)
  34. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
  35. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:229)
  36. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:164)
  37. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:149)
  38. at org.openmrs.web.filter.update.UpdateFilter$UpdateFilterCompletion$1.run(UpdateFilter.java:681)
  39. at java.lang.Thread.run(Thread.java:745)
  40. Caused by: liquibase.exception.PreconditionFailedException: Preconditions Failed
  41. at liquibase.precondition.core.AndPrecondition.check(AndPrecondition.java:42)
  42. at liquibase.precondition.core.PreconditionContainer.check(PreconditionContainer.java:199)
  43. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:249)
  44. ... 8 more
  45. INFO 10/7/15 7:38 PM:liquibase: Successfully released change log lock
  46. ERROR - UpdateFilter$UpdateFilterCompletion$1.run(698) |2015-10-07 19:38:26,981| Unable to update the database
  47. org.openmrs.util.DatabaseUpdateException: There was an error while updating the database to the latest. file: liquibase-update-to-latest.xml. Error: Migration failed for change set liquibase-update-to-latest.xml::20111010-1515::jkeiper:
  48. Reason:
  49. liquibase-update-to-latest.xml : Not precondition failed
  50. :
  51. Caused By: Preconditions Failed
  52. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:152)
  53. at org.openmrs.web.filter.update.UpdateFilter$UpdateFilterCompletion$1.run(UpdateFilter.java:681)
  54. at java.lang.Thread.run(Thread.java:745)
  55. Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20111010-1515::jkeiper:
  56. Reason:
  57. liquibase-update-to-latest.xml : Not precondition failed
  58. :
  59. Caused By: Preconditions Failed
  60. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:260)
  61. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
  62. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:200)
  63. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
  64. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:229)
  65. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:164)
  66. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:149)
  67. ... 2 more
  68. Caused by: liquibase.exception.PreconditionFailedException: Preconditions Failed
  69. at liquibase.precondition.core.AndPrecondition.check(AndPrecondition.java:42)
  70. at liquibase.precondition.core.PreconditionContainer.check(PreconditionContainer.java:199)
  71. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:249)
  72. ... 8 more
  73. INFO 10/7/15 7:38 PM:liquibase: Reading from `liquibasechangelog`
  74. WARNING 10/7/15 7:38 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  75. WARNING 10/7/15 7:38 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  76. WARNING 10/7/15 7:38 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement