Hello everyone,
I am currently developing with Adobe Experience Manager (AEM) using the VSCode AEM Sync extension and have encountered the following error message:
”path not under jcr_root folder: /home/aem_XXXX/ui.apps/src”
This issue arises despite the fact that the specified path ”/home/aem_XXXX/ui.apps/src/main/content/jcr_root/apps/site/www/news-release/clientlibs/clientlib-site/” includes the jcr_root directory.
The output from VSCode AEM Sync is constantly showing "AEM Sync started... Searching for jcr_root" and it seems not to be detecting the jcr_root correctly.
I would appreciate any advice or solutions to this issue, especially any tips on setting up paths when using VSCode AEM Sync in a Docker environment.
Thank you in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
The issue was resolved by restarting the Docker container in this case. The problem reported occurs at a relatively low frequency.
Hi,
Is this issue specific to a particular path you are attempting to sync, or does it occur for any path? Could you please check whether Visual Studio has any configurations (such as a proxy) that might be blocking access to your Docker image?
The issue occurs for any path I try to sync, not just a specific one. Also, there are no settings blocking access to the Docker image, such as a proxy configuration.
However, after asking the question, I was able to sync, but then the same issue occurred again. When I check the "aemsync" output, it shows the following status:
”AEM Sync started... Searching for jcr_root Attempting to sync to AEM Attempting to sync to AEM Attempting to sync to AEM Attempting to sync to AEM Attempting to sync to AEM”
When I select "Sync file to AEM" for a specific folder or file, more "Attempting to sync to AEM" messages are added.
The issue was resolved by restarting the Docker container in this case. The problem reported occurs at a relatively low frequency.
Views
Likes
Replies