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.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
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:
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.
Go to: http://localhost:4503/libs/granite/core/content/login.html
Then enter the admin credentials (default: admin / admin, unless changed).
http://localhost:4503/crx/packmgr/index.jspOnce logged in, you should be able to upload and view packages — assuming none have been installed yet.
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.
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.
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.
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:
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.
Go to: http://localhost:4503/libs/granite/core/content/login.html
Then enter the admin credentials (default: admin / admin, unless changed).
http://localhost:4503/crx/packmgr/index.jspOnce logged in, you should be able to upload and view packages — assuming none have been installed yet.
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.
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.
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.
Hi @ SantoshSai,
You are right. I did not login.
As soon I logged in, everything came inline.
Thanks,
RK.
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.