Hi all
As there is no chance of getting daycare support to take this request seriously I have taken to the forums; here is my issue I dont expect a resolution but would love if you could point out areas that are involved in this process or easy mistakes to make, here goes:
What i am trying to achieve:
to setup a script that will build and package and download it to the local server from the local server
server details:
aws ec2 instance
red hat os
plenty of system resource
CQ5.4
I have created an empty package with the filters: /content/mobile
This is the command I am running:
curl -u admin:pass -X POST http://servername:4502/crx/packmgr/service/.json/etc/packages/backup-test.zip?cmd=build
servernames I have tried (I would prefer to use localhost):
localhost
server author url (this utilises rewrites and may be problematic)
127.0.0.1
server ip
This is the output of the command:
<html><head><title>
500
Internal Server Error
</title></head><body><h1>
Internal Server Error
</h1>
</body></html>
This is also logged in /CQ5UATStorageBlock/adobe/cq/author/crx-quickstart/logs/crx/error.log :
29.05.2013 13:24:22 *WARN * CRXSessionCache: Unable to retrieve session: javax.jcr.LoginException (CRXSessionCache.java, line 98)
However, when running these from an external source i.e my laptop:
curl -u admin:pass -X POST http://server ip:4502/crx/packmgr/service/.json/etc/packages/my_packages/backup-test.zip?cm d=build
curl -u admin:pass -X POST http://serverurl:4502/crx/packmgr/service/.json/etc/packages/my_packages/backup-test.zip?cm d=build
curl -u admin:pass -X POST http://serverurl/crx/packmgr/service/.json/etc/packages/my_packages/backup-test.zip?cm d=build
The response is:
{“success”:true,”msg”:”Package built”}
Please let me know your ideas I hope this is enough details to get the ball rolling.
look forward to hearing from you
Sam.