If you have to install big packages in CQ5 it can be cumbersome. Uploading 2GB even locally take some time and the browsers uses memory. Here’s a nice workaround/solution.
cp ~/my-big-package.zip /path/to/cq/crx-quickstart/install
(create the install directory if not there)
monitoring the error.log you’ll see that OsgiInstallerImpl is monitoring that directory and will install the package.
I prefer to delete the package once the installation is completed but it’s not mdandatory.
If you’re installing a big set of DAM remember to disable the DAM workflows from the workflow launcher.
As installing packages is resource intensive, if you’re doing it on a live instance it’s better to plan and disconnect it for not causing disruption.
by Dani_vr via flickr
updated on Feb 15th, 2011
Yes, it happens. CRX has lost my sources from one day to another. As usual you realize that you need a backup when it’s too late. So the question became: how can I backup my sources outside the crx? Packages!
First you have to create a package of what you want to backup via the package manager provided with CRX. I wont go in details of this operation. Then you can call every package operation from a command line like bash and curl application. Fortunately Mac OS X and Linux come with cURL out of the box so nothing special is needed.
Just download the pdf containing the bash code, fix the variable according to your needs and schedule it or execute by hand.
The script is missing at all the error checking and some other things but works well for the moment; maybe in the future I’ll start a new SF project with the script source.
For more information here is a couple of links (same page)
By ~ Erebos via flickr
It seems there’s a bug into the CQ5.3 CRX. Sometimes if something fail in the package manager you get the “internal server error” message. It should be enough to open the crx explorer and delete the /etc/packages.