Guest User

Untitled

a guest
Apr 12th, 2021
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.35 KB | None | 0 0
  1. ERROR - Slf4jLogger.severe(22) |2021-04-12T11:29:26,918| Change Set liquibase-schema-only.xml::1226412230538-11::ben (generated) failed. Error: Duplicate entry 'concepts.locked' for key 'PRIMARY' [Failed SQL: (1062) INSERT INTO openmrs.global_property (property, property_value, `description`, uuid) VALUES ('concepts.locked', 'false', 'true/false whether or not concepts can be edited in this database.', '647b8dd4-c2c4-4d24-9aa5-416cdf0cad88')]
  2. INFO - Slf4jLogger.info(42) |2021-04-12T11:29:26,949| Successfully released change log lock
  3. WARN - InitializationFilter$InitializationCompletion$1.run(1668) |2021-04-12T11:29:26,951| Error while trying to add demo data
  4. org.openmrs.util.DatabaseUpdateException: There was an error while updating the database to the latest. file: liquibase-demo-data.xml. Error: Migration failed for change set liquibase-schema-only.xml::1226412230538-11::ben (generated):
  5. Reason: liquibase.exception.DatabaseException: Duplicate entry 'concepts.locked' for key 'PRIMARY' [Failed SQL: (1062) INSERT INTO openmrs.global_property (property, property_value, `description`, uuid) VALUES ('concepts.locked', 'false', 'true/false whether or not concepts can be edited in this database.', '647b8dd4-c2c4-4d24-9aa5-416cdf0cad88')]
  6. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:189) ~[classes/:?]
  7. at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1659) [classes/:?]
  8. at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
  9. Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-schema-only.xml::1226412230538-11::ben (generated):
  10. Reason: liquibase.exception.DatabaseException: Duplicate entry 'concepts.locked' for key 'PRIMARY' [Failed SQL: (1062) INSERT INTO openmrs.global_property (property, property_value, `description`, uuid) VALUES ('concepts.locked', 'false', 'true/false whether or not concepts can be edited in this database.', '647b8dd4-c2c4-4d24-9aa5-416cdf0cad88')]
  11. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:659) ~[liquibase-core-3.10.3.jar:?]
  12. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:53) ~[liquibase-core-3.10.3.jar:?]
  13. at org.openmrs.util.DatabaseUpdater$OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:850) ~[classes/:?]
  14. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:97) ~[liquibase-core-3.10.3.jar:?]
  15. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:232) ~[classes/:?]
  16. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:185) ~[classes/:?]
  17. ... 2 more
  18. Caused by: liquibase.exception.DatabaseException: Duplicate entry 'concepts.locked' for key 'PRIMARY' [Failed SQL: (1062) INSERT INTO openmrs.global_property (property, property_value, `description`, uuid) VALUES ('concepts.locked', 'false', 'true/false whether or not concepts can be edited in this database.', '647b8dd4-c2c4-4d24-9aa5-416cdf0cad88')]
  19. at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:430) ~[liquibase-core-3.10.3.jar:?]
  20. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:87) ~[liquibase-core-3.10.3.jar:?]
  21. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:159) ~[liquibase-core-3.10.3.jar:?]
  22. at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1276) ~[liquibase-core-3.10.3.jar:?]
  23. at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1258) ~[liquibase-core-3.10.3.jar:?]
  24. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:622) ~[liquibase-core-3.10.3.jar:?]
  25. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:53) ~[liquibase-core-3.10.3.jar:?]
  26. at org.openmrs.util.DatabaseUpdater$OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:850) ~[classes/:?]
  27. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:97) ~[liquibase-core-3.10.3.jar:?]
  28. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:232) ~[classes/:?]
  29. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:185) ~[classes/:?]
  30. ... 2 more
  31. Caused by: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry 'concepts.locked' for key 'PRIMARY'
  32. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:117) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  33. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  34. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  35. at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:764) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  36. at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:648) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  37. at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:426) ~[liquibase-core-3.10.3.jar:?]
  38. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:87) ~[liquibase-core-3.10.3.jar:?]
  39. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:159) ~[liquibase-core-3.10.3.jar:?]
  40. at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1276) ~[liquibase-core-3.10.3.jar:?]
  41. at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1258) ~[liquibase-core-3.10.3.jar:?]
  42. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:622) ~[liquibase-core-3.10.3.jar:?]
  43. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:53) ~[liquibase-core-3.10.3.jar:?]
  44. at org.openmrs.util.DatabaseUpdater$OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:850) ~[classes/:?]
  45. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:97) ~[liquibase-core-3.10.3.jar:?]
  46. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:232) ~[classes/:?]
  47. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:185) ~[classes/:?]
  48. ... 2 more
  49. INFO - Slf4jLogger.info(42) |2021-04-12T11:29:27,119| Reading from openmrs.liquibasechangelog
  50. INFO - Slf4jLogger.info(42) |2021-04-12T11:29:27,187| Successfully acquired change log lock
  51. INFO - Slf4jLogger.info(42) |2021-04-12T11:29:27,193| ChangeSet org/openmrs/liquibase/updates/liquibase-update-to-latest-2.5.x.xml::42ddb873-f064-4418-a6c0-6c09426c4832::wschlegel ran successfully in 1ms
  52. INFO - Slf4jLogger.info(42) |2021-04-12T11:29:27,319| Successfully released change log lock
  53. [INFO] Initializing Spring root WebApplicationContext
  54. INFO - EhCacheManagerFactoryBean.afterPropertiesSet(134) |2021-04-12T11:29:30,537| Initializing EhCache CacheManager
  55. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2129) |2021-04-12T11:29:46,440| Unable to find a runtime properties file at /home/renske/Documents/Internship_kik/openmrs-core/webapp/openmrs-runtime.properties
  56. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2157) |2021-04-12T11:29:46,441| Unable to find properties file: /home/renske/.OpenMRS/openmrs-runtime.properties
  57. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2129) |2021-04-12T11:29:46,442| Unable to find a runtime properties file at /home/renske/Documents/Internship_kik/openmrs-core/webapp/openmrs-runtime.properties
  58. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2129) |2021-04-12T11:29:46,451| Unable to find a runtime properties file at /home/renske/Documents/Internship_kik/openmrs-core/webapp/openmrs-runtime.properties
  59. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2129) |2021-04-12T11:29:46,451| Unable to find a runtime properties file at /home/renske/Documents/Internship_kik/openmrs-core/webapp/openmrs-runtime.properties
  60. WARN - HibernateContextDAO.authenticate(131) |2021-04-12T11:29:47,363| bad value stored in lockoutTimestamp user property:
  61. INFO - LoggingAdvice.invoke(117) |2021-04-12T11:29:47,575| In method AdministrationService.updatePostgresSequence. Arguments:
  62. INFO - LoggingAdvice.invoke(157) |2021-04-12T11:29:47,608| Exiting method updatePostgresSequence
  63. WARN - Listener.loadBundledModules(479) |2021-04-12T11:29:47,614| Bundled module folder doesn't exist: /home/renske/Documents/Internship_kik/openmrs-core/webapp/src/main/webapp/WEB-INF/bundledModules
  64. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2129) |2021-04-12T11:29:47,615| Unable to find a runtime properties file at /home/renske/Documents/Internship_kik/openmrs-core/webapp/openmrs-runtime.properties
  65. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(69) |2021-04-12T11:29:47,618| identifying the Liquibase snapshot version that had been used to initialize the OpenMRS database...
  66. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(82) |2021-04-12T11:29:47,618| looking for un-run change sets in snapshot version '2.4.x'
  67. INFO - Slf4jLogger.info(42) |2021-04-12T11:29:47,877| Reading from openmrs.liquibasechangelog
  68. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(95) |2021-04-12T11:29:48,441| file 'org/openmrs/liquibase/snapshots/schema-only/liquibase-schema-only-2.4.x.xml' contains 0 un-run change sets
  69. INFO - Slf4jLogger.info(42) |2021-04-12T11:29:48,591| Reading from openmrs.liquibasechangelog
  70. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(95) |2021-04-12T11:29:48,937| file 'org/openmrs/liquibase/snapshots/core-data/liquibase-core-data-2.4.x.xml' contains 0 un-run change sets
  71. WARN - Slf4jLogger.warning(32) |2021-04-12T11:29:48,939| Failed to restore the auto commit to true
  72. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(113) |2021-04-12T11:29:48,939| the Liquibase snapshot version that had been used to initialize the OpenMRS database is '2.4.x'
  73. INFO - Slf4jLogger.info(42) |2021-04-12T11:29:49,019| Reading from openmrs.liquibasechangelog
  74. INFO - ChangeLogDetective.getUnrunLiquibaseUpdateFileNames(149) |2021-04-12T11:29:49,054| file 'org/openmrs/liquibase/updates/liquibase-update-to-latest-2.5.x.xml}' contains 0 un-run change sets
  75. WARN - Slf4jLogger.warning(32) |2021-04-12T11:29:49,056| Failed to restore the auto commit to true
  76. WARN - ModuleUtil.getModuleRepository(504) |2021-04-12T11:29:50,277| Module repository /home/renske/.OpenMRS/modules doesn't exist. Creating directories now.
  77. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2129) |2021-04-12T11:29:50,295| Unable to find a runtime properties file at /home/renske/Documents/Internship_kik/openmrs-core/webapp/openmrs-runtime.properties
  78.  
Add Comment
Please, Sign In to add comment