templates and components issue while upgrade from AEM 6.1 to 6.5

Avatar

Avatar

josieqqiu

Avatar

josieqqiu

josieqqiu

24-03-2021

Hi every one

I have doing a project migrate a content from AEM 6.1 to 6.5.  According to best practice we have moved the libraries from etc to apps, but we meet some issue, we cannot find the templates created at 6.1, and we and cannot find the component when edit the old content page at edit mode. 

any one meet this issue?

thank you!

Replies

Avatar

Avatar

asutosh_j3

Avatar

asutosh_j3

asutosh_j3

24-03-2021

Hi @josieqqiu 

Please check the upgrade.log to make sure the upgrade was success and there was no issue after upgrade.

Refer the below article to identify the post upgrade checks:

https://experienceleague.adobe.com/docs/experience-manager-65/deploying/upgrading/post-upgrade-check...

https://experienceleague.adobe.com/docs/experience-manager-65/deploying/upgrading/upgrading-code-and...

 

Thanks!

Avatar

Avatar

josieqqiu

Avatar

josieqqiu

josieqqiu

24-03-2021

@asutosh_j3 that make sure the system is 6.5, for we just install AEM 6.5 at local and then install the migration content package at local. and move the libraries to apps and deploy to the AEM6.5

Avatar

Avatar

josieqqiu

Avatar

josieqqiu

josieqqiu

24-03-2021

the old content is look good and can publish to the publish server, that mean this old content pages can find the component at 6.5, but when you want create a new page, you will find no template can be selected
thanks !

Avatar

Avatar

asutosh_j3

Avatar

asutosh_j3

asutosh_j3

24-03-2021

@josieqqiu If the templates are not visible to create new page, please ensure that you have the cq:allowedTemplates are configured with the new path referencing to /conf.
I believe you have already migrated from static to editable template.

asutosh_j3_0-1616642991580.png

 

https://experienceleague.adobe.com/docs/experience-manager-65/developing/platform/templates/page-tem...

Avatar

Avatar

josieqqiu

Avatar

josieqqiu

josieqqiu

24-03-2021

@asutosh_j3our template is static , and will not be change to editable template. I just cannot select these templates when I create a new contentPage, thank you !

Avatar

Avatar

asutosh_j3

Avatar

asutosh_j3

asutosh_j3

24-03-2021

@josieqqiu Can you see your template added into the cq:allowedTemplates path? If it;s not allowed you will not be able to see to create new pages.

Avatar

Avatar

josieqqiu

Avatar

josieqqiu

josieqqiu

24-03-2021

hi I cannot see that, before move libraries this template can find when create content page, but after move this templates cannot see

Avatar

Avatar

josieqqiu

Avatar

josieqqiu

josieqqiu

24-03-2021

under conf folder I need to add this static templats to cq:allowedTemplates?

Avatar

Avatar

josieqqiu

Avatar

josieqqiu

josieqqiu

25-03-2021

<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" jcr:primaryType="cq:Template" jcr:title="RWD Generic Page with Key Visual" allowedPaths="[/content/xxx/abc(/.*)?]"> <jcr:content cq:designPath="/apps/abc/clientlibs/pws/common/rwd-templates/rwd-genericPage-withKeyVisual" cq:deviceGroup="[mobile/groups/responsive]" jcr:primaryType="cq:PageContent" sling:resourceType="/apps/abc/pws/common/components/structure/rwd-genericPage"> <keyVisual jcr:primaryType="nt:unstructured" sling:resourceType="foundation/components/parsys"/> <Content jcr:primaryType="nt:unstructured" sling:resourceType="foundation/components/parsys"/> </jcr:content> </jcr:root>