Hi,
I deploy code to AEM dev, QA and Prod instance via Jenkins. Sometimes, I could see older version being shown in felix console for bundles and osgi configurations . Please find the sample screenshot
This also happens sometimes for bundles
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Try uninstalling the bundles and packages that you see have this issue, then clean up the older packages from under the install directory /apps/<your-project>/install and from under /etc/packages.
Once this is done, install only the build with higher number than the last one. If you try installing an older version, the mismatch starts showing in the Felix console.
If you have to install an older version, uninstall the package and bundle from the package manager and felix console. Delete that package from the install folder and from under /etc/packages and then install the older package.
regards,
Preetpal
For Dev and QA instances you should use SNAPSHOT versions.
SNAPSHOT Version:
Non-SNAPSHOT Version:
The non-SNAPSHOT should increment in terms of major/minor version for each deployment to take effect. Like core.wcm.components.all-2.23.4.zip
The SNAPSHOT need not increment for each deployment. They are based on the Production version that was used as a base for the development cycle
We are following snapshot version for lower environments and release version for Prod. Earlier, snapshot version was installed in Prod (not recently , long time ago) and we removed it from Prod
@sivas61374651 Ensure that your bundles are started in the correct order, especially if they have dependencies on each other. Starting bundles in the wrong order can lead to older versions being used.
In some cases, dynamic updates of bundles may not work as expected. Make sure that you uninstall and reinstall the bundles when updating, as this ensures the old versions are completely removed.
Try uninstalling the bundles and packages that you see have this issue, then clean up the older packages from under the install directory /apps/<your-project>/install and from under /etc/packages.
Once this is done, install only the build with higher number than the last one. If you try installing an older version, the mismatch starts showing in the Felix console.
If you have to install an older version, uninstall the package and bundle from the package manager and felix console. Delete that package from the install folder and from under /etc/packages and then install the older package.
regards,
Preetpal
@sivas61374651 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies