What is the problem you are having with rclone?
Hi, I'm trying to upload many files to OneDrive using Crypt and Chunker.
My config:
Chunker -> Crypt -> OneDrive
I'm getting an error:
Failed to copy: 413 Request Entity Too Large:
which is weird, I'm using chunker to avoid such problems and it seems to appear only for files >= 2G. OneDrive support files up to 250G.
Can you please look into my setup?
Run the command 'rclone version' and share the full output of the command.
rclone v1.57.0
- os/version: qts 5.0.0 (20220324) (64 bit)
- os/kernel: 5.10.60-qnap (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.2
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
OneDrive for Business
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync /share/homes/ OneDrive-Crypt-Chunker:qnap/backups/homes/ --transfers=15 --checkers=15 --bwlimit 80M --progress --stats=1s --config=/share/homes... --min-size 2G
The rclone config contents with secrets removed.
[OneDrive]
type = onedrive
client_id = <secret>
client_secret = <secret>
token = {"access_token":"<secret>"}
drive_id = <secret>
drive_type = business
chunk_size = 144834560
[OneDrive-Crypt]
type = crypt
remote = OneDrive:ENC-C/
password = <secret>
password2 = <secret>
filename_encryption = obfuscate
[OneDrive-Crypt-Chunker]
type = chunker
remote = OneDrive-Crypt:
#chunk_size = 96Mi
chunk_size = 64Gi
hash_type = md5quick
A log from the command with the -vv
flag
2022-05-14 11:25:21 ERROR : admin: failed to open directory "admin": open /share/homes/admin: permission denied
2022-05-14 11:25:21 NOTICE: <secret>/@Recycle: Can't follow symlink without -L/--copy-links
2022-05-14 11:25:21 NOTICE: kamil/@Recycle: Can't follow symlink without -L/--copy-links
2022-05-14 11:25:28 ERROR : kamil/<secret>: Failed to copy: 413 Request Entity Too Large:
2022-05-14 11:25:28 ERROR : kamil/<secret>: Failed to copy: 413 Request Entity Too Large:
2022-05-14 11:25:28 ERROR : kamil/<secret>: Failed to copy: 413 Request Entity Too Large:
2022-05-14 11:25:29 ERROR : kamil/<secret>: Failed to copy: 413 Request Entity Too Large:
2022-05-14 11:25:29 ERROR : kamil/<secret>: Failed to copy: 413 Request Entity Too Large:
2022-05-14 11:25:30 ERROR : kamil/<secret>: Failed to copy: 413 Request Entity Too Large:
2022-05-14 11:25:30 ERROR : kamil/<secret>: Failed to copy: 413 Request Entity Too Large:
2022-05-14 11:25:30 ERROR : kamil/<secret>: Failed to copy: 413 Request Entity Too Large: