Help Center/ Object Storage Migration Service/ FAQs/ Exception Recovery/ What Do I Do If All Objects Whose Names Contain Slashes (/) Fail to be Migrated from Alibaba Cloud?
Updated on 2022-08-09 GMT+08:00

What Do I Do If All Objects Whose Names Contain Slashes (/) Fail to be Migrated from Alibaba Cloud?

Symptom

When you migrated an entire bucket from Alibaba Cloud, all objects whose names contain slashes (/) failed to be migrated. According the migration logs, objects were listed, and their metadata was successfully obtained. However, error 404 "No such key" was reported when the objects were obtained.

Possible Causes

Default Homepage is set to index.html for the OSS bucket. When OMS pulls objects from the OSS bucket, it adds index.html to the end of object names that contain slash (/), and error 404 is reported.

Solution

  1. Log in to the OSS console using your Alibaba Cloud account.
  2. In the navigation pane on the left, click Buckets.

  3. Click the name of the bucket to be migrated.
  4. In the navigation pane on the left, choose Basic Settings > Static Pages.

  5. In the Static Pages area, click Configure.
  6. Delete the setting of Default Homepage, select Disable for Subfolder Homepage, and click Save.

    Perform the migration again.