Skip to content

[Bug]: S3 Backup Failed #10983

@Zayia

Description

@Zayia

Note

This issue/comment/review was translated by Claude.

Issue Checklist

  • I understand that issues are for feedback and problem solving, not for complaining in the comment section, and will provide as much information as possible to help solve the problem.
  • My issue is not listed in the FAQ.
  • I've looked at pinned issues and searched for existing Open Issues, Closed Issues, and Discussions, no similar issue or discussion was found.
  • I've filled in short, clear headings so that developers can quickly identify a rough idea of what to expect when flipping through the list of issues. And not "a suggestion", "stuck", etc.
  • I've confirmed that I am using the latest version of Cherry Studio.

Platform

macOS

Version

v1.6.5

Bug Description

S3-compatible storage backup failed, as shown in the image below

Image

Steps To Reproduce

Managing backups can retrieve normally, which indicates my S3 configuration is correct

Image

Clicking "Backup Now" shows backup failed

Image

Expected Behavior

The expected behavior is that backup should succeed normally

Relevant Log Output

es-Rilh_bH0.js:85 <error> [BackupService] backupToS3: Error uploading file to S3: Error: Error invoking remote method 'backup:backupToS3': InternalError: Io error: put_object write size < data.size(), w_size=15728640, data.size=16396159
processLog @ es-Rilh_bH0.js:85
error @ es-Rilh_bH0.js:116
backupToS3 @ index-CvOKVPUf.js:20853
await in backupToS3
handleBackup @ index-CvOKVPUf.js:110152
handleOk @ store-DHkT-mYs.js:75219
(anonymous) @ ImageViewer-CZSiC8u0.js:4963
processDispatchQueue @ client-DDbmooWc.js:6971
(anonymous) @ client-DDbmooWc.js:7257
batchedUpdates$1 @ client-DDbmooWc.js:1188
dispatchEventForPluginEventSystem @ client-DDbmooWc.js:7047
dispatchEvent @ client-DDbmooWc.js:8605
dispatchDiscreteEvent @ client-DDbmooWc.js:8587
index-CvOKVPUf.js:110160 Uncaught (in promise) Error: Error invoking remote method 'backup:backupToS3': InternalError: Io error: put_object write size < data.size(), w_size=15728640, data.size=16396159
Promise.then
backupToS3 @ index-CvOKVPUf.js:20797
await in backupToS3
handleBackup @ index-CvOKVPUf.js:110152
handleOk @ store-DHkT-mYs.js:75219
(anonymous) @ ImageViewer-CZSiC8u0.js:4963
processDispatchQueue @ client-DDbmooWc.js:6971
(anonymous) @ client-DDbmooWc.js:7257
batchedUpdates$1 @ client-DDbmooWc.js:1188
dispatchEventForPluginEventSystem @ client-DDbmooWc.js:7047
dispatchEvent @ client-DDbmooWc.js:8605
dispatchDiscreteEvent @ client-DDbmooWc.js:8587
es-Rilh_bH0.js:85 <error> [BackupService] backupToS3: Error uploading file to S3: Error: Error invoking remote method 'backup:backupToS3': InternalError: Io error: put_object write size < data.size(), w_size=15728640, data.size=16396159
processLog @ es-Rilh_bH0.js:85
error @ es-Rilh_bH0.js:116
backupToS3 @ index-CvOKVPUf.js:20853
await in backupToS3
handleBackup @ index-CvOKVPUf.js:110152
handleOk @ store-DHkT-mYs.js:75219
(anonymous) @ ImageViewer-CZSiC8u0.js:4963
processDispatchQueue @ client-DDbmooWc.js:6971
(anonymous) @ client-DDbmooWc.js:7257
batchedUpdates$1 @ client-DDbmooWc.js:1188
dispatchEventForPluginEventSystem @ client-DDbmooWc.js:7047
dispatchEvent @ client-DDbmooWc.js:8605
dispatchDiscreteEvent @ client-DDbmooWc.js:8587
index-CvOKVPUf.js:110160 Uncaught (in promise) Error: Error invoking remote method 'backup:backupToS3': InternalError: Io error: put_object write size < data.size(), w_size=15728640, data.size=16396159

Additional Context

No response


Original Content

Issue Checklist

  • I understand that issues are for feedback and problem solving, not for complaining in the comment section, and will provide as much information as possible to help solve the problem.
  • My issue is not listed in the FAQ.
  • I've looked at pinned issues and searched for existing Open Issues, Closed Issues, and Discussions, no similar issue or discussion was found.
  • I've filled in short, clear headings so that developers can quickly identify a rough idea of what to expect when flipping through the list of issues. And not "a suggestion", "stuck", etc.
  • I've confirmed that I am using the latest version of Cherry Studio.

Platform

macOS

Version

v1.6.5

Bug Description

S3兼容存储备份失败,提示如图

Image

Steps To Reproduce

管理备份可以正常获取,说明我S3配置正常

Image

点击立即备份,提示备份失败

Image

Expected Behavior

正常应该是能备份成功

Relevant Log Output

es-Rilh_bH0.js:85 <error> [BackupService] backupToS3: Error uploading file to S3: Error: Error invoking remote method 'backup:backupToS3': InternalError: Io error: put_object write size < data.size(), w_size=15728640, data.size=16396159
processLog @ es-Rilh_bH0.js:85
error @ es-Rilh_bH0.js:116
backupToS3 @ index-CvOKVPUf.js:20853
await in backupToS3
handleBackup @ index-CvOKVPUf.js:110152
handleOk @ store-DHkT-mYs.js:75219
(anonymous) @ ImageViewer-CZSiC8u0.js:4963
processDispatchQueue @ client-DDbmooWc.js:6971
(anonymous) @ client-DDbmooWc.js:7257
batchedUpdates$1 @ client-DDbmooWc.js:1188
dispatchEventForPluginEventSystem @ client-DDbmooWc.js:7047
dispatchEvent @ client-DDbmooWc.js:8605
dispatchDiscreteEvent @ client-DDbmooWc.js:8587
index-CvOKVPUf.js:110160 Uncaught (in promise) Error: Error invoking remote method 'backup:backupToS3': InternalError: Io error: put_object write size < data.size(), w_size=15728640, data.size=16396159
Promise.then
backupToS3 @ index-CvOKVPUf.js:20797
await in backupToS3
handleBackup @ index-CvOKVPUf.js:110152
handleOk @ store-DHkT-mYs.js:75219
(anonymous) @ ImageViewer-CZSiC8u0.js:4963
processDispatchQueue @ client-DDbmooWc.js:6971
(anonymous) @ client-DDbmooWc.js:7257
batchedUpdates$1 @ client-DDbmooWc.js:1188
dispatchEventForPluginEventSystem @ client-DDbmooWc.js:7047
dispatchEvent @ client-DDbmooWc.js:8605
dispatchDiscreteEvent @ client-DDbmooWc.js:8587
es-Rilh_bH0.js:85 <error> [BackupService] backupToS3: Error uploading file to S3: Error: Error invoking remote method 'backup:backupToS3': InternalError: Io error: put_object write size < data.size(), w_size=15728640, data.size=16396159
processLog @ es-Rilh_bH0.js:85
error @ es-Rilh_bH0.js:116
backupToS3 @ index-CvOKVPUf.js:20853
await in backupToS3
handleBackup @ index-CvOKVPUf.js:110152
handleOk @ store-DHkT-mYs.js:75219
(anonymous) @ ImageViewer-CZSiC8u0.js:4963
processDispatchQueue @ client-DDbmooWc.js:6971
(anonymous) @ client-DDbmooWc.js:7257
batchedUpdates$1 @ client-DDbmooWc.js:1188
dispatchEventForPluginEventSystem @ client-DDbmooWc.js:7047
dispatchEvent @ client-DDbmooWc.js:8605
dispatchDiscreteEvent @ client-DDbmooWc.js:8587
index-CvOKVPUf.js:110160 Uncaught (in promise) Error: Error invoking remote method 'backup:backupToS3': InternalError: Io error: put_object write size < data.size(), w_size=15728640, data.size=16396159

Additional Context

No response

Metadata

Metadata

Labels

BUGCategorizes issue or PR as related to a bugDataCategorizes an issue or PR as relevant to SIG Data

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions