Échec du déploiement du pipeline en raison d’une erreur repoinit
L’étape buildImage dans le déploiement du pipeline Adobe Experience Manager as a Cloud Service tombe souvent en panne en raison d’erreurs connectées à buildImage.log
, ce qui entrave le processus de déploiement. Cet article examine les causes communes et fournit une résolution.
Description description
Environnement
Adobe Experience Manager en tant que Cloud Service
Problème/Symptômes
Le déploiement du pipeline échoue lors de l’étape buildImage, et l’erreur suivante (ou similaire) s’affiche dans le buildImage.log
:
ERROR
Apache Sling Repository Startup Thread #1] com.adobe.granite.repository.impl.SlingRepositoryManager Exception in a SlingRepositoryInitializer, SlingRepository service registration abortedjavax.jcr.RepositoryException: Applying repoinit operation failed despite retry; set loglevel to DEBUG to see all exceptions. Last exception message was: Failed to set ACL (javax.jcr.PathNotFoundException: Cannot set ACL on non-existent path <masked_path>) AclLine DENY {paths=[ <masked_path>] , privileges=[ jcr:all] }Caused by: org.apache.sling.jcr.repoinit.impl.RepoInitException: Failed to set ACL (javax.jcr.PathNotFoundException: Cannot set ACL on non-existent path <masked_path>) AclLine DENY {paths=[ <masked_path>] , privileges=[ jcr:all] }Caused by: javax.jcr.PathNotFoundException: Cannot set ACL on non-existent path <masked_path>
Résolution resolution
Pour corriger cette erreur, créez le <masked_path>
dans le script repoinit avant d’affecter l’ACL.
Utilisez ce document de référence pour en savoir plus sur la nouvelle architecture pour AEM as a Cloud Service.
Cause :<masked_path>
peut ne pas exister sur le maître doré (un noeud de publication spécialisé) lorsque le script repoinit est exécuté.