Issue

During version purging we see warnings like the one below in the logs.

02.05.2017 16:52:53.579 *WARN* [sling-threadpool-713f76d9-68c5-4038-844f-eee72060cf5c-(apache-sling-job-thread-pool)-83-Maintenance Queue(com/adobe/granite/maintenance/job/VersionPurgeTask)] org.apache.
jackrabbit.oak.plugins.version.ReadOnlyVersionManager Missing versionable path property for crx.default at /jcr:system/jcr:versionStorage/5f/d1/98/5fd198fd-6dfc-4802-b496-fbe3569525be

Cause

This is a known issue and caused by repository migration. Applies to AEM 6.x, please also review - OAK-5193.

Resolution

To fix the issue, follow these steps:

  1. Upload the attached OAK-5193-fix-*.groovy script to the AEM server

  2. Download the oak-run version matching the version of oak-core bundle you have in the /system/console/bundles UI

  3. Stop AEM

  4. Run this command as the user that owns the AEM java process 

    java -Xmx2048m -jar oak-run-1.4.*.jar console crx-quickstart/repository/segmentstore ":load OAK-5193-fix.groovy" >> /tmp/script.log 2>&1 &'

    Opomba:

    On Oak 1.6 and later versions you must add the read-write parameter when running this command: 

    java -Xmx2048m -jar oak-run-1.4.*.jar --read-write console crx-quickstart/repository/segmentstore ":load OAK-5193-fix.groovy" >> /tmp/script.log 2>&1 &'
  5. Once the script is completed then review the generated file /tmp/script.log

  6. Start AEM

  7. Run version purging and the errors should be gone

Za ta izdelek je bila izdana neprenosljiva licenca za priznanje avtorstva, nekomercialno uporabo in skupno rabo pod enakimi pogoji 3.0  Objav v storitvah Twitter™ in Facebook ne urejajo pogoji pogodbe Creative Commons.

Pravna obvestila   |   Pravilnik o zasebnosti v spletu