AEM non-production environments inaccessible during offline compaction maintenance

This article explains why non-production Adobe Experience Manager (AEM) environments may become temporarily inaccessible during scheduled offline compaction maintenance and provides guidance on minimizing user impact.

Description description

Environment

  • Adobe Experience Manager (AEM) non-production environments

Issue/Symptoms

  • AEM environments are inaccessible during scheduled offline compaction maintenance windows.
  • Users attempting to access AEM instance login URLs receive unavailable responses.

Cause

During scheduled repository maintenance, specifically offline compaction, non-production AEM environments are intentionally taken offline. This downtime is necessary to maintain repository health and prevent issues related to repository growth. The downtime typically coincides with the execution of offline compaction tasks, as indicated by entries in the oak-tar-compact.log file.

Resolution resolution

To minimize the impact of scheduled offline compaction downtime, follow these steps:

  1. Establish a recurring maintenance schedule for offline compaction in non-production environments, selecting a time with minimal user impact (for example, during off-hours or weekends).
  2. Communicate the planned downtime in advance to all relevant users and teams, specifying the expected duration and affected environments.
  3. Before starting offline compaction, ensure you have recent backups and the necessary permissions to perform repository maintenance.
  4. Execute the offline compaction task during the scheduled window.
  5. Monitor the process using logs such as oak-tar-compact.log to confirm compaction status and identify any failures.
  6. Once compaction is complete, restart the AEM instances to restore environment availability.
  7. Notify users that the environments are available again.
  8. Periodically review the maintenance schedule and gather feedback to minimize disruption.
recommendation-more-help
experience-cloud-kcs-help-kbarticles