Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi,

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

View solution in original post

3 Replies

Avatar

Level 10

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

Avatar

Level 2

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

Avatar

Correct answer by
Level 2

Hi,

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