Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Changeset
- =========
- <changeSet id="201110091820-c" author="jkeiper">
- <preConditions onFail="MARK_RAN">
- <and>
- <changeSetExecuted id="201103152243-a" author="jkeiper" changeLogFile="liquibase-update-to-latest.xml"/>
- <not>
- <changeSetExecuted id="20111010-1515" author="jkeiper" changeLogFile="liquibase-update-to-latest.xml"/>
- </not>
- </and>
- </preConditions>
- <comment>Rename form_resource table to preserve data; 20111010-1515 reference is for bleeding-edge developers and can be generally ignored</comment>
- <renameTable oldTableName="form_resource" newTableName="old_form_resource"/>
- </changeSet>
- Error Stack
- ===========
- INFO 10/7/15 7:38 PM:liquibase: Reading from `liquibasechangelog`
- 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:
- Reason:
- liquibase-update-to-latest.xml : Not precondition failed
- :
- Caused By: Preconditions Failed
- liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20111010-1515::jkeiper:
- Reason:
- liquibase-update-to-latest.xml : Not precondition failed
- :
- Caused By: Preconditions Failed
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:260)
- 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.update.UpdateFilter$UpdateFilterCompletion$1.run(UpdateFilter.java:681)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: liquibase.exception.PreconditionFailedException: Preconditions Failed
- at liquibase.precondition.core.AndPrecondition.check(AndPrecondition.java:42)
- at liquibase.precondition.core.PreconditionContainer.check(PreconditionContainer.java:199)
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:249)
- ... 8 more
- INFO 10/7/15 7:38 PM:liquibase: Successfully released change log lock
- ERROR - UpdateFilter$UpdateFilterCompletion$1.run(698) |2015-10-07 19:38:26,981| Unable to update the database
- 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:
- Reason:
- liquibase-update-to-latest.xml : Not precondition failed
- :
- Caused By: Preconditions Failed
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:152)
- at org.openmrs.web.filter.update.UpdateFilter$UpdateFilterCompletion$1.run(UpdateFilter.java:681)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20111010-1515::jkeiper:
- Reason:
- liquibase-update-to-latest.xml : Not precondition failed
- :
- Caused By: Preconditions Failed
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:260)
- 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)
- ... 2 more
- Caused by: liquibase.exception.PreconditionFailedException: Preconditions Failed
- at liquibase.precondition.core.AndPrecondition.check(AndPrecondition.java:42)
- at liquibase.precondition.core.PreconditionContainer.check(PreconditionContainer.java:199)
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:249)
- ... 8 more
- INFO 10/7/15 7:38 PM:liquibase: Reading from `liquibasechangelog`
- 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
- 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
- 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