Hi All,
I'm using the aem-sdk-2023.3.11382.20230315T073850Z-230200 on the local environment as the author instance.
I want to transfer local content to the sandbox env and follow the Getting Started with Content Transfer Tool
But migration set extraction failed.
2023-05-09 16:43:30,475 [main] ERROR c.a.granite.skyline.migrator.Main - Error in migration 2023-05-09 16:43:30,494 [main] INFO o.a.j.o.s.file.ReadOnlyFileStore - TarMK closed: /Users/wangshuqiu/Downloads/aem-sdk/author/crx-quickstart/repository/segmentstore 2023-05-09 16:43:31,344 [oak-ds-async-upload-thread-2] ERROR o.a.j.o.p.blob.UploadStagingCache - Error adding file to backend org.apache.jackrabbit.core.data.DataStoreException: Cannot write blob. identifier=3baa-d4b7292f452ab6b4b775f7b06c911fef9d030e3cbd8af043bda879ba25df at org.apache.jackrabbit.oak.blob.cloud.azure.blobstorage.AzureBlobStoreBackend.write(AzureBlobStoreBackend.java:328) at org.apache.jackrabbit.oak.plugins.blob.AbstractSharedCachingDataStore$2.write(AbstractSharedCachingDataStore.java:173) at org.apache.jackrabbit.oak.plugins.blob.UploadStagingCache$3.call(UploadStagingCache.java:367) at org.apache.jackrabbit.oak.plugins.blob.UploadStagingCache$3.call(UploadStagingCache.java:362) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.io.FileNotFoundException: /Users/wangshuqiu/Downloads/aem-sdk/author/crx-quickstart/cloud-migration/extraction-Dev/tmp/1683621806302-0/repository/datastore/upload/3b/aa/d4/3baad4b7292f452ab6b4b775f7b06c911fef9d030e3cbd8af043bda879ba25df (No such file or directory) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInputStream.java:219) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157) at org.apache.jackrabbit.oak.blob.cloud.azure.blobstorage.AzureBlobStoreBackend.write(AzureBlobStoreBackend.java:294) ... 7 common frames omitted 2023-05-09 16:43:31,346 [oak-ds-async-upload-thread-2] ERROR o.a.j.o.p.blob.UploadStagingCache - Error adding [3baad4b7292f452ab6b4b775f7b06c911fef9d030e3cbd8af043bda879ba25df] with file [/Users/wangshuqiu/Downloads/aem-sdk/author/crx-quickstart/cloud-migration/extraction-Dev/tmp/1683621806302-0/repository/datastore/upload/3b/aa/d4/3baad4b7292f452ab6b4b775f7b06c911fef9d030e3cbd8af043bda879ba25df] to backend org.apache.jackrabbit.core.data.DataStoreException: Cannot write blob. identifier=3baa-d4b7292f452ab6b4b775f7b06c911fef9d030e3cbd8af043bda879ba25df at org.apache.jackrabbit.oak.blob.cloud.azure.blobstorage.AzureBlobStoreBackend.write(AzureBlobStoreBackend.java:328) at org.apache.jackrabbit.oak.plugins.blob.AbstractSharedCachingDataStore$2.write(AbstractSharedCachingDataStore.java:173) at org.apache.jackrabbit.oak.plugins.blob.UploadStagingCache$3.call(UploadStagingCache.java:367) at org.apache.jackrabbit.oak.plugins.blob.UploadStagingCache$3.call(UploadStagingCache.java:362) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.io.FileNotFoundException: /Users/wangshuqiu/Downloads/aem-sdk/author/crx-quickstart/cloud-migration/extraction-Dev/tmp/1683621806302-0/repository/datastore/upload/3b/aa/d4/3baad4b7292f452ab6b4b775f7b06c911fef9d030e3cbd8af043bda879ba25df (No such file or directory) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInputStream.java:219) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157) at org.apache.jackrabbit.oak.blob.cloud.azure.blobstorage.AzureBlobStoreBackend.write(AzureBlobStoreBackend.java:294) ... 7 common frames omitted
Best regards.
Views
Replies
Total Likes
Hi,
One possible solution to this issue is to ensure that the directory where the missing file is located exists and has the correct permissions. Another solution could be to check if there are any network connectivity issues with the Azure Blob Store or whether there are any temporary access issues to the storage account.
@krist_wang Please check permission of folder
/Users/wangshuqiu/Downloads/aem-sdk/author/crx-quickstart/cloud-migration
try creating any file inside this folder with same user from which AEM is running to check whether that user has correct permissions.
If it happened only for one blob and worked for others, then try running the migration again. Based on my experience, most of the issues get resolved when we trigger the migration again.
I have the same problem and error and I tried to set 777 to all folders and files but the error still occurs.
Views
Likes
Replies