Hello,
after installing OpenMRS 2.5 WAR 2.0.1 (JAVA 8 , TOMCAT 1.8) . Everything was fine. I tried to restore my databse from previous installation (WAR 1.11.5, RefApp 2.3) . Once the restoration completed I tried to login and I got the following error:
When restoring a database from a backup, you need to restore to the exact version as the one you used to backup. In this case, you need to restore to platform (WAR 1.11.5, RefApp 2.3), then upgrade to OpenMRS 2.5 WAR 2.0.1 (JAVA 8 , TOMCAT 1.8)
@dkayiwa so what I did is restoring my old database to my previous platform . Then undeploy WAR and delete modules … deploy new WAR (openMRS worked fine before uploading new modules ) and then upload the new modules … most of the modules worked fine except data mapping and all modules depending on it
You could be facing exactly the same as here: https://issues.openmrs.org/browse/RA-1254
Drop the metadatamapping_idx_mdtm_mdclass index from the metadatamapping_metadata_term_mapping table and try again.