Is there a way to remove packages from the crx-quickstart/install folder without uninstalling them?
Background:
We upgrade our AEM instances by copying the service packs to the install folder.
If a content package is removed from the install folder, it gets uninstalled and its content is removed. This even happens if the instance is first shut down before the package is removed, after restart the content is gone again.
The same happens with a service pack. /productinfo still shows the version of the current service pack, but we can notice that some of the files of the service pack being uninstalled. I assume this means the service pack was partially uninstalled.
Solved! Go to Solution.
Views
Replies
Total Likes
Talking about the service packs, one of the main problems with them is that you can't effectively uninstall them once they are installed, and in any case removing them it absolutely does not help.
You must understand that they are special packages and they have to be handled in a special way. Using the install folder to upgrade the AEM instance does not look as a good idea.
If you wish to automate the upgrade process of multiple AEM instances you can use the REST services of the package manager instead.
This approach is surely better and safer, and you can always remove the packages from /etc/packages once they are installed, if you wish.
Hi,
You can check this if helps
Talking about the service packs, one of the main problems with them is that you can't effectively uninstall them once they are installed, and in any case removing them it absolutely does not help.
You must understand that they are special packages and they have to be handled in a special way. Using the install folder to upgrade the AEM instance does not look as a good idea.
If you wish to automate the upgrade process of multiple AEM instances you can use the REST services of the package manager instead.
This approach is surely better and safer, and you can always remove the packages from /etc/packages once they are installed, if you wish.
Hi @basil ,
What I think is you are looking for a deletion logic for packages without getting rid of the content.
Lets understand the packaging in AEM and how it is stored in CRX.
Thanks,
Milind
Views
Likes
Replies