Getting error while uplaoding a package - This node already exists: /etc/packages | Community
Skip to main content
Level 2
October 16, 2015
Solved

Getting error while uplaoding a package - This node already exists: /etc/packages

  • October 16, 2015
  • 3 replies
  • 1194 views

Hi,

I am trying to upload a package in my publisher instance using the API - http://localhost:4503/crx/packmgr/service/.json/?cmd=upload

It is giving me following message - This node already exists: /etc/packages

I am not using any ready made web client like CuRL, but using DOT NET class like HttpWebRequest and HttpWebResponse.\

I am passing credentials admin/admin while posting the zip.

Let me know on how totrouble shoot this.

Regards,
Aditya Nayak

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 aditya_nayak

Hi,

I was able to resolve this by passing the credentials as basic authentication in a request header in my post request.

3 replies

Sham_HC
Level 10
October 16, 2015

Provide complete stack trace at error.log file starting from time of upload of package till the failure.

Level 2
October 16, 2015

HI Sham,

I am getting following error in the web response:
{"success":false,"msg":"This node already exists: /etc/packages"}

Also, I do not see the error.log file modified with the latest datetime stamp -
D:\AdobeAEM\crx-quickstart\logs\error.log

The publisher instance is now running as a Java VM, i.e. by simply running the cq5-publish-p4503.jar

Let me know if any additional info is helpful.

Regards,
Aditya Nayak

aditya_nayakAuthorAccepted solution
Level 2
October 16, 2015

Hi,

I was able to resolve this by passing the credentials as basic authentication in a request header in my post request.