jerome24

Modules failed to start2

Dec 11th, 2020
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.58 KB | None | 0 0
  1. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:10,600| Exiting method saveGlobalProperty
  2. WARN - ModuleFactory.startModuleInternal(786) |2020-12-11 09:40:13,239| Error while trying to start module: reporting
  3. org.openmrs.module.ModuleException: Unable to update data model using liquibase.xml. Module: Reporting
  4. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:993)
  5. at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:726)
  6. at org.openmrs.api.context.Daemon$1.run(Daemon.java:80)
  7. Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase.xml::reporting_report_design_6::mseaton:
  8. Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE `reporting_report_design` DROP COLUMN `report_definition_id`: Cannot drop index 'report_definition_id for reporting_report_design': needed in a foreign key constraint:
  9. Caused By: Error executing SQL ALTER TABLE `reporting_report_design` DROP COLUMN `report_definition_id`: Cannot drop index 'report_definition_id for reporting_report_design': needed in a foreign key constraint:
  10. Caused By: Cannot drop index 'report_definition_id for reporting_report_design': needed in a foreign key constraint
  11. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:347)
  12. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
  13. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:191)
  14. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
  15. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:220)
  16. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:986)
  17. ... 2 more
  18. Caused by: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE `reporting_report_design` DROP COLUMN `report_definition_id`: Cannot drop index 'report_definition_id for reporting_report_design': needed in a foreign key constraint
  19. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62)
  20. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:104)
  21. at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1091)
  22. at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1075)
  23. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
  24. ... 7 more
  25. Caused by: java.sql.SQLException: Cannot drop index 'report_definition_id for reporting_report_design': needed in a foreign key constraint
  26. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)
  27. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
  28. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
  29. at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
  30. at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
  31. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2480)
  32. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2438)
  33. at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845)
  34. at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745)
  35. at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:92)
  36. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
  37. ... 11 more
  38. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:13,260| In method AlertService.saveAlert. Arguments: Alert=Alert: #null,
  39. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:13,265| Exiting method saveAlert
  40. ERROR - ModuleFactory.startModules(256) |2020-12-11 09:40:13,288| Module Appointment Scheduling Module cannot be started because it requires the following module(s): reporting 0.9.2 Please install and start these modules first.
  41. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:13,305| In method AlertService.saveAlert. Arguments: Alert=Alert: #null,
  42. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:13,316| Exiting method saveAlert
  43. ERROR - ModuleFactory.startModules(256) |2020-12-11 09:40:13,340| Module Reporting REST cannot be started because it requires the following module(s): reporting 1.15.0 Please install and start these modules first.
  44. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:13,360| In method AlertService.saveAlert. Arguments: Alert=Alert: #null,
  45. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:13,367| Exiting method saveAlert
  46. WARN - ModuleFactory.startModuleInternal(786) |2020-12-11 09:40:29,518| Error while trying to start module: idgen
  47. org.openmrs.module.ModuleException: Unable to update data model using liquibase.xml. Module: ID Generation
  48. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:993)
  49. at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:726)
  50. at org.openmrs.api.context.Daemon$1.run(Daemon.java:80)
  51. Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase.xml::0f79a646-4f62-4fef-b035-421ad8f73ba2::Partners In Health:
  52. Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE `idgen_auto_generation_option` ADD CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`): Cannot add or update a child row: a foreign key constraint fails (`openmrs`.`#sql-d9c_11`, CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`)):
  53. Caused By: Error executing SQL ALTER TABLE `idgen_auto_generation_option` ADD CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`): Cannot add or update a child row: a foreign key constraint fails (`openmrs`.`#sql-d9c_11`, CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`)):
  54. Caused By: Cannot add or update a child row: a foreign key constraint fails (`openmrs`.`#sql-d9c_11`, CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`))
  55. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:347)
  56. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
  57. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:191)
  58. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
  59. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:220)
  60. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:986)
  61. ... 2 more
  62. Caused by: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE `idgen_auto_generation_option` ADD CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`): Cannot add or update a child row: a foreign key constraint fails (`openmrs`.`#sql-d9c_11`, CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`))
  63. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62)
  64. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:104)
  65. at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1091)
  66. at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1075)
  67. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
  68. ... 7 more
  69. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`openmrs`.`#sql-d9c_11`, CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`))
  70. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  71. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  72. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  73. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  74. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  75. at com.mysql.jdbc.Util.getInstance(Util.java:408)
  76. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
  77. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
  78. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
  79. at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
  80. at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
  81. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2480)
  82. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2438)
  83. at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845)
  84. at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745)
  85. at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:92)
  86. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
  87. ... 11 more
  88. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:29,539| In method AlertService.saveAlert. Arguments: Alert=Alert: #null,
  89. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:29,543| Exiting method saveAlert
  90. ERROR - ModuleFactory.startModules(256) |2020-12-11 09:40:29,556| Module Registration Core Module cannot be started because it requires the following module(s): event 2.8.0,idgen 4.3 Please install and start these modules first.
  91. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:29,566| In method AlertService.saveAlert. Arguments: Alert=Alert: #null,
  92. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:29,570| Exiting method saveAlert
  93. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:29,841| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: appframework.started value: true,
  94. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:29,843| Exiting method saveGlobalProperty
  95. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:29,848| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: appframework.mandatory value: false,
  96. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:29,850| Exiting method saveGlobalProperty
  97. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:30,247| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: formentryapp.started value: true,
  98. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:30,250| Exiting method saveGlobalProperty
  99. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:30,255| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: formentryapp.mandatory value: false,
  100. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:30,258| Exiting method saveGlobalProperty
  101. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:30,845| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: allergyui.started value: true,
  102. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:30,847| Exiting method saveGlobalProperty
  103. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:30,851| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: allergyui.mandatory value: false,
  104. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:30,853| Exiting method saveGlobalProperty
  105. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:31,102| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: appui.started value: true,
  106. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:31,105| Exiting method saveGlobalProperty
  107. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:31,108| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: appui.mandatory value: false,
  108. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:31,110| Exiting method saveGlobalProperty
  109. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:31,466| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: adminui.started value: true,
  110. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:31,469| Exiting method saveGlobalProperty
  111. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:31,474| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: adminui.mandatory value: false,
  112. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:31,477| Exiting method saveGlobalProperty
  113. ERROR - ModuleFactory.startModules(256) |2020-12-11 09:40:31,520| Module Reporting UI Module cannot be started because it requires the following module(s): reportingrest 1.4,reporting 0.9.3 Please install and start these modules first.
  114. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:31,532| In method AlertService.saveAlert. Arguments: Alert=Alert: #null,
  115. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:31,535| Exiting method saveAlert
  116. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:40:34,326| In method SchedulerService.saveToMemento. Arguments:
  117. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:40:34,329| Exiting method saveToMemento
  118. INFO - EhCacheManagerFactoryBean.destroy(181) |2020-12-11 09:40:34,406| Shutting down EhCache CacheManager
  119. INFO - ServiceContext.startRefreshingContext(832) |2020-12-11 09:40:34,408| Refreshing Context
  120. INFO - EhCacheManagerFactoryBean.afterPropertiesSet(129) |2020-12-11 09:41:12,476| Initializing EhCache CacheManager
  121. WARN - SimpleUrlHandlerMapping.registerHandlers(115) |2020-12-11 09:41:21,749| Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
  122. WARN - IdgenTask.run(32) |2020-12-11 09:41:28,617| Not running scheduled task. DaemonToken = null; enabled = false
  123. WARN - SimpleUrlHandlerMapping.registerHandlers(115) |2020-12-11 09:41:37,639| Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
  124. INFO - ServiceContext.doneRefreshingContext(843) |2020-12-11 09:41:37,688| Done refreshing Context
  125. ERROR - TaskFactory.createInstance(63) |2020-12-11 09:41:37,762| OpenmrsClassLoader could not load class: org.openmrs.module.formentry.ProcessFormEntryQueueTask. Probably due to a module not being loaded
  126. ERROR - TimerSchedulerServiceImpl.scheduleTask(275) |2020-12-11 09:41:37,763| Failed to schedule task Process Form Entry Queue
  127. org.openmrs.scheduler.SchedulerException: could not load class
  128. at org.openmrs.scheduler.TaskFactory.createInstance(TaskFactory.java:65)
  129. at org.openmrs.scheduler.timer.TimerSchedulerServiceImpl.scheduleTask(TimerSchedulerServiceImpl.java:219)
  130. at org.openmrs.scheduler.timer.TimerSchedulerServiceImpl.onStartup(TimerSchedulerServiceImpl.java:108)
  131. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  132. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  133. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  134. at java.lang.reflect.Method.invoke(Unknown Source)
  135. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  136. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  137. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  138. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  139. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  140. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  141. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  142. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  143. at com.sun.proxy.$Proxy205.onStartup(Unknown Source)
  144. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  145. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  146. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  147. at java.lang.reflect.Method.invoke(Unknown Source)
  148. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  149. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  150. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  151. at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:52)
  152. at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:303)
  153. at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61)
  154. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  155. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  156. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  157. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  158. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  159. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  160. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  161. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  162. at com.sun.proxy.$Proxy206.onStartup(Unknown Source)
  163. at org.openmrs.scheduler.SchedulerUtil.startup(SchedulerUtil.java:53)
  164. at org.openmrs.module.ModuleUtil.refreshApplicationContext(ModuleUtil.java:899)
  165. at org.openmrs.module.web.WebModuleUtil.refreshWAC(WebModuleUtil.java:847)
  166. at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:632)
  167. at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:612)
  168. at org.openmrs.web.Listener.startOpenmrs(Listener.java:251)
  169. at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
  170. Caused by: java.lang.ClassNotFoundException: org.openmrs.module.formentry.ProcessFormEntryQueueTask
  171. at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1358)
  172. at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1180)
  173. at org.openmrs.util.OpenmrsClassLoader.loadClass(OpenmrsClassLoader.java:169)
  174. at java.lang.ClassLoader.loadClass(Unknown Source)
  175. at org.openmrs.scheduler.TaskFactory.createInstance(TaskFactory.java:51)
  176. ... 41 more
  177. ERROR - TimerSchedulerServiceImpl.onStartup(113) |2020-12-11 09:41:37,764| Failed to schedule task for class org.openmrs.module.formentry.ProcessFormEntryQueueTask
  178. org.openmrs.scheduler.SchedulerException: Failed to schedule task
  179. at org.openmrs.scheduler.timer.TimerSchedulerServiceImpl.scheduleTask(TimerSchedulerServiceImpl.java:276)
  180. at org.openmrs.scheduler.timer.TimerSchedulerServiceImpl.onStartup(TimerSchedulerServiceImpl.java:108)
  181. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  182. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  183. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  184. at java.lang.reflect.Method.invoke(Unknown Source)
  185. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  186. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  187. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  188. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  189. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  190. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  191. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  192. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  193. at com.sun.proxy.$Proxy205.onStartup(Unknown Source)
  194. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  195. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  196. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  197. at java.lang.reflect.Method.invoke(Unknown Source)
  198. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  199. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  200. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  201. at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:52)
  202. at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:303)
  203. at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61)
  204. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  205. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  206. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  207. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  208. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  209. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  210. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  211. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  212. at com.sun.proxy.$Proxy206.onStartup(Unknown Source)
  213. at org.openmrs.scheduler.SchedulerUtil.startup(SchedulerUtil.java:53)
  214. at org.openmrs.module.ModuleUtil.refreshApplicationContext(ModuleUtil.java:899)
  215. at org.openmrs.module.web.WebModuleUtil.refreshWAC(WebModuleUtil.java:847)
  216. at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:632)
  217. at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:612)
  218. at org.openmrs.web.Listener.startOpenmrs(Listener.java:251)
  219. at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
  220. Caused by: org.openmrs.scheduler.SchedulerException: could not load class
  221. at org.openmrs.scheduler.TaskFactory.createInstance(TaskFactory.java:65)
  222. at org.openmrs.scheduler.timer.TimerSchedulerServiceImpl.scheduleTask(TimerSchedulerServiceImpl.java:219)
  223. ... 40 more
  224. Caused by: java.lang.ClassNotFoundException: org.openmrs.module.formentry.ProcessFormEntryQueueTask
  225. at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1358)
  226. at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1180)
  227. at org.openmrs.util.OpenmrsClassLoader.loadClass(OpenmrsClassLoader.java:169)
  228. at java.lang.ClassLoader.loadClass(Unknown Source)
  229. at org.openmrs.scheduler.TaskFactory.createInstance(TaskFactory.java:51)
  230. ... 41 more
  231. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:42:07,589| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: login.url value: login.htm,
  232. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:42:07,591| Exiting method saveGlobalProperty
  233. ERROR - CommonsLoggingOutput.error(75) |2020-12-11 09:42:10,117| Line=292 The content of element type "dwr" must match "(init?,allow?,signatures?)".
  234. ERROR - CommonsLoggingOutput.error(75) |2020-12-11 09:42:10,124| Parameter mismatch parsing signatures section in dwr.xml on line: DWRAtlasService.disableAtlasModule()
  235. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2078) |2020-12-11 09:42:10,162| Unable to find a runtime properties file at C:\Program Files\Apache Software Foundation\Tomcat 8.5\openmrs-runtime.properties
  236. ERROR - TaskFactory.createInstance(63) |2020-12-11 09:42:10,177| OpenmrsClassLoader could not load class: org.openmrs.module.formentry.ProcessFormEntryQueueTask. Probably due to a module not being loaded
  237. ERROR - TimerSchedulerServiceImpl.scheduleTask(275) |2020-12-11 09:42:10,177| Failed to schedule task Process Form Entry Queue
  238. org.openmrs.scheduler.SchedulerException: could not load class
  239. at org.openmrs.scheduler.TaskFactory.createInstance(TaskFactory.java:65)
  240. at org.openmrs.scheduler.timer.TimerSchedulerServiceImpl.scheduleTask(TimerSchedulerServiceImpl.java:219)
  241. at org.openmrs.scheduler.timer.TimerSchedulerServiceImpl.onStartup(TimerSchedulerServiceImpl.java:108)
  242. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  243. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  244. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  245. at java.lang.reflect.Method.invoke(Unknown Source)
  246. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  247. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  248. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  249. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  250. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  251. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  252. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  253. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  254. at com.sun.proxy.$Proxy205.onStartup(Unknown Source)
  255. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  256. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  257. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  258. at java.lang.reflect.Method.invoke(Unknown Source)
  259. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  260. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  261. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  262. at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:52)
  263. at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:303)
  264. at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61)
  265. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  266. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  267. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  268. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  269. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  270. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  271. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  272. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  273. at com.sun.proxy.$Proxy206.onStartup(Unknown Source)
  274. at org.openmrs.scheduler.SchedulerUtil.startup(SchedulerUtil.java:53)
  275. at org.openmrs.web.Listener.startOpenmrs(Listener.java:254)
  276. at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
  277. Caused by: java.lang.ClassNotFoundException: org.openmrs.module.formentry.ProcessFormEntryQueueTask
  278. at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1358)
  279. at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1180)
  280. at org.openmrs.util.OpenmrsClassLoader.loadClass(OpenmrsClassLoader.java:169)
  281. at java.lang.ClassLoader.loadClass(Unknown Source)
  282. at org.openmrs.scheduler.TaskFactory.createInstance(TaskFactory.java:51)
  283. ... 37 more
  284. ERROR - TimerSchedulerServiceImpl.onStartup(113) |2020-12-11 09:42:10,178| Failed to schedule task for class org.openmrs.module.formentry.ProcessFormEntryQueueTask
  285. org.openmrs.scheduler.SchedulerException: Failed to schedule task
  286. at org.openmrs.scheduler.timer.TimerSchedulerServiceImpl.scheduleTask(TimerSchedulerServiceImpl.java:276)
  287. at org.openmrs.scheduler.timer.TimerSchedulerServiceImpl.onStartup(TimerSchedulerServiceImpl.java:108)
  288. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  289. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  290. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  291. at java.lang.reflect.Method.invoke(Unknown Source)
  292. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  293. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  294. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  295. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  296. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  297. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  298. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  299. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  300. at com.sun.proxy.$Proxy205.onStartup(Unknown Source)
  301. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  302. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  303. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  304. at java.lang.reflect.Method.invoke(Unknown Source)
  305. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  306. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  307. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  308. at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:52)
  309. at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:303)
  310. at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61)
  311. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  312. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  313. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  314. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  315. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  316. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  317. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  318. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  319. at com.sun.proxy.$Proxy206.onStartup(Unknown Source)
  320. at org.openmrs.scheduler.SchedulerUtil.startup(SchedulerUtil.java:53)
  321. at org.openmrs.web.Listener.startOpenmrs(Listener.java:254)
  322. at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
  323. Caused by: org.openmrs.scheduler.SchedulerException: could not load class
  324. at org.openmrs.scheduler.TaskFactory.createInstance(TaskFactory.java:65)
  325. at org.openmrs.scheduler.timer.TimerSchedulerServiceImpl.scheduleTask(TimerSchedulerServiceImpl.java:219)
  326. ... 36 more
  327. Caused by: java.lang.ClassNotFoundException: org.openmrs.module.formentry.ProcessFormEntryQueueTask
  328. at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1358)
  329. at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1180)
  330. at org.openmrs.util.OpenmrsClassLoader.loadClass(OpenmrsClassLoader.java:169)
  331. at java.lang.ClassLoader.loadClass(Unknown Source)
  332. at org.openmrs.scheduler.TaskFactory.createInstance(TaskFactory.java:51)
  333. ... 37 more
  334. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2078) |2020-12-11 09:42:10,396| Unable to find a runtime properties file at C:\Program Files\Apache Software Foundation\Tomcat 8.5\openmrs-runtime.properties
  335. WARN - ModuleFactory.startModuleInternal(786) |2020-12-11 09:44:00,289| Error while trying to start module: idgen
  336. org.openmrs.module.ModuleException: Unable to update data model using liquibase.xml. Module: ID Generation
  337. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:993)
  338. at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:726)
  339. at org.openmrs.api.context.Daemon$1.run(Daemon.java:80)
  340. Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase.xml::0f79a646-4f62-4fef-b035-421ad8f73ba2::Partners In Health:
  341. Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE `idgen_auto_generation_option` ADD CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`): Cannot add or update a child row: a foreign key constraint fails (`openmrs`.`#sql-d9c_21`, CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`)):
  342. Caused By: Error executing SQL ALTER TABLE `idgen_auto_generation_option` ADD CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`): Cannot add or update a child row: a foreign key constraint fails (`openmrs`.`#sql-d9c_21`, CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`)):
  343. Caused By: Cannot add or update a child row: a foreign key constraint fails (`openmrs`.`#sql-d9c_21`, CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`))
  344. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:347)
  345. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
  346. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:191)
  347. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
  348. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:220)
  349. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:986)
  350. ... 2 more
  351. Caused by: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE `idgen_auto_generation_option` ADD CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`): Cannot add or update a child row: a foreign key constraint fails (`openmrs`.`#sql-d9c_21`, CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`))
  352. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62)
  353. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:104)
  354. at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1091)
  355. at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1075)
  356. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
  357. ... 7 more
  358. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`openmrs`.`#sql-d9c_21`, CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`))
  359. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  360. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  361. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  362. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  363. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  364. at com.mysql.jdbc.Util.getInstance(Util.java:408)
  365. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
  366. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
  367. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
  368. at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
  369. at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
  370. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2480)
  371. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2438)
  372. at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845)
  373. at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745)
  374. at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:92)
  375. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
  376. ... 11 more
  377. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:44:00,332| In method AlertService.saveAlert. Arguments: Alert=Alert: #null,
  378. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:44:00,336| Exiting method saveAlert
  379. WARN - ModuleFactory.startModuleInternal(786) |2020-12-11 09:44:09,255| Error while trying to start module: idgen
  380. org.openmrs.module.ModuleException: Unable to update data model using liquibase.xml. Module: ID Generation
  381. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:993)
  382. at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:726)
  383. at org.openmrs.api.context.Daemon$1.run(Daemon.java:80)
  384. Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase.xml::0f79a646-4f62-4fef-b035-421ad8f73ba2::Partners In Health:
  385. Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE `idgen_auto_generation_option` ADD CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`): Cannot add or update a child row: a foreign key constraint fails (`openmrs`.`#sql-d9c_22`, CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`)):
  386. Caused By: Error executing SQL ALTER TABLE `idgen_auto_generation_option` ADD CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`): Cannot add or update a child row: a foreign key constraint fails (`openmrs`.`#sql-d9c_22`, CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`)):
  387. Caused By: Cannot add or update a child row: a foreign key constraint fails (`openmrs`.`#sql-d9c_22`, CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`))
  388. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:347)
  389. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
  390. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:191)
  391. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
  392. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:220)
  393. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:986)
  394. ... 2 more
  395. Caused by: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE `idgen_auto_generation_option` ADD CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`): Cannot add or update a child row: a foreign key constraint fails (`openmrs`.`#sql-d9c_22`, CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`))
  396. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62)
  397. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:104)
  398. at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1091)
  399. at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1075)
  400. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
  401. ... 7 more
  402. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`openmrs`.`#sql-d9c_22`, CONSTRAINT `identifier_type for idgen_auto_generation_option` FOREIGN KEY (`identifier_type`) REFERENCES `patient_identifier_type` (`patient_identifier_type_id`))
  403. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  404. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  405. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  406. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  407. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  408. at com.mysql.jdbc.Util.getInstance(Util.java:408)
  409. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
  410. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
  411. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
  412. at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
  413. at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
  414. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2480)
  415. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2438)
  416. at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845)
  417. at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745)
  418. at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:92)
  419. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
  420. ... 11 more
  421. INFO - LoggingAdvice.invoke(116) |2020-12-11 09:44:09,295| In method AlertService.saveAlert. Arguments: Alert=Alert: #null,
  422. INFO - LoggingAdvice.invoke(156) |2020-12-11 09:44:09,298| Exiting method saveAlert
  423. WARN - IdgenTask.run(32) |2020-12-11 09:46:28,632| Not running scheduled task. DaemonToken = null; enabled = false
  424. WARN - IdgenTask.run(32) |2020-12-11 09:51:28,634| Not running scheduled task. DaemonToken = null; enabled
Add Comment
Please, Sign In to add comment