Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SEVERE 19/06/13 1:41 PM:liquibase: Change Set liquibase-update-to-latest.xml::20110819-1455-insert-u
- nknown-encounter-role::raff failed. Error: Error executing SQL INSERT INTO encounter_role (creator,
- date_created, description, name, retired, uuid) VALUES (1, '2011-08-18 14:00:00.0', 'Unknown encoun
- ter role for legacy providers with no encounter role set', 'Unknown', FALSE, 'a0b03050-c99b-11e0-957
- 2-0800200c9a66'): Referential integrity constraint violation: "ENCOUNTER_ROLE_CREATOR_FK: PUBLIC.ENC
- OUNTER_ROLE FOREIGN KEY(CREATOR) REFERENCES PUBLIC.USERS(USER_ID)"; SQL statement:
- INSERT INTO encounter_role (creator, date_created, description, name, retired, uuid) VALUES (1, '201
- 1-08-18 14:00:00.0', 'Unknown encounter role for legacy providers with no encounter role set', 'Unkn
- own', FALSE, 'a0b03050-c99b-11e0-9572-0800200c9a66') [23002-135]
- liquibase.exception.DatabaseException: Error executing SQL INSERT INTO encounter_role (creator, date
- _created, description, name, retired, uuid) VALUES (1, '2011-08-18 14:00:00.0', 'Unknown encounter r
- ole for legacy providers with no encounter role set', 'Unknown', FALSE, 'a0b03050-c99b-11e0-9572-080
- 0200c9a66'): Referential integrity constraint violation: "ENCOUNTER_ROLE_CREATOR_FK: PUBLIC.ENCOUNTE
- R_ROLE FOREIGN KEY(CREATOR) REFERENCES PUBLIC.USERS(USER_ID)"; SQL statement:
- INSERT INTO encounter_role (creator, date_created, description, name, retired, uuid) VALUES (1, '201
- 1-08-18 14:00:00.0', 'Unknown encounter role for legacy providers with no encounter role set', 'Unkn
- own', FALSE, 'a0b03050-c99b-11e0-9572-0800200c9a66') [23002-135]
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:104)
- at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1091)
- at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1075)
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
- at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
- at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:202)
- at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:230)
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:167)
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:152)
- at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run
- (InitializationFilter.java:1538)
- at java.lang.Thread.run(Thread.java:722)
- Caused by: org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "ENCOUNTER_ROLE
- _CREATOR_FK: PUBLIC.ENCOUNTER_ROLE FOREIGN KEY(CREATOR) REFERENCES PUBLIC.USERS(USER_ID)"; SQL state
- ment:
- INSERT INTO encounter_role (creator, date_created, description, name, retired, uuid) VALUES (1, '201
- 1-08-18 14:00:00.0', 'Unknown encounter role for legacy providers with no encounter role set', 'Unkn
- own', FALSE, 'a0b03050-c99b-11e0-9572-0800200c9a66') [23002-135]
- at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
- at org.h2.message.DbException.get(DbException.java:167)
- at org.h2.message.DbException.get(DbException.java:144)
- at org.h2.constraint.ConstraintReferential.checkRowOwnTable(ConstraintReferential.java:329)
- at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:271)
- at org.h2.table.Table.fireConstraints(Table.java:788)
- at org.h2.table.Table.fireAfterRow(Table.java:805)
- at org.h2.command.dml.Insert.insertRows(Insert.java:122)
- at org.h2.command.dml.Insert.update(Insert.java:82)
- at org.h2.command.CommandContainer.update(CommandContainer.java:70)
- at org.h2.command.Command.executeUpdate(Command.java:199)
- at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:176)
- at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:151)
- at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.
- java:92)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
- ... 12 more
- INFO 19/06/13 1:41 PM:liquibase: Successfully released change log lock
- WARN - InitializationFilter$InitializationCompletion$1.run(1544) |2013-06-19 13:41:16,356| Error whi
- le trying to update to the latest database version
- org.openmrs.util.DatabaseUpdateException: There was an error while updating the database to the late
- st. file: liquibase-update-to-latest.xml. Error: Migration failed for change set liquibase-update-to
- -latest.xml::20110819-1455-insert-unknown-encounter-role::raff:
- Reason: liquibase.exception.DatabaseException: Error executing SQL INSERT INTO encounter_role (
- creator, date_created, description, name, retired, uuid) VALUES (1, '2011-08-18 14:00:00.0', 'Unknow
- n encounter role for legacy providers with no encounter role set', 'Unknown', FALSE, 'a0b03050-c99b-
- 11e0-9572-0800200c9a66'): Referential integrity constraint violation: "ENCOUNTER_ROLE_CREATOR_FK: PU
- BLIC.ENCOUNTER_ROLE FOREIGN KEY(CREATOR) REFERENCES PUBLIC.USERS(USER_ID)"; SQL statement:
- INSERT INTO encounter_role (creator, date_created, description, name, retired, uuid) VALUES (1, '201
- 1-08-18 14:00:00.0', 'Unknown encounter role for legacy providers with no encounter role set', 'Unkn
- own', FALSE, 'a0b03050-c99b-11e0-9572-0800200c9a66') [23002-135]:
- Caused By: Error executing SQL INSERT INTO encounter_role (creator, date_created, descript
- ion, name, retired, uuid) VALUES (1, '2011-08-18 14:00:00.0', 'Unknown encounter role for legacy pro
- viders with no encounter role set', 'Unknown', FALSE, 'a0b03050-c99b-11e0-9572-0800200c9a66'): Refer
- ential integrity constraint violation: "ENCOUNTER_ROLE_CREATOR_FK: PUBLIC.ENCOUNTER_ROLE FOREIGN KEY
- (CREATOR) REFERENCES PUBLIC.USERS(USER_ID)"; SQL statement:
- INSERT INTO encounter_role (creator, date_created, description, name, retired, uuid) VALUES (1, '201
- 1-08-18 14:00:00.0', 'Unknown encounter role for legacy providers with no encounter role set', 'Unkn
- own', FALSE, 'a0b03050-c99b-11e0-9572-0800200c9a66') [23002-135]:
- Caused By: Referential integrity constraint violation: "ENCOUNTER_ROLE_CREATOR_FK: PUBLIC.
- ENCOUNTER_ROLE FOREIGN KEY(CREATOR) REFERENCES PUBLIC.USERS(USER_ID)"; SQL statement:
- INSERT INTO encounter_role (creator, date_created, description, name, retired, uuid) VALUES (1, '201
- 1-08-18 14:00:00.0', 'Unknown encounter role for legacy providers with no encounter role set', 'Unkn
- own', FALSE, 'a0b03050-c99b-11e0-9572-0800200c9a66') [23002-135]
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:155)
- at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run
- (InitializationFilter.java:1538)
- at java.lang.Thread.run(Thread.java:722)
- Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-u
- pdate-to-latest.xml::20110819-1455-insert-unknown-encounter-role::raff:
- Reason: liquibase.exception.DatabaseException: Error executing SQL INSERT INTO encounter_role (
- creator, date_created, description, name, retired, uuid) VALUES (1, '2011-08-18 14:00:00.0', 'Unknow
- n encounter role for legacy providers with no encounter role set', 'Unknown', FALSE, 'a0b03050-c99b-
- 11e0-9572-0800200c9a66'): Referential integrity constraint violation: "ENCOUNTER_ROLE_CREATOR_FK: PU
- BLIC.ENCOUNTER_ROLE FOREIGN KEY(CREATOR) REFERENCES PUBLIC.USERS(USER_ID)"; SQL statement:
- INSERT INTO encounter_role (creator, date_created, description, name, retired, uuid) VALUES (1, '201
- 1-08-18 14:00:00.0', 'Unknown encounter role for legacy providers with no encounter role set', 'Unkn
- own', FALSE, 'a0b03050-c99b-11e0-9572-0800200c9a66') [23002-135]:
- Caused By: Error executing SQL INSERT INTO encounter_role (creator, date_created, descript
- ion, name, retired, uuid) VALUES (1, '2011-08-18 14:00:00.0', 'Unknown encounter role for legacy pro
- viders with no encounter role set', 'Unknown', FALSE, 'a0b03050-c99b-11e0-9572-0800200c9a66'): Refer
- ential integrity constraint violation: "ENCOUNTER_ROLE_CREATOR_FK: PUBLIC.ENCOUNTER_ROLE FOREIGN KEY
- (CREATOR) REFERENCES PUBLIC.USERS(USER_ID)"; SQL statement:
- INSERT INTO encounter_role (creator, date_created, description, name, retired, uuid) VALUES (1, '201
- 1-08-18 14:00:00.0', 'Unknown encounter role for legacy providers with no encounter role set', 'Unkn
- own', FALSE, 'a0b03050-c99b-11e0-9572-0800200c9a66') [23002-135]:
- Caused By: Referential integrity constraint violation: "ENCOUNTER_ROLE_CREATOR_FK: PUBLIC.
- ENCOUNTER_ROLE FOREIGN KEY(CREATOR) REFERENCES PUBLIC.USERS(USER_ID)"; SQL statement:
- INSERT INTO encounter_role (creator, date_created, description, name, retired, uuid) VALUES (1, '201
- 1-08-18 14:00:00.0', 'Unknown encounter role for legacy providers with no encounter role set', 'Unkn
- own', FALSE, 'a0b03050-c99b-11e0-9572-0800200c9a66') [23002-135]
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:347)
- at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
- at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:202)
- at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:230)
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:167)
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:152)
- ... 2 more
- Caused by: liquibase.exception.DatabaseException: Error executing SQL INSERT INTO encounter_role (cr
- eator, date_created, description, name, retired, uuid) VALUES (1, '2011-08-18 14:00:00.0', 'Unknown
- encounter role for legacy providers with no encounter role set', 'Unknown', FALSE, 'a0b03050-c99b-11
- e0-9572-0800200c9a66'): Referential integrity constraint violation: "ENCOUNTER_ROLE_CREATOR_FK: PUBL
- IC.ENCOUNTER_ROLE FOREIGN KEY(CREATOR) REFERENCES PUBLIC.USERS(USER_ID)"; SQL statement:
- INSERT INTO encounter_role (creator, date_created, description, name, retired, uuid) VALUES (1, '201
- 1-08-18 14:00:00.0', 'Unknown encounter role for legacy providers with no encounter role set', 'Unkn
- own', FALSE, 'a0b03050-c99b-11e0-9572-0800200c9a66') [23002-135]
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:104)
- at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1091)
- at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1075)
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
- ... 8 more
- Caused by: org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "ENCOUNTER_ROLE
- _CREATOR_FK: PUBLIC.ENCOUNTER_ROLE FOREIGN KEY(CREATOR) REFERENCES PUBLIC.USERS(USER_ID)"; SQL state
- ment:
- INSERT INTO encounter_role (creator, date_created, description, name, retired, uuid) VALUES (1, '201
- 1-08-18 14:00:00.0', 'Unknown encounter role for legacy providers with no encounter role set', 'Unkn
- own', FALSE, 'a0b03050-c99b-11e0-9572-0800200c9a66') [23002-135]
- at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
- at org.h2.message.DbException.get(DbException.java:167)
- at org.h2.message.DbException.get(DbException.java:144)
- at org.h2.constraint.ConstraintReferential.checkRowOwnTable(ConstraintReferential.java:329)
- at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:271)
- at org.h2.table.Table.fireConstraints(Table.java:788)
- at org.h2.table.Table.fireAfterRow(Table.java:805)
- at org.h2.command.dml.Insert.insertRows(Insert.java:122)
- at org.h2.command.dml.Insert.update(Insert.java:82)
- at org.h2.command.CommandContainer.update(CommandContainer.java:70)
- at org.h2.command.Command.executeUpdate(Command.java:199)
- at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:176)
- at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:151)
- at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.
- java:92)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
- ... 12 more
Advertisement
Add Comment
Please, Sign In to add comment