repoinit エラーによるパイプラインのデプロイメントの失敗

Adobe Experience Manager as a Cloud Service パイプラインのデプロイメント内の buildImage ステップは、ログイン中のエラーが原因でデプロイメントプロセスに障害が発生 buildImage.log ることが多いので、つまずくことがよくあります。 この記事では、一般的な原因を詳しく説明し、解決策を示します。

説明 description

環境

Cloud ServiceとしてのAdobe Experience Manager

問題/症状

buildImage ステップの間にパイプラインのデプロイメントが失敗し、buildImage.log に次のエラー(または同様のエラー)が表示されます。

エラー

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>

解決策 resolution

このエラーを修正するには、ACL を割り当てる前に、repoinit スクリプトに <masked_path> を作成します。

このリファレンスドキュメントでは、AEM as a Cloud Serviceの新しいアーキテクチャ ​ について説明します。

原因:

repoinit スクリプトの実行時に、ゴールデンマスター(特殊なパブリッシュノード)に <masked_path> が存在しない場合があります。

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f