- turn off replication agents
- back up (snapshot or online backup.. in case something goes wrong)
- remove /etc/workflow/instances
- create /etc/workflow/instances :: sling:Folder
- remove /var/eventing/jobs
- create /var/eventing/jobs :: sling::OrderedFolder
- change admin password to "admin" (for CRX.. probably for other things too)
- shutdown CQ
- cp crx-quickstart/server/serverctl ~/backup/ (back up other stuff too if you want to)
- rm -rf crx-quickstart/launchpad
- rm -rf crx-quickstart/server
- rm -rf crx-quickstart/logs
- mv ~/Downloads/cq-quickstart-5.4.0.jar /opt/cq/
- sudo su day (MAKE SURE you are the same user CQ runs as)
- java -XX:MaxPermSize=256m -Xmx1024m -Dsling.run.modes=author,production -jar cq-quickstart-5.4.0.jar -v -p 4502
- deploy.sh <build-number> (launchpad is wiped out.. so need to redeploy stuff)
- enable replication agents
- test
- restart CQ using serverctl
CQ upgrade gotchas:
- admin password should be changed to "admin" or bad things happen.
- empting out /etc/workflow/instances saves time for upgrade.
- removing crx-quickstart/launchpad does you many good. otherwise, OSGi bundles don't get fully upgraded.
- make sure you restart CQ for upgrade as a proper user. Otherwise, crx-quickstart/repository will be messed up.
No comments:
Post a Comment