Korean characters not accepted as path for sync

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?

Run the command 'rclone version' and share the full output of the command.

$ rclone version
rclone v1.64.2

  • os/version: ubuntu 16.04 (64 bit)
  • os/kernel: 4.15.0-142-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)

AWS s3

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone sync /mnt_rg/폴더/ odc_s3:sdp-test-bucket폴더 -P --log-file=kor_path_폴더.log -vv

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[aws_s3]
endpoint = https://s3.cloud.com
type = s3
provider = Minio
basic_auth = true
access_key_id = <AK>
secret_access_key = <SK>
env_auth = false
region = us-east-1

A log from the command that you were trying to run with the -vv flag

2023/10/26 11:05:35 DEBUG : Creating backend with remote "/mnt_rg/폴더/"
2023/10/26 11:05:35 DEBUG : Using config file from "/home/moon/.config/rclone/rclone.conf"
2023/10/26 11:05:35 DEBUG : fs cache: renaming cache item "/mnt_rg/폴더/" to be canonical "/mnt_rg/폴더"
2023/10/26 11:05:35 DEBUG : Creating backend with remote "odc_s3:sdp-test-bucket/폴더"
2023/10/26 11:05:35 DEBUG : Resolving service "s3" region "us-east-1"
2023/10/26 11:05:35 ERROR : S3 bucket sdp-test-bucket path 폴더: error reading destination root directory: InvalidToken: The provided token is expired or otherwise invalid.
        status code: 401, request id: , host id:
2023/10/26 11:05:35 DEBUG : S3 bucket sdp-test-bucket path 폴더: Waiting for checks to finish
2023/10/26 11:05:35 DEBUG : S3 bucket sdp-test-bucket path 폴더: Waiting for transfers to finish
2023/10/26 11:05:35 ERROR : S3 bucket sdp-test-bucket path 폴더: not deleting files as there were IO errors
2023/10/26 11:05:35 ERROR : S3 bucket sdp-test-bucket path 폴더: not deleting directories as there were IO errors
2023/10/26 11:05:35 ERROR : Attempt 1/3 failed with 1 errors and: InvalidToken: The provided token is expired or otherwise invalid.
        status code: 401, request id: , host id:
2023/10/26 11:05:35 ERROR : S3 bucket sdp-test-bucket path 폴더: error reading destination root directory: InvalidToken: The provided token is expired or otherwise invalid.
        status code: 401, request id: , host id:
2023/10/26 11:05:35 DEBUG : S3 bucket sdp-test-bucket path 폴더: Waiting for checks to finish
2023/10/26 11:05:35 DEBUG : S3 bucket sdp-test-bucket path 폴더: Waiting for transfers to finish
2023/10/26 11:05:35 ERROR : S3 bucket sdp-test-bucket path 폴더: not deleting files as there were IO errors
2023/10/26 11:05:35 ERROR : S3 bucket sdp-test-bucket path 폴더: not deleting directories as there were IO errors
2023/10/26 11:05:35 ERROR : Attempt 2/3 failed with 1 errors and: InvalidToken: The provided token is expired or otherwise invalid.
        status code: 401, request id: , host id:
2023/10/26 11:05:35 ERROR : S3 bucket sdp-test-bucket path 폴더: error reading destination root directory: InvalidToken: The provided token is expired or otherwise invalid.
        status code: 401, request id: , host id:
2023/10/26 11:05:35 DEBUG : S3 bucket sdp-test-bucket path 폴더: Waiting for checks to finish
2023/10/26 11:05:35 DEBUG : S3 bucket sdp-test-bucket path 폴더: Waiting for transfers to finish
2023/10/26 11:05:35 ERROR : S3 bucket sdp-test-bucket path 폴더: not deleting files as there were IO errors
2023/10/26 11:05:35 ERROR : S3 bucket sdp-test-bucket path 폴더: not deleting directories as there were IO errors
2023/10/26 11:05:35 ERROR : Attempt 3/3 failed with 1 errors and: InvalidToken: The provided token is expired or otherwise invalid.
        status code: 401, request id: , host id:
2023/10/26 11:05:35 INFO  :
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:         0.1s

2023/10/26 11:05:35 DEBUG : 6 go routines active
2023/10/26 11:05:35 Failed to sync: InvalidTo

As per AWS docs:

allowed characters are rather limited so unfortunately you can not use any korean characters in buckets' names.

Thanks!
How about having a Korean character on the folder inside the bucket? or korean character on the path?

This is fine for rclone. Question is whether your S3 provider supports it or not.

Have a look at:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.