tag:blogger.com,1999:blog-5778419059463879376.post8901337495329621910..comments2024-03-18T22:43:30.073-07:00Comments on Adobe CQ/Adobe AEM: How to manage bundle using curl commandYogihttp://www.blogger.com/profile/13222275932054732457noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-5778419059463879376.post-31833090308372360822019-03-07T02:34:09.175-08:002019-03-07T02:34:09.175-08:00Wheely | The largest platform to play wheely onlin...Wheely | The largest platform to play wheely online games in 2019. We have a number of fun games for kids both boys and girls.<a href="http://wheelygames.com/" rel="nofollow">http://wheelygames.com/</a><br />Google Stackinghttps://www.blogger.com/profile/10292537627279813277noreply@blogger.comtag:blogger.com,1999:blog-5778419059463879376.post-30242734166280320872016-01-29T10:44:44.322-08:002016-01-29T10:44:44.322-08:00Hello Swathi,
You can use curl with jswak to chec...Hello Swathi,<br /><br />You can use curl with jswak to check this. I have added some example for your reference above. Please let me know if that helps.<br /><br />YogeshYogihttps://www.blogger.com/profile/13222275932054732457noreply@blogger.comtag:blogger.com,1999:blog-5778419059463879376.post-65501865785228989382015-12-19T20:40:58.317-08:002015-12-19T20:40:58.317-08:00Do we have any cURL command to check the status of...Do we have any cURL command to check the status of the bundle? If so,could you please suggest. Thanks in advance.<br /><br /><br />swathihttps://www.blogger.com/profile/11431150571745917975noreply@blogger.comtag:blogger.com,1999:blog-5778419059463879376.post-51703150554477149252015-03-10T15:41:08.884-07:002015-03-10T15:41:08.884-07:00For bundle symbolic name just query bundles.json a...For bundle symbolic name just query bundles.json and then use any json parser tool to find it.Yogihttps://www.blogger.com/profile/13222275932054732457noreply@blogger.comtag:blogger.com,1999:blog-5778419059463879376.post-64643267451695016792015-03-10T14:54:06.149-07:002015-03-10T14:54:06.149-07:00Hi Yogesh,
I tried the command but not sure if it...Hi Yogesh,<br /><br />I tried the command but not sure if it ran successfully or not. I did not receive any response to the command. <br /><br />I do not have access to Felix console, so<br />- Is there a way to find out if a particular bundle exists or got installed<br />- To star the bundles, how to find the bundle symbolic name Maxhttps://www.blogger.com/profile/15158087654095550581noreply@blogger.comtag:blogger.com,1999:blog-5778419059463879376.post-63953578887790960702015-02-03T09:31:51.452-08:002015-02-03T09:31:51.452-08:00Hello Madhavan,
Do you mean create a node with Lo...Hello Madhavan,<br /><br />Do you mean create a node with Long property ? For that you can use sling post servlet. Here is example http://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html<br /><br />YogeshYogihttps://www.blogger.com/profile/13222275932054732457noreply@blogger.comtag:blogger.com,1999:blog-5778419059463879376.post-19702450191461086952015-02-03T09:30:45.938-08:002015-02-03T09:30:45.938-08:00Hello Mildred,
Bundle only get update if new bund...Hello Mildred,<br /><br />Bundle only get update if new bundle version is either greater than current installed bundle version or it is same as current installed version but have SNAPSHOT in version number.<br /><br />For example,<br /><br />Current is 1.0.0 and new is 1.0.1 -> update happen<br />Current is 1.0.2 and new is 1.0.1 -> update will not happen<br />Current is 1.0.2 and new is 1.0.1-SNAPSHOT -> update will not happen<br />Current is 1.0.2 and new is 1.0.2-SNAPSHOT -> update will happen<br />Current is 1.0.2-SNAPSHOT and new is 1.0.2-SNAPSHOT -> update will happen<br />Current is 1.0.2-SNAPSHOT and new is 1.0.1-SNAPSHOT -> update will not happen<br /><br />YogeshYogihttps://www.blogger.com/profile/13222275932054732457noreply@blogger.comtag:blogger.com,1999:blog-5778419059463879376.post-65301528842032952722015-02-03T09:27:31.487-08:002015-02-03T09:27:31.487-08:00Yes. You can refresh bundle as well. I have comman...Yes. You can refresh bundle as well. I have command for that listed above. Let me know if that does not work. Note that you need to use bundle symbolic name for that.Yogihttps://www.blogger.com/profile/13222275932054732457noreply@blogger.comtag:blogger.com,1999:blog-5778419059463879376.post-76417643187936125392015-02-03T09:25:21.703-08:002015-02-03T09:25:21.703-08:00Can you please use curl -u admin:PASSWORD -F actio...Can you please use curl -u admin:PASSWORD -F action=install -F bundlestart=start -F bundlestartlevel=20 -F bundlefile=/path/to/jar/file.jar http://HOST:PORT/system/console/bundles Let me know if that helps. Also what version of CQ are you using ?Yogihttps://www.blogger.com/profile/13222275932054732457noreply@blogger.comtag:blogger.com,1999:blog-5778419059463879376.post-84237006269399294082015-02-02T22:20:40.849-08:002015-02-02T22:20:40.849-08:00Hi Yogesh, I have tried the same curl command to i...Hi Yogesh, I have tried the same curl command to install a jar in AEM but I am also getting the same error as that of Mr. Sujeeth. Can you help me regarding this.Anonymoushttps://www.blogger.com/profile/01669442047996876734noreply@blogger.comtag:blogger.com,1999:blog-5778419059463879376.post-56823533283956198632014-06-30T08:57:36.018-07:002014-06-30T08:57:36.018-07:00Hi Yogesh ,
Do you know how to create a cq node ...Hi Yogesh , <br /><br />Do you know how to create a cq node with Long type ? madhavanhttps://www.blogger.com/profile/05557862614796855755noreply@blogger.comtag:blogger.com,1999:blog-5778419059463879376.post-10257559422081694752013-07-12T21:08:59.651-07:002013-07-12T21:08:59.651-07:00Hi Yogesh, for bundle, we can just update/ activat...Hi Yogesh, for bundle, we can just update/ activate/update via package: /apps/${app}/install/${bundle-file-name}<br />any implications on doing that? <br />sometimes i noticed that the bundle is not being updated. is it because of the version on META-INF? or anything else? Anonymoushttps://www.blogger.com/profile/04068980454575062100noreply@blogger.comtag:blogger.com,1999:blog-5778419059463879376.post-28802737326940654082013-06-03T07:01:25.977-07:002013-06-03T07:01:25.977-07:00Excellent post, Yogesh. Is it be possible to refre...Excellent post, Yogesh. Is it be possible to refresh bundle configuration with CURL as well?Akonkagvahttps://www.blogger.com/profile/07586125557258604570noreply@blogger.comtag:blogger.com,1999:blog-5778419059463879376.post-57536107286639994062013-02-06T10:34:41.475-08:002013-02-06T10:34:41.475-08:00I just updated CURL command. Can you try now ? I just updated CURL command. Can you try now ? Yogihttps://www.blogger.com/profile/13222275932054732457noreply@blogger.comtag:blogger.com,1999:blog-5778419059463879376.post-43717053856981343612013-02-04T01:54:20.080-08:002013-02-04T01:54:20.080-08:00Hi Yogesh,
I am using install command -
C:\Users...Hi Yogesh,<br /><br />I am using install command -<br /><br />C:\Users\ssha49\Desktop\infra scripts>curl -X POST -v -F "action=install" -F "bundlestart=start" -F "bundlestartlevel=20" -F "bundlefile=C:\Users\ssha49\Desktop\gsamjars\search-1.1.jar" http://admin:admin@localhost:4502/system/console/bundl<br />es<br />but I am getting error -<br />* About to connect() to localhost port 4502 (#0)<br />* Trying 127.0.0.1...<br />* connected<br />* Connected to localhost (127.0.0.1) port 4502 (#0)<br />* Server auth using Basic with user 'admin'<br />> POST /system/console/bundles HTTP/1.1<br />> Authorization: Basic YWRtaW46YWRtaW4=<br />> User-Agent: curl/7.28.1<br />> Host: localhost:4502<br />> Accept: */*<br />> Content-Length: 506<br />> Expect: 100-continue<br />> Content-Type: multipart/form-data; boundary=------------------------<br />030db4<br />><br />< HTTP/1.1 100 Continue<br />< HTTP/1.1 302 Moved Temporarily<br />< Connection: Keep-Alive<br />< Server: Day-Servlet-Engine/4.1.24<br />< Content-Type: text/html<br />< Date: Mon, 04 Feb 2013 09:51:22 GMT<br />< Transfer-Encoding: chunked<br />< Location: /system/console/bundles<br />* HTTP error before end of send, stop sending<br /><br />This page moved to /system/console/bundles<br /><br />* Closing connection #0Sujeet Sharmahttps://www.blogger.com/profile/04106553059600821013noreply@blogger.com