STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.
What is the problem you are having with rclone?
When uploading a local directory to a remote store "most" files transfer. A few do not. When I try to isolate the issue and upload a single file that failed I get the following error message:
Failed to copy: failed to upload chunk 1 with 52428800 bytes: :
status code: 520, request id: , host id:
Run the command 'rclone version' and share the full output of the command.
rclone v1.64.2
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 6.2.0-35-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.3
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
s3 Compatible / Minio
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copyto "/mnt/local/Media/TV/Show Title/Season 10/Show Title (2015) - S10E05 - Episode Title [WEBDL-1080p h264 EAC3 2.0 8 bit] [Release Group].mkv" "s3crypt:TestMedia/TV/Show Title/Season 10/Show Title (2015) - S10E05 - Episode Title [WEBDL-1080p h264 EAC3 2.0 8 bit] [Release Group].mkv" --low-level-retries 1 --s3-chunk-size 50M --s3-upload-cutoff 100M --no-update-modtime --s3-no-head --checksum --log-file /home/username/28Oct1518.log --log-level DEBUG
I was told to add --low-level-retries 1 --s3-chunk-size 50M --s3-upload-cutoff 100M
by my service provider.
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[s3]
type = s3
provider = Minio
access_key_id = XXX
secret_access_key = XXX
endpoint = https://drive.redacted.tld
acl = bucket-owner-full-control
[s3crypt]
type = crypt
remote = s3:data/personal-files/encrypt
password = XXX
password2 = XXX
filename_encoding = base32768
A log from the command that you were trying to run with the -vv
flag
[Paste log here](https://pastebin.com/88vCAayx)
More info:
I did some more investigating and I believe it's an encoding problem. Here's why.
When I run the command:
rclone backend decode s3crypt: 昬䎸䭛镒肻苖ሇ堷㜿/沫䭺紇ꌤ袁叽覇鑟ဟ/冩剸ᦌꇘ䇶傺ҷ赦ꎟ/赝迎㣓躋鼔䙎ꄐꌏꌟ/漫銡蘒鲝䋉佢ꗕ巿䓞巁棂泺釃䫙拺㲖ꃠ鸊苴ᣆⰎ䭸敺氓㙭㽢墜䫬罫䟠㴻ᛂ㑘䑚畤䨞沉瘜狔噼肌厐梢幛嘔駭Ⲝ☽䩝䰚�鵜梾㣈 描䬒ሣ㝧脑業鬁䬩ᑆ䴹犃蕜ꂊዿɟ -vv --low-level-retries 1
I get the following output:
2023/10/28 15:55:31 DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "backend" "decode" "s3crypt:" "昬䎸䭛镒肻苖ሇ堷㜿/沫䭺紇ꌤ袁叽覇鑟ဟ/冩剸ᦌꇘ䇶傺ҷ赦ꎟ/赝迎㣓躋鼔䙎ꄐꌏꌟ/漫銡蘒鲝䋉佢ꗕ巿䓞巁棂泺釃 䫙拺㲖ꃠ鸊苴ᣆⰎ䭸敺氓㙭㽢墜䫬罫䟠㴻ᛂ㑘䑚畤䨞沉瘜狔噼肌厐梢幛嘔駭Ⲝ☽䩝䰚�鵜梾㣈描䬒ሣ㝧脑業鬁䬩ᑆ䴹犃蕜ꂊዿɟ" "-vv" "--low-level-retries" "1"]
2023/10/28 15:55:31 DEBUG : Using config file from "/home/username/.config/rclone/rclone.conf"
2023/10/28 15:55:31 DEBUG : Creating backend with remote "s3:data/personal-files/encrypt"
2023/10/28 15:55:31 DEBUG : Resolving service "s3" region "us-east-1"
2023/10/28 15:55:32 DEBUG : pacer: low level retry 1/2 (error InternalServerError: Internal Server Error
status code: 500, request id: 17925D9B984E9CE8, host id: )
2023/10/28 15:55:32 DEBUG : pacer: Rate limited, increasing sleep to 10ms
2023/10/28 15:55:32 DEBUG : pacer: low level retry 2/2 (error InternalServerError: Internal Server Error
status code: 500, request id: 17925D9BA89B76CD, host id: )
2023/10/28 15:55:32 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2023/10/28 15:55:32 DEBUG : 5 go routines active
2023/10/28 15:55:32 Failed to backend: command "decode" failed: failed to decrypt: 昬䎸䭛镒肻苖ሇ堷㜿/沫䭺紇ꌤ袁叽覇鑟ဟ/冩剸ᦌꇘ䇶傺ҷ赦ꎟ/赝迎㣓躋鼔䙎ꄐꌏꌟ/漫銡蘒鲝䋉佢ꗕ巿䓞巁棂泺釃䫙拺㲖ꃠ鸊苴ᣆⰎ䭸敺氓㙭㽢墜䫬罫䟠㴻ᛂ㑘 䑚畤䨞沉瘜狔噼肌厐梢幛嘔駭Ⲝ☽䩝䰚�鵜梾㣈描䬒ሣ㝧脑業鬁䬩ᑆ䴹犃蕜ꂊዿɟ: illegal base32768 data at input byte 100