We are upgrading from aem 6.3 to aem 6.4
And performing in-place upgrade following these steps - Performing an In-Place Upgrade
I want to clarify on the steps to get this successful
Few questions:
1. Are steps 4 and 5 required (both)?
2. As far as i understand step 5 should start AEM as well. - Am I right? So step 6 should not be needed.
3. Since upgrade works fine with just unpacking also with just step 4 and 6. What is the need for the step 5? For setting the run-modes alone?
Just wanted to make sure i understand the steps I am performing correctly.
Views
Replies
Total Likes
Step 4 is only unpacking the quickstart, but it does not start AEM. That's what step 5 is doing.
Views
Replies
Total Likes
Thanks.
But another concern is when I used below command
java -server -Xmx4096m -XX:MaxPermSize=256M -Djava.awt.headless=true -Dsling.run.modes=author,crx3,crx3tar -jar AEM64-author-p4502.jar start -c crx-quickstart -p 4502 -Dsling.properties=conf/sling.properties
AEM is starting as http://localhost:4502/crx-quickstart/aem/start.html
Why is the extra crx-quickstart coming up?
Views
Replies
Total Likes
I use the regular start script (crx-quickstart/bin/start) to start AEM and it looks like this on my Mac:
ava -server -Xmx1024m -XX:MaxPermSize=256M -Djava.awt.headless=true -Dsling.run.modes=author,crx3,crx3tar -Djava.locale.providers=CLDR,JRE,SPI -jar crx-quickstart/app/cq-quickstart-6.4.0-standalone-quickstart.jar start -c crx-quickstart -i launchpad -p 6402 -Dsling.properties=conf/sling.properties
you can see that the jar file comes out of crx-quickstart/app
Views
Replies
Total Likes
Do you see a 'crx-quickstart' generated under parent 'crx-quickstart' folder from your upgrade process? If yes, then you may need to redo the entire activity.
Views
Replies
Total Likes
AFter running these 2 commands
java -Xmx4096m -jar AEM64-author-p4502.jar -unpack
java -server -Xmx4096m -XX:MaxPermSize=256M -Djava.awt.headless=true -Dsling.run.modes=author,crx3,crx3tar -jar AEM64-author-p4502.jar start -c crx-quickstart -p 4502 -Dsling.properties=conf/sling.properties
I see the AEM starts off as http://localhost:4502/crx-quickstart/aem/start.html
If you notice the url has an extra crx-quickstart. WHy could that be
D:\6.3 - 6.4 upgrade with curl cmds\crx-quickstart\app has cq-quickstart-6.4.0-standalone-quickstart.jar
I do not see any extra crx-quickstart under this folder D:\6.3 - 6.4 upgrade with curl cmds\crx-quickstart
Views
Replies
Total Likes
The command you've mentioned would start the upgrade. Once upgrade is completed, start the server normally either via start.sh/start.bat or java -jar <author>.jar That would work fine without '/crx-quickstart'
Compare your command with Jörg's command.
Performing an In-Place Upgrade
Note that starting AEM from the start script will not start the upgrade. Most customers start AEM using the start script and have customized this start script to include switches for environment configurations such as memory settings, security certificates, etc. For this reason, we recommend following this procedure to determine the proper upgrade command........
This will ensure that all proper memory settings, custom runmodes, and other environmental parameters are applied for the upgrade. After the upgrade has completed, the instance may be started from the start script on future startups.
Views
Replies
Total Likes
Thanks for responding.
The main reason that i found out was if we use the jar parallel to crx-quickstart folder - then I see the AEM starts off as http://localhost:4502/crx-quickstart/aem/start.html
If the jar inside /crx-quickstart/app is used then AEM starts off fine.
Not sure why that difference.
Adobe document- says use the jar that is sibling of crx-quickstart but that introduces the extra crx-quickstart for me.
Performing an In-Place Upgrade -
Step 3 - "Modify the command by replacing the path to the existing jar (crx-quickstart/app/aem-quickstart*.jarin this case) with the new jar that is a sibling of the crx-quickstart folder. Using our previous command as an example, our command would be:"
Views
Replies
Total Likes
To be honest, I never started the quickstart using "double-click", but always with the official start script (even on my local Mac).
Have you executed the step where you unpack the quickstart?
Jörg
Views
Replies
Total Likes
how to download AEM
Views
Replies
Total Likes
Views
Likes
Replies