Alfresco -Module 'myModule' version 1.0.19.01xxxx is currently installed and must be uninstalled before version 1.0.19.00xx
Ever noticed the frustrating error at Alfresco start?
Caused by:
org.alfresco.error.AlfrescoRuntimeException: 11100010
Downgrading of
modules is not supported.
Module
'myModule' version 1.0.19.01xxxx is currently installed and must
be uninstalled before version 1.0.19.00xx can be installed.
at
org.alfresco.error.AlfrescoRuntimeException.create(AlfrescoRuntimeException.java:51)
at
org.alfresco.repo.module.ModuleComponentHelper.startModule(ModuleComponentHelper.java:632)
at
org.alfresco.repo.module.ModuleComponentHelper.access$500(ModuleComponentHelper.java:61)
at
org.alfresco.repo.module.ModuleComponentHelper$1$1.execute(ModuleComponentHelper.java:259)
at
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)
at
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:345)
at
org.alfresco.repo.module.ModuleComponentHelper$1.doWork(ModuleComponentHelper.java:280)
at
org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
at
org.alfresco.repo.module.ModuleComponentHelper.startModules(ModuleComponentHelper.java:209)
at
org.alfresco.repo.module.ModuleServiceImpl.startModules(ModuleServiceImpl.java:142)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
You can fix this couple of ways either updating the corresponding node in DB as mentioned here by Sujit, or by running a simple javascript snippet at the repository to update the nodes(module.currentVersion) property as a script or in javascript console.
What if this occurs at your development environment using Maven SDK at startup. The repository is not up yet so you cant execute a script or is difficult to connect to H2 db instance and perform an update.
Alternatively try this :
At the root of your project execute
mvn versions:set -DnewVersion=1.0.19.02xxx
The issue should be resolved :-)