Strapi data transfer fails on specific files: Write after end error #20087
Labels
issue: bug
Issue reporting a bug
severity: medium
If it breaks the basic use of the product but can be worked around
source: core:data-transfer
Source is core/data-transfer package
status: pending reproduction
Waiting for free time to reproduce the issue, or more information
Bug report
Required System information
Environment: development
OS: darwin-arm64
Strapi Version: 4.15.5
Node/Yarn Version: yarn/3.6.1 npm/? node/v18.19.0 darwin arm64
Edition: Community
Database: postgres
Describe the bug
I'm trying to use the strapi data transfer command to move data across environments. It worked fine initially but now the client has uploaded a large number of files and the scripts fails when transferring these files. We are using the google cloud storage plugin @strapi-community/strapi-provider-upload-google-cloud-storage.
When running the transfer command and it reaches the transfer assets I get this error:
I've added some logs in the transfer script which shows that this issue happens with large files.
When I delete one of these files the script runs further, but it's not really an option for us to remove all the files that throw errors.
The text was updated successfully, but these errors were encountered: