aemcrx

Package errors on install Crx/de - no logs - AEM 6.3


When attempting to upload and install a file created via ./mvnw clean install I'm running into the error below:

Install Package: /etc/packages/apple-cms/cms-content-v1.zip

Mon Mar 19 2018 15:53:13 GMT-0400 (EDT)

Installing content    
Collecting import information...    
Installing node types...
Installing privileges...
Importing content...
- /
... (contents of installation truncated)
saving approx 1 nodes...
Package imported (with errors, check logs!)

Content is missing from the crx/de tree under /etc/map/publish/http - so I wish to check the logs.

Attempting to tail all of the logs under ../author/crx-quickstart/logs but not getting any output at all - same for both publish and authoring instance.

filter.xml

<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
  <filter root="/apps/apple-members"/>
  <filter root="/apps/sling" mode="update"/>
  <filter root="/etc/clientlibs/apple-members"/>
  <filter root="/etc/map.publish" mode="update"/>
  <filter root="/etc/designs/apple-members/fonts" mode="update"/>
  <filter root="/etc/designs/apple-members/images" mode="update"/>
  <filter root="/etc/designs/apple-members/styles" mode="update"/>
</workspaceFilter>

Solution

  • There are no real log-entries created by the package manager.

    You have 3 options to see the package manager output.

    1. Go to the pacakge manager http://localhost:4502/crx/packmgr/index.jsp and re-install the package manually.

    2. Set the content-package-maven-plugin in verbose mode on the command line with:

      mvn clean install -PautoInstallPackage -Dvault.verbose=true

    3. Enable the verbose mode in the pom.xml file permanently.

      <groupId>com.day.jcr.vault</groupId> <artifactId>content-package-maven-plugin</artifactId> <extensions>true</extensions> <configuration> <verbose>true</verbose> ...