Skip to content

Transfer feature hangs on asset transfer #16473

@bolg55

Description

@bolg55

Bug report

Required System information

  • Node.js version: 16+
  • NPM version: 8+
  • Strapi version: 4.9.2
  • Is your project Javascript or Typescript: JS

Describe the bug

A clear and concise description of what the bug is.

Edit: Based on issue #16437 this does not seem to be limited to cloud.

When attempting to transfer from a local Strapi instance to a Strapi Cloud project, using:

yarn strapi transfer --to <url> --to-token <token>
or
npm run strapi transfer --to <url> --to-token <token>

The transfer hangs when it gets to the assets transfer. Only killing the process will stop it, which then produces an error.

Steps to reproduce the behavior

  1. Go to a local Strapi project, running on 4.8+
  2. Login to Strapi Cloud and ensure both local and cloud projects have same schema
  3. Try to transfer from local to cloud using either:
    yarn strapi transfer --to <url> --to-token <token>
    or
    npm run strapi transfer --to<url> --to-token <token>
  4. See error

Expected behavior

That the transfer would go through successfully.

Screenshots

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: bugIssue reporting a bugseverity: highIf it breaks the basic use of the productsource: core:data-transferSource is core/data-transfer packagestatus: confirmedConfirmed by a Strapi Team member or multiple community members

    Type

    No type

    Projects

    Status

    Fixed/Shipped

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions