[MGNLRES-290] Migration from 1.5.x to 2.5 fails Created: 26/Oct/16 Updated: 29/Mar/22 Resolved: 27/Oct/16 |
|
| Status: | Closed |
| Project: | Magnolia Resources Module |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.5 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Philip Mundt | Assignee: | Philip Mundt |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||
| Epic Link: | Fix migration 4.5 → 5.5 and 5.3 → 5.5 | ||||||||||||||||
| Sprint: | Basel 67 | ||||||||||||||||
| Story Points: | 2 | ||||||||||||||||
| Team: | |||||||||||||||||
| Description |
|
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 problemThere is an install task that tries to re-bootstrap the yaml template, but the file was removed in SolutionRemove install task. |