Upgrade Adobe Experience Manager Guides for version 4.6.0 and above
This article provides instructions to upgrade your Experience Manager Guides versions for 4.6.0 and above.
You can upgrade your current version of Experience Manager Guides to version 5.1.0 Service Pack 3:
- If you are using version 5.1.0, or 5.1.x , then you can directly upgrade to version 5.1.0 Service Pack 3.
- If you are using version 4.6.0, 4.6.x, 5.0.0, or 5.0.x, then you need to upgrade to version 5.1.0.
- If you are on a version prior to 4.6.0, refer to Upgrade Adobe Experience Manager Guides for version 4.4.0 and earlier for detailed upgrade instructions.
For more details, refer to the following procedures:
Upgrade to version 5.1.0
Prerequisites
Before you start the Experience Manager Guides 5.1.0 upgrade process, ensure that you have:
- Upgraded to Experience Manager Guides version 4.6.3, 4.6.4, 5.0.0, or 5.0.0 Service Pack 1.
- (Optional) Closed all translation tasks.
- Changed the log level to INFO for
com.adobe.fmdita.translationservices.TranslationMapUpgradeScriptclass and append these logs in a new log file, for example,logs/translation_upgrade.log.
Install version 5.1.0
Download the 5.1.0 version package from Adobe Software Distribution Portal and follow the instructions provided in Installation and post-installation upgrade workflow to complete the upgrade process.
Upgrade to version 5.0.0
Prerequisites
Before you start the Experience Manager Guides 5.0.0 upgrade process, ensure that you have:
- Upgraded to Experience Manager Guides version 4.6.3, 4.6.1, 4.6.0, or 4.4.
- (Optional) Closed all translation tasks.
- Changed the log level to INFO for
com.adobe.fmdita.translationservices.TranslationMapUpgradeScriptclass and append these logs in a new log file, for example,logs/translation_upgrade.log.
Install version 5.0.0
Download the 5.0.0 version package from Adobe Software Distribution Portal and follow the instructions provided in Installation and post-installation upgrade workflow to complete the upgrade process.
Upgrade to version 4.6.0
Upgrading to version 4.6.0 depends on the current version of Experience Manager Guides. If you are using version 4.4.0, 4.3.1, 4.3.0, 4.2, or 4.2.1 (Hotfix 4.2.1.3) then you can directly upgrade to version 4.6.0.
Prerequisites
Before you start the Experience Manager Guides 4.6.0 upgrade process, ensure that you have:
- Upgraded to Experience Manager Guides version 4.3.1, 4.3.0, or 4.2.1 (Hotfix 4.2.1.3).
- (Optional) Closed all translation tasks.
- Changed the log level to INFO for
com.adobe.fmdita.translationservices.TranslationMapUpgradeScriptclass and append these logs in a new log file, for example,logs/translation_upgrade.log.
Install version 4.6.0
Download the 4.6.0 version package from Adobe Software Distribution Portal and follow the instructions provided in Installation and post-installation upgrade workflow to complete the upgrade process.
Installation and post-installation upgrade workflow
Install the version package
Peform the following steps to install the version package:
-
Install the version package on which you want to upgrade.
-
You can choose to hit the trigger to start the translation map upgrade job. For details, see Enable trigger of script via a Servlet.
-
After you complete the package installation, wait for the following message in the logs:
Completed the post deployment setup scriptThe above message indicates that all the steps of installation are complete.
In case you encounter any of the following errors, report them to your customer success team:
- Error in post deployment setup script
- Exception while porting the translation MAP
- Unable to port translation map from v1 to v2 for property
-
(Optional) Upgrade Oxygen connector plugin released with version you are upgrading to.
-
Clear the browser cache after installing the package.
Post installation process
After you install Experience Manager Guides, you may merge the various configurations applicable from the newly installed version to your setup.
DAM Update Asset workflow (Post-processing changes):
-
Open URL:
code language-none http://localhost:4502/libs/cq/workflow/admin/console/content/models.html -
Select DAM Update Asset workflow.
-
Select Edit.
-
If the DXML Post Process Initiator component is present, ensure that the customizations are synced.
-
If the DXML Post Process Initiator component is absent, perform the following steps to insert it:
-
Select Insert component (Responsible for Experience Manager Guides post-processing as the final step in the process).
-
Configure the Process step with below details:
Common tab:
-
Title: DXML Post Process Initiator
-
Description: DXML post process initiator step which will trigger a sling job for DXML post-processing of the modified/created asset
Process tab
- Select DXML Post Process Initiator from the Process drop down
- Select Handler Advance
- Select Done
-
-
-
Select Sync on the top right after completing the changes. You will receive a success notification.
note note NOTE Refresh and verify that customized changes and the Experience Manager Guides post-processing step is present in the final workflow model. -
Once DAM Update Asset workflow is validated, check corresponding launcher configurations. To do so, go to AEM Workflow interface and open launchers.
code language-http http://localhost:4502/libs/cq/workflow/content/console.htmlFind and make changes (if necessary) to the following two launchers (that should be active) corresponding to DAM Update Asset workflow:
-
Launcher for “Node Created” for DAM Update Asset workflow- for condition
"jcr:content/jcr:mimeType!=video", the ‘Globbing’ value should be:code language-json /content/dam(/((?!/subassets|/translation_output).)*/)renditions/original- ‘excludeList’ should have
"event-user-data:changedByWorkflowProcess". - Launcher for “Node Modified” for DAM Update Asset workflow - for condition “
jcr:content/jcr:mimeType!=video”, the ‘Globbing’ value should be:
code language-json /content/dam(/((?!/subassets|/translation_output).)*/)renditions/originalexcludeListshould have"event-user-data:changedByWorkflowProcess".
- ‘excludeList’ should have
-
Once the upgrade is complete, ensure any of the customizations/overlays are validated and updated to match the new application code. Some examples are given below:
- Any components overlayed from
/libs/fmditaor/libsshouldbe compared with the new product code and updates should be done in overlayed files under/apps. - Any
clientlibcategories used from product, should be reviewed for changes. Any overridden configurations\(examples below\)should be compared with the latest ones so as to get the latest features: - elementmapping.xml
ui\_config.json\(may have been set in folder profiles\)- amended
com.adobe.fmdita.config.ConfigManager
- Any components overlayed from
-
If you have added any customizations in damAssetLucene, you may need to apply them again. After making those changes, set reindex as true. This will reindex all the existing nodes with the customizations. Once completed, the reindex flag will be set to false again. This may take a few hours depending on number of assets in the system.
Steps to reindex the Experience Manager Guides indexes
-
Open
crx/deand navigate to the index path:/oak:index/guidesAssetProperties -
Set the reindex property as
true(falseby default) and click Save All. -
Once the reindex is complete, the reindex property is set to
falseagain, and the reindex count is incremented by 1.note note NOTE This may take a few minutes, depending on the amount of data present. 4. Follow the same steps for other added or modified indices: `guidesBulkActivation`, `guidesPeerLinkIndex`, and `guidesKonnectTemplateIndex`.
Steps to index the existing content
Perform the following steps for indexing the existing content:
-
Run a POST request to the server (with correct authentication) -
http://<server:port\>/bin/guides/map-find/indexing. (Optional: You can pass specific paths of the maps to index them, by default all maps will be indexed || Example :https://<Server:port\>/bin/guides/map-find/indexing?paths=<map\_path\_in\_repository\>) -
The API will return a
jobId. To check the status of the job, you can send a GET request with job id to the same end point -http://<server:port\>/bin/guides/map-find/indexing?jobId=\{jobId\}(for example:http://localhost:8080/bin/guides/map-find/indexing?jobId=2022/9/15/7/27/7dfa1271-981e-4617-b5a4-c18379f11c42_678) -
Once the job is complete, the above GET request will respond with success and mention if any maps failed. The successfully indexed maps can be confirmed from the server logs.
Steps to handle the 'fmdita rewriter' conflict
Experience Manager Guides has a custom sling rewriter module for handling the links generated in case of cross-maps (links between the topics of two different maps).
If you have another custom sling rewriter in your codebase, use an 'order' value greater than 50, as Experience Manager Guides sling rewriter uses 'order' 50. To override this, you need a value >50. For more details, view Output Rewriting Pipelines.
During this upgrade, since the 'order' value is changed from 1000 to 50, you need to merge the existing custom rewriter, if any, with 'fmdita-rewriter'.
Steps to reindex the damAssetLucene
Index definition is updated for damAssetLucene with AEM Guides. After upgrading to the required version, refer to this article for reindexing the damAssetLucene.
reindex=true and reindex-async=true for /oak:index/damAssetLucene) are updated simultaneously via Save operation.