Hello,
We are using AEM6.5 AMS, and when we run the AMS pipeline, it shows that it has been successfully deployed without any problems.
However, after realizing that the code was not updated, I checked the package manager of Author/publish and found that the ui.content and ui.apps sections were not installed equally as shown in the screenshot.
When I clicked to install the above two packages, an error occurred and they were not installed.
Please let me know how I can solve this problem and deploy all packages.
AMS AEM 6.5.16
Regards,
Solved! Go to Solution.
Views
Replies
Total Likes
You would need to check the logs, which are generated on clicking the install button. If we fix the issue mentioned there, packages would be installed.
Please have a look and share logs, if needed
You would need to check the logs, which are generated on clicking the install button. If we fix the issue mentioned there, packages would be installed.
Please have a look and share logs, if needed
Hi @keehwan1 ,
To troubleshoot and resolve the issue with code packages not being installed properly in Adobe Managed Services (AMS) for AEM 6.5.16, follow these steps:
Examine the log files for both the Author and Publish instances. Look for any errors related to package installation. The relevant logs are:
Ensure that the packages (ui.apps and ui.content) are not corrupted. You can:
If the automated deployment via the AMS pipeline isn't working, try manually installing the packages:
Ensure that all dependencies are satisfied and that packages are installed in the correct order. Typically, ui.apps should be installed before ui.content.
Ensure that the user account used by the AMS pipeline and for manual installation has the necessary permissions to install packages. Missing permissions can cause installation failures.
Use CRXDE Lite to verify the current state of the repository. Look for:
Check the installation logs in the AEM Package Manager:
Ensure that your AEM instances have sufficient heap and memory allocated. Insufficient resources can lead to package installation failures.
Ensure all necessary OSGi bundles are in the active state. Go to the OSGi console:
Ensure that the packages are compatible with your AEM version. Sometimes, a minor mismatch in versioning can cause issues.
Here’s a sample workflow to follow:
Rebuild Packages:
mvn clean install -PautoInstallPackage
Upload via Package Manager:
Install Packages:
Check Bundle Status:
Verify Permissions:
Permission Issues: Ensure the deployment user has crx:replicate permissions on the /apps and /content nodes.
Out of Memory Errors: Increase the heap size of your AEM instance if you encounter out-of-memory errors during package installation.
Corrupt Repository: Use oak-run check to ensure the repository is healthy:
java -jar oak-run.jar check --consistency --binpath <path_to_repository>
By systematically going through these steps, you should be able to identify and resolve the issue preventing your packages from being properly installed. If problems persist, consider reaching out to Adobe support with detailed logs and steps taken for further assistance.
Views
Replies
Total Likes
@keehwan1 Did you find the suggestions from users helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Views
Likes
Replies