What is the problem you are having with rclone?
Hello!
I'm trying to set up on-the-fly backups on storage type s3, but I get an error.
Run the command 'rclone version' and share the full output of the command.
rclone v1.59.2
- os/version: arch "rolling" (64 bit)
- os/kernel: 5.19.9-arch1-1 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.1
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Own s3, based on minio - for test.
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
cat /tmp/test.file | rclone rcat aws:/test.file
<5>NOTICE: S3 root: Streaming uploads using chunk size 5Mi will have maximum file size of 48.828Gi
<3>ERROR : test.file: Post request rcat error: multipart upload failed to initialise: InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, CreateMultipartUploadInput.Key.
Failed to rcat with 2 errors: last error was: multipart upload failed to initialise: InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, CreateMultipartUploadInput.Key.
and
cat /tmp/test.file | rclone rcat aws:/test.file --size 1048576
<3>ERROR : test.file: Post request put error: InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, PutObjectInput.Key.
Failed to rcat with 2 errors: last error was: InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, PutObjectInput.Key.
The rclone config contents with secrets removed.
[aws]
type = s3
provider = Other
access_key_id = ***
secret_access_key = ***
endpoint = http:/***:9000/bucket1
A log from the command with the -vv
flag
cat /tmp/test.file | rclone rcat aws:/test.file -vv
<7>DEBUG : rclone: Version "v1.59.2" starting with parameters ["rclone" "rcat" "aws:/test.file" "-vv"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "aws:/"
<7>DEBUG : Using config file from "/home/***/.config/rclone/rclone.conf"
<7>DEBUG : fs cache: renaming cache item "aws:/" to be canonical "aws:"
<6>INFO : S3 root: Bucket "test.file" created with ACL "private"
<5>NOTICE: S3 root: Streaming uploads using chunk size 5Mi will have maximum file size of 48.828Gi
<3>ERROR : test.file: Post request rcat error: multipart upload failed to initialise: InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, CreateMultipartUploadInput.Key.
<7>DEBUG : 6 go routines active
Failed to rcat with 2 errors: last error was: multipart upload failed to initialise: InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, CreateMultipartUploadInput.Key.
and
cat /tmp/test.file | rclone rcat aws:/test.file --size 1048576 -vv
<7>DEBUG : rclone: Version "v1.59.2" starting with parameters ["rclone" "rcat" "aws:/test.file" "--size" "1048576" "-vv"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "aws:/"
<7>DEBUG : Using config file from "/home/***/.config/rclone/rclone.conf"
<7>DEBUG : fs cache: renaming cache item "aws:/" to be canonical "aws:"
<6>INFO : S3 root: Bucket "test.file" created with ACL "private"
<3>ERROR : test.file: Post request put error: InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, PutObjectInput.Key.
<7>DEBUG : 6 go routines active
Failed to rcat with 2 errors: last error was: InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, PutObjectInput.Key.