I am new to openmrs. I encountered two major errors while setting up an instance of openmrs for refapp 3.5.0, which has prevented me from completing the setup. Error 2 looks like it keeps repeating in a loop. Please importantly i want to use ocl data model sample in my openmrs instance. Can someone help?
ERROR - AddressConfigurationLoader.loadAddressConfiguration(67) |2025-10-26T02:12:18,615| Address hierarchy configuration file appears invalid, skipping the loading process @jandon
. ERROR - ImportTask$1.run(108) |2025-10-26T02:23:17,821| Failed to import mapping org.openmrs.module.openconceptlab.client.OclMapping@3845e328[externalId=38512ABBBBBBBBBBBBBBBBBBBBBBBBBBBBBB]
org.openmrs.module.openconceptlab.importer.ImportException: Cannot save mapping /orgs/CIEL/sources/CIEL/mappings/43126/
at org.openmrs.module.openconceptlab.importer.Saver.saveMapping(Saver.java:527) ~[openconceptlab.jar:?]
at org.openmrs.module.openconceptlab.importer.ImportTask$1.run(ImportTask.java:99) ~[openconceptlab.jar:?]
at org.openmrs.api.context.Daemon.lambda$runInDaemonThreadInternal$5(Daemon.java:452) ~[openmrs-api-2.7.6.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_202]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_202]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_202]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_202]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
Caused by: org.openmrs.module.openconceptlab.importer.SavingException: Cannot create mapping from concept with URL /orgs/CIEL/sources/CIEL/concepts/110099/, because the concept has not been imported
at org.openmrs.module.openconceptlab.importer.Saver.saveMapping(Saver.java:362) ~[openconceptlab.jar:?]
… 7 more
This is a known issue that we are in the process of fixing, I believe. That said, it usually doesn’t stop the instance from starting up. The second error would seem like its running on a loop because its logging it for different concepts. Did you stop the process when the error popped up? Try letting it run regardless, and the instance should spin up
@dKayiwa. I left the open sdk to run completely. I think it is fine now. I tested by subscribing to Openconceptlab and it was sucessfully imported. Also activated Demo data sample.