AEM Publish Package Manager | Community
Skip to main content
New Participant
June 13, 2025
Solved

AEM Publish Package Manager

  • June 13, 2025
  • 2 replies
  • 538 views

Hi,

 

I need to install some packages on AEM Publish brand new installation.

 

I am using Author Package Manager URL with just the port number change.

 

1. I do not see any packages in AEM Publish, uploaded or installed. Is this the expected behavior?

2. When I tried to install my package, it fails with error "The tree does not exist".

Is there a problem with my package?

 

Appreciate all your replies.

 

Thanks,

RK.

Best answer by SantoshSai

Hi @nsvsrk,

Working with a brand new AEM Publish instance and trying to install some packages using the same Package Manager URL as Author - just changing the port to match Publish.

Here’s what you are observing and looking for some clarity:

Issue 1: No Packages Visible in Package Manager on Publish

Yes, this can be expected on a fresh Publish install - but there’s also a very common gotcha here:

Are you logged in as an admin?

Unlike Author, the Publish instance doesn’t auto-login, and if you're not authenticated (or logged in as an insufficiently privileged user), the Package Manager may appear empty — or you won’t even have permissions to upload/install packages.

What to do:
Issue 2: Error: “The tree does not exist” when installing package

This typically means your package is trying to install content/code to a path that doesn’t yet exist in the repository — or relies on something not available yet.

What to Check:
  • Open the package and look at the filter.xml (in META-INF/vault/).

  • Check if your filters reference paths like /content/mysite, /apps/myproject, etc.

  • Ensure any required parent structures or templates/components are already deployed on Publish before pushing content.

Example:

If your package includes pages under /content/mysite, but the corresponding site structure or templates under /apps haven’t been installed yet - it will fail.

2 replies

arunpatidar
New Participant
June 13, 2025

Hi @nsvsrk 

You can also replicate package from Author to Publish directly from package manager. Package installation may failed due to various reasons, please check the logs.

Arun Patidar
SantoshSai
SantoshSaiAccepted solution
New Participant
June 13, 2025

Hi @nsvsrk,

Working with a brand new AEM Publish instance and trying to install some packages using the same Package Manager URL as Author - just changing the port to match Publish.

Here’s what you are observing and looking for some clarity:

Issue 1: No Packages Visible in Package Manager on Publish

Yes, this can be expected on a fresh Publish install - but there’s also a very common gotcha here:

Are you logged in as an admin?

Unlike Author, the Publish instance doesn’t auto-login, and if you're not authenticated (or logged in as an insufficiently privileged user), the Package Manager may appear empty — or you won’t even have permissions to upload/install packages.

What to do:
Issue 2: Error: “The tree does not exist” when installing package

This typically means your package is trying to install content/code to a path that doesn’t yet exist in the repository — or relies on something not available yet.

What to Check:
  • Open the package and look at the filter.xml (in META-INF/vault/).

  • Check if your filters reference paths like /content/mysite, /apps/myproject, etc.

  • Ensure any required parent structures or templates/components are already deployed on Publish before pushing content.

Example:

If your package includes pages under /content/mysite, but the corresponding site structure or templates under /apps haven’t been installed yet - it will fail.

Santosh Sai
nsvsrkAuthor
New Participant
June 13, 2025

Hi @ SantoshSai,

 

You are right. I did not login.

As soon I logged in, everything came inline.

 

Thanks,

RK.