Skip to content

Instantly share code, notes, and snippets.

@ssmusoke
Created March 14, 2018 06:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssmusoke/486bd245d3e4ad0130052f55eb42cd95 to your computer and use it in GitHub Desktop.
Save ssmusoke/486bd245d3e4ad0130052f55eb42cd95 to your computer and use it in GitHub Desktop.
SEVERE 3/13/18 8:26 PM:liquibase: Change Set liquibase-update-to-latest.xml::201411101055-TRUNK-3386::pmuchowski failed. Error: Migration failed for change set liquibase-update-to-latest.xml::201411101055-TRUNK-3386::pmuchowski:
Reason:
liquibase-update-to-latest.xml : Unknown column 'ep.provider_id' in 'field list'
:
Caused By: Precondition Error
liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201411101055-TRUNK-3386::pmuchowski:
Reason:
liquibase-update-to-latest.xml : Unknown column 'ep.provider_id' in 'field list'
:
Caused By: Precondition Error
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:285)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:189)
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:218)
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:148)
at org.openmrs.web.filter.update.UpdateFilter$UpdateFilterCompletion$1.run(UpdateFilter.java:736)
at java.lang.Thread.run(Thread.java:748)
Caused by: liquibase.exception.PreconditionErrorException: Precondition Error
at liquibase.precondition.core.ForeignKeyExistsPrecondition.check(ForeignKeyExistsPrecondition.java:65)
at liquibase.precondition.core.AndPrecondition.check(AndPrecondition.java:34)
at liquibase.precondition.core.PreconditionContainer.check(PreconditionContainer.java:199)
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:249)
... 7 more
INFO 3/13/18 8:26 PM:liquibase: Successfully released change log lock
ERROR - UpdateFilter$UpdateFilterCompletion$1.run(753) |2018-03-13 20:26:51,806| 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::201411101055-TRUNK-3386::pmuchowski:
Reason:
liquibase-update-to-latest.xml : Unknown column 'ep.provider_id' in 'field list'
:
Caused By: Precondition Error
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:152)
at org.openmrs.web.filter.update.UpdateFilter$UpdateFilterCompletion$1.run(UpdateFilter.java:736)
at java.lang.Thread.run(Thread.java:748)
Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201411101055-TRUNK-3386::pmuchowski:
Reason:
liquibase-update-to-latest.xml : Unknown column 'ep.provider_id' in 'field list'
:
Caused By: Precondition Error
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:285)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:189)
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:218)
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:148)
... 2 more
Caused by: liquibase.exception.PreconditionErrorException: Precondition Error
at liquibase.precondition.core.ForeignKeyExistsPrecondition.check(ForeignKeyExistsPrecondition.java:65)
at liquibase.precondition.core.AndPrecondition.check(AndPrecondition.java:34)
at liquibase.precondition.core.PreconditionContainer.check(PreconditionContainer.java:199)
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:249)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment