-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
When updating Magnolia 4.5.x to 5.5.x, the update of the resources module fails the installation due to:
2016-10-21 15:31:35,467 ERROR info.magnolia.module.InstallContextImpl : [303/1206 tasks - Magnolia Resources Module (version 2.5.0-beta1)]> Could not install or update resources module. Task 'Yaml file resources template' failed. (IOException: Can't find resource to bootstrap at /mgnl-bootstrap/resources/templates/config.modules.resources.templates.yaml.xml) info.magnolia.module.delta.TaskExecutionException: Could not bootstrap: Can't find resource to bootstrap at /mgnl-bootstrap/resources/templates/config.modules.resources.templates.yaml.xml at info.magnolia.module.delta.BootstrapResourcesTask.execute(BootstrapResourcesTask.java:75) at info.magnolia.module.delta.ConditionalDelegateTask.execute(ConditionalDelegateTask.java:61) at info.magnolia.module.ModuleManagerImpl.applyDeltas(ModuleManagerImpl.java:545) at info.magnolia.module.ModuleManagerImpl.installOrUpdateModule(ModuleManagerImpl.java:527) at info.magnolia.module.ModuleManagerImpl$1.doExec(ModuleManagerImpl.java:302) at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:429) at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:426) at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:400) at info.magnolia.module.ModuleManagerImpl.performInstallOrUpdate(ModuleManagerImpl.java:296) at info.magnolia.module.ui.ModuleManagerWebUI$2.run(ModuleManagerWebUI.java:123) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Can't find resource to bootstrap at /mgnl-bootstrap/resources/templates/config.modules.resources.templates.yaml.xml at info.magnolia.importexport.BootstrapUtil.bootstrap(BootstrapUtil.java:92) at info.magnolia.module.delta.BootstrapResourcesTask.execute(BootstrapResourcesTask.java:73) ... 10 more
Source of the problem
There is an install task that tries to re-bootstrap the yaml template, but the file was removed in MGNLRES-287.
Solution
Remove install task.
Acceptance criteria
- caused by
-
MGNLRES-287 Remove legacy YAML template
- Closed
- relates to
-
MAGNOLIA-6840 Fix migration 4.5 → 5.5 and 5.3 → 5.5
- Closed