Wednesday, 9 June 2021

AEM As Cloud deployment fails with dispatcher image issue

During my initial POCs with sample WKND code, I have noticed a behavior on AEM As Cloud service.

When ever I go for the pipeline and trigger it, the deployment fails with reason - dispatcher image failed. Some analysis was done around it from the logs and was able to resolve it as below.

I was doing my code checkout on windows and while unzipping I was using a software which was breaking the symlinks within dispatcher package. I got some warning during the unzip which I did not give much attention that point of time

To debug this, first I have commented out the dispatcher section in parent pom and deployed and tested the build. It worked on cloud.



Next I used another unzip tool (I remember Winzip was the tool which helped me. 7 Zip was removing symlinks. If it doesn't work, try other way around).

This time the symlink warning did not come durng my unzip and I have redeployed the code again. It worked perfectly.

Another option to fix this, may be, we can change those symlinks to real links if you know how to do that.

As a final option, still if you are unable to find out the reason, my recommendation is to reach out to spp help of Adobe, so that they can verify whether the envirnment was setup correctly.

 

Video Tutorial on AEM Cloud Deployment 




Friday, 4 June 2021

Site Template in AEM FAQ

 Site Template in AEM FAQ

What is Site template (known as Sites 30)?

Site template is a predefined template which can be the starting point of any website creation. It contains basic theming, page templates, configurations and sample content. Instead of going to the archetype way of creating step by step approach of developing a website, Site template helps to utilize the out of the box components and templates and setup a website in shorter period of time. Once the site is up, the developers parallely work towards achieving the brand styles and customization (utilizing CSS, JS)

This is the new recommended Adobe way of developing an AEM site

Can I get it installed on my local AEM instance?
As of now the Site Template is enabled as part of AEM as A Cloud Service ONLY. We will have to contact Adobe to get this feature enabled in our AEM AS CLOUD.

Where I can get the templates?
This is an open-sourced project like Core Components. It can be downloaded from Basic Site Template project on GitHub, but always ensure you use the latest release.
https://github.com/adobe/aem-site-template-basic

What is themes in Sites?

Themes used to depict styles. We can modify theme sources of an Adobe Experience Manager Site to apply brand specific styles.

Where I can find more details?

We can always get demo and tutorials on below link.
https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-develop/site-template/overview.html?lang=en