Alfresco -Module 'myModule' version 1.0.19.01xxxx is currently installed and must be uninstalled before version 1.0.19.00xx

Alfresco -Module 'myModule' version 1.0.19.01xxxx is currently installed and must be uninstalled before version 1.0.19.00xx

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 :-)
Alfresco Activiti workflow deployment issues: Form key null,

Alfresco Activiti workflow deployment issues: Form key null,


Alfresco workflow :

Ever noticed below errors?

http://localhost:8080/alfresco/service/api/workflow-instances/activiti$3422

Find the workflow id from the workflow console:

Error as below?

{
    "status" : 
  {
    "code" : 404,
    "name" : "Not Found",
    "description" : "Requested resource is not available."
  },  
  
  "message" : "09090002 Unable to find workflow instance with id: activiti$ContentApprovalFlow:1:5605",  
  "exception" : "",
  
  "callstack" : 
  [ 
      
  ],
  
  "server" : "Community v6.1.2 (r589dc49b-b205) schema 13,001",
  "time" : "Oct 9, 2019, 1:35:17 PM"
}


Solution encode the request and access like
http://localhost:8080/alfresco/service/api/workflow-instances/activiti%245905?includeTasks=true


Error as below?

{
    "status" : 
  {
    "code" : 500,
    "name" : "Internal Error",
    "description" : "An error inside the HTTP server which prevented it from fulfilling the request."
  },  
  
  "message" : "09090001 Wrapped Exception (with status template): null",  
  "exception" : "",
  
  "callstack" : 
  [ 
      
  ],
  
  "server" : "Community v6.1.2 (r589dc49b-b205) schema 13,001",
  "time" : "Oct 9, 2019, 2:24:32 PM"
}

Solution: Check your definition if it is missing formkeys are configured.
alfresco formkey