Problem with the "all" module on Package Manager | Community
Skip to main content
Level 2
January 29, 2024
Solved

Problem with the "all" module on Package Manager

  • January 29, 2024
  • 3 replies
  • 1308 views

Hi everyone,

when I use the Maven profile autoInstallPackage, the AEM Connector that I developed works fine. But when I upload it via package manager the all.zip file, it doesn't work and the core module stills in a loop.

I attach two different error.log: autoInstallPackage and upload via package manager.

In the first case, the "all" module is installed last: the maven profile uploads every single zip file and when it uploads the "all.zip" (that contains already uploaded zip files) these files are skipped. In the second case, it's installed first. 

Can anyone tell me where I'm going wrong? If necessary, I attach the various poms

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by keviendamico

I solved it by fixing filter.xml, the test install of the package manager said that there was a faulty filter, even if it didn't give it to me during compilation

3 replies

arunpatidar
Community Advisor
Community Advisor
January 29, 2024

Hi @keviendamico 
Are you installing only all packages manually or are you following the same order as install by AEM profile?

 

You can try with 

$ mvn clean install -PautoInstallSinglePackage 

Arun Patidar
Level 2
January 29, 2024

Hi @arunpatidar 

I'm installing manually the all.zip via upload on package manager. The autoInstallSinglePackage is not present in my pom, but needs to work via package manager for internal testing

Level 2
January 29, 2024

@arunpatidar same error. I've added autoInstallSinglePackage in the all-module's pom.xml and the core stuck in loop. Log is the same as the one generated by uploading from package manager

UPDATE: when I refresh the Package Manager page, the packages status switch to ok or to install at each refresh. This doesn't happen with autoInstallPackage because all packages are installed individually

 

 

kautuk_sahni
Community Manager
Community Manager
January 30, 2024

@keviendamico Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni
keviendamicoAuthorAccepted solution
Level 2
February 2, 2024

I solved it by fixing filter.xml, the test install of the package manager said that there was a faulty filter, even if it didn't give it to me during compilation