Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Installing service packs under quickstart install directory

Avatar

Level 5

If you install packages under the crx-quickstart  install directory, after it installs, can you delete them from the directory?

6 Replies

Avatar

Level 8

I just did the test by having a package in crx-quickstart/install folder and started the instance. It installed the package with contents.

Stopped the instance, and deleted the package from the install folder.

Restarted the instance, all the contents installed by that package are gone. 

 

I am in AEM 6.5.10.

Avatar

Level 6

You can't delete it after the installation. JCRInstaller service watches for any changes in the install and config directories and updates the repository state.

 

As @Saravanan_Dharmaraj tested, package will be removed from repository if you delete it. 

Avatar

Level 3

@sdouglasmc ,

This is fine as once you install the package through the install folder it will reflect in your instance. However if you delete it the next time the content will be deleted from the server as well.

 

Thanks,

Mahesh 

Avatar

Level 5

That's fine if it deletes the package, but does it actually uninstall it?  I know you can install a package through Package Manager and after a while delete it.  It shouldn't actually uninstall it - but remove the package from /etc/packages.  However, I'm wondering if the same can be done without recourse using the Install folder.  I'm wondering really for Service packages.

Avatar

Level 6

Yes. @sdouglasmc, deleting the package from the install folder uninstalls the content, which is also valid for Service Packs.

Avatar

Community Advisor

Hi @sdouglasmc ,

By default the folder crx-quickstart/install is watched for files.
This folder does not exist, but simply can be created at runtime.

If a bundle, configuration or content package is put into this directory, it is automatically picked up and installed. If it’s removed, it gets uninstalled.
It is another way to put bundles, content packages or configurations to the repository.

However, Adobe does not recommend removing or uninstalling SP's or CFP's, additionally it is not supported.

Regards,

Santosh