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
  • 3158 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 4
October 21, 2022

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.

Level 4
January 4, 2023

What should the process be to upgrade an existing service pack?  I have the SP11 zip sitting in the crx-quickstart/install folder from when I installed it months ago.  I now want to apply SP14.


You can do either: package manager or install folder.  Just DO NOT remove the previous SP11 from the install folder. 

I originally asked this questions because I believe a while back we used to get cumulative fix packs which were "in addition to" the last CFP.  About 2 years ago the changed to SP that, I thought I read once, shouldn't matter about previous installed versions.  I don't believe that is the case though as some SP have/had dependencies..

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