jcr size uninstalled modules Jahia 7.3 Jahia 8

How to remove jars of uninstalled modules from the JCR


How to remove uninstalled modules stored in the JCR? 


Prior to Jahia, modules are never removed from the modules-management node. This means any module unistalled is still stored in the JCR.

In order to clean up those module, you can:

- Upgrade Jahia to or later, at startup, a check is done to remove any non installed modules from the JCR.

- On versions older that, you can run the same script from the groovy console in the tools. To access the groovy console, connect as root user, then go the following URL: https://your_server_name/modules/tools/groovyConsole.jsp. Execute the following script