Installing service packs under quickstart install directory | Community
Skip to main content
Level 4
October 20, 2022
Solved

Installing service packs under quickstart install directory

  • October 20, 2022
  • 3 replies
  • 3169 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Saravanan_Dharmaraj

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.

3 replies

Saravanan_Dharmaraj
Community Advisor
Saravanan_DharmarajCommunity AdvisorAccepted solution
Community Advisor
October 20, 2022

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.

Lokesh_Vajrala
Community Advisor
Community Advisor
October 21, 2022

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. 

Level 3
October 21, 2022

@sdouglasmcsonova ,

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 

SantoshSai
Community Advisor
Community Advisor
October 25, 2022

Hi @sdouglasmcsonova ,

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

Santosh Sai