Versions not created when replicating content | AEM 6.3

Issue

In AEM 6.3, when activating a page, a page version is not created in spite of having all the configurations for the replication agent in place.

Environment

AEM 6.3

Resolution

There are multiple possible reasons for this problem:

  1. The Version Manager has createVersionOnActivation option disabled.
    1. Go to http://aemhost:port/system/console/configMgr/com.day.cq.wcm.core.impl.VersionManagerImpl
    2. Re-enable the createVersionOnActivation checkbox.
    3. Save
  2. The replication agent has No Versioning option enabled on the Triggers tab.
    1. Go to http://aemhost:port/etc/replication/agent.author.html
    2. Edit each agent.
    3. Select the Triggers tab in the agent's configuration dialog and uncheck No Versioning.
  3. It could be that the system / service user permissions were overwritten by a package installation.  The version manager uses a service user to access the page to be published.  Before AEM 6.2, this was done with an admin session. On AEM 6.3 and later versions, access control entries (ACEs) exist for /content and /etc for the version-manager-service service user.  These ACEs allow it to read and write to these paths (i.e. jcr:read, rep:write and jcr:versionManagement permissions).
    1. See this article for details on restoring missing service user permissions.

 Adobe

更快、更輕鬆地獲得協助

新的使用者?

Adobe MAX 2024

Adobe MAX
創意大會

10 月 14 至 16 日邁阿密海灘和線上

Adobe MAX

創意大會

10 月 14 至 16 日邁阿密海灘和線上

Adobe MAX 2024

Adobe MAX
創意大會

10 月 14 至 16 日邁阿密海灘和線上

Adobe MAX

創意大會

10 月 14 至 16 日邁阿密海灘和線上