Skip to main content
definitions upgrade System administrator

Unable to persist bundle from resource error

Question

The logs show errors with bundle persistence, this might happen especially after an upgrade. Below is an example log entry:

ERROR [ModuleUtils] - Unable to persist bundle from resource URL file:/JAHIA_INSTALL/digital-factory-data/modules/bootstrap-2.0.3.jar. 
Cause: Unable to store information for bundle org.jahia.services.modulemanager.persistence.PersistentBundle@65854e3
[checksum=ac1c406d7fd214c5938bcfe6c7bbb88b,displayName=Jahia Bootstrap,lastModified=0,
resource=URL file:/JAHIA_INSTAL/digital-factory-data/modules/bootstrap-2.0.3.jar,transformationRequired=true,groupId=org.jahia.modules,key=org.jahia.modules/bootstrap/2.0.3,symbolicName=bootstrap,version=2.0.3

 

Cause

This may happen in instances where the Jahia core definitions weren't updated correctly after upgrading.

Solution

  • Do a touch on the 02-jahia-nodetypes.cnd
    touch TOMCAT_HOME/webapps/ROOT/WEB-INF/etc/repository/nodetypes/02-jahia-nodetypes.cnd
  • Restart Jahia