Backup Crash
-
On Cloudron 9.0.17, my backup to S3 (Scaleway) are crashing.
Here are the logs: https://file.thivinfo.com/Cloudron/task-23.log
Any idea on what is happening ? -
Hello @sebastienserre
How did you configure your backup provider?
Did you chooseScaleway Object StorageorS3 API Compatible (v4)?If you have chosen
Scaleway Object Storageplease try to edit your backup site configuration.
In the advanced section you should be able to increase the part size.
Increase the part size and try again. -
Hello @sebastienserre
After further analysing the log file, there seems to be another issue:
InvalidArgument: Part number must be an integer between 1 and 1000, inclusive at throwDefaultError (/home/yellowtent/box/node_modules/@smithy/smithy-client/dist-cjs/index.js:288:22) at /home/yellowtent/box/node_modules/@smithy/smithy-client/dist-cjs/index.js:297:9 at de_CommandError (/home/yellowtent/box/node_modules/@aws-sdk/client-s3/dist-cjs/index.js:4870:20) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async /home/yellowtent/box/node_modules/@smithy/middleware-serde/dist-cjs/index.js:8:24 at async /home/yellowtent/box/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:386:20 at async /home/yellowtent/box/node_modules/@smithy/middleware-retry/dist-cjs/index.js:254:46 at async /home/yellowtent/box/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js:247:20 at async /home/yellowtent/box/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:63:28 at async /home/yellowtent/box/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:90:20 { ... _header: 'PUT /snapshot/app_e38fca67-db55-4d52-b269-41e20677c94e.tar.gz?partNumber=1001&uploadId=01KG0YHEBKNQV500NSBET9440C&x-id=UploadPart ...It seems Scaleway only allows multipart uploads between 1 and 1000:
https://www.scaleway.com/en/docs/object-storage/api-cli/multipart-uploads/
We will have to look into that and see if we can prevent this issue. -
Hello @sebastienserre
How did you configure your backup provider?
Did you chooseScaleway Object StorageorS3 API Compatible (v4)?If you have chosen
Scaleway Object Storageplease try to edit your backup site configuration.
In the advanced section you should be able to increase the part size.
Increase the part size and try again. -
S sebastienserre has marked this topic as solved
-
Thank you @james
Increasing the part size has fixed the issue.