Can't use Korean characters for destination path, not source

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?

For sync, copy, when I use English folder name for destination path, I have no problems even though I use Korean folder name for source path.
But when I use Korean folder name for destination path. rclone complains with error. even though with English folder name for source path.

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)

S3

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

$ rclone sync /mnt_rg/폴더/ odc_s3:sdp-iq-data/폴더 -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.

[odc_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 : rclone: Version "v1.64.2" starting with parameters ["rclone" "sync" "/mnt_rg/폴더/" "odc_s3:sdp-iq-data/폴더" "-P" "--log-file=kor_path_폴더.log" "-vv"]
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-iq-data/폴더"
2023/10/26 11:05:35 DEBUG : Resolving service "s3" region "us-east-1"
2023/10/26 11:05:35 ERROR : S3 bucket sdp-iq-data 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-iq-data path 폴더: Waiting for checks to finish
2023/10/26 11:05:35 DEBUG : S3 bucket sdp-iq-data path 폴더: Waiting for transfers to finish
2023/10/26 11:05:35 ERROR : S3 bucket sdp-iq-data path 폴더: not deleting files as there were IO errors
2023/10/26 11:05:35 ERROR : S3 bucket sdp-iq-data 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-iq-data 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-iq-data path 폴더: Waiting for checks to finish
2023/10/26 11:05:35 DEBUG : S3 bucket sdp-iq-data path 폴더: Waiting for transfers to finish
2023/10/26 11:05:35 ERROR : S3 bucket sdp-iq-data path 폴더: not deleting files as there were IO errors
2023/10/26 11:05:35 ERROR : S3 bucket sdp-iq-data 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-iq-data 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-iq-data path 폴더: Waiting for checks to finish
2023/10/26 11:05:35 DEBUG : S3 bucket sdp-iq-data path 폴더: Waiting for transfers to finish
2023/10/26 11:05:35 ERROR : S3 bucket sdp-iq-data path 폴더: not deleting files as there were IO errors
2023/10/26 11:05:35 ERROR : S3 bucket sdp-iq-data 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: InvalidToken: The provided token is expired or otherwise invalid.
        status code: 401, request id: , host id:

rclone should not have any issues with korean characters - the same as S3 providers. Below test with iDrive S3:

$ rclone sync ./mnt_rg/폴더/ iDrive:test/폴더 -vv
2023/10/26 10:57:17 DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "sync" "./mnt_rg/폴더/" "iDrive:test/폴더" "-vv"]
2023/10/26 10:57:17 DEBUG : Creating backend with remote "./mnt_rg/폴더/"
2023/10/26 10:57:17 DEBUG : Using config file from "/Users/kptsky/.config/rclone/rclone.conf"
2023/10/26 10:57:17 DEBUG : fs cache: renaming cache item "./mnt_rg/폴더/" to be canonical "/Users/kptsky/Temp/test/mnt_rg/폴더"
2023/10/26 10:57:17 DEBUG : Creating backend with remote "iDrive:test/폴더"
2023/10/26 10:57:17 DEBUG : Resolving service "s3" region "us-east-1"
2023/10/26 10:57:18 DEBUG : test.txt: Need to transfer - File not found at Destination
2023/10/26 10:57:18 DEBUG : S3 bucket test path 폴더: Waiting for checks to finish
2023/10/26 10:57:18 DEBUG : S3 bucket test path 폴더: Waiting for transfers to finish
2023/10/26 10:57:18 DEBUG : /: Creating directory marker
2023/10/26 10:57:18 DEBUG : test.txt: md5 = d404401c8c6495b206fc35c95e55a6d5 OK
2023/10/26 10:57:18 INFO  : test.txt: Copied (new)
2023/10/26 10:57:18 DEBUG : Waiting for deletions to finish
2023/10/26 10:57:18 INFO  :
Transferred:   	          3 B / 3 B, 100%, 0 B/s, ETA -
Transferred:            1 / 1, 100%
Elapsed time:         0.7s

2023/10/26 10:57:18 DEBUG : 8 go routines active

$ rclone ls iDrive:test
        3 폴더/test.txt

It suggests that issue is with configuration of your S3 provider.

Maybe not related but this version of Ubuntu end of life was on April 30, 2021.

Using OS which is not supported by its creators for years can lead you to plethora of random issues.

Thanks. I tested with version 22.04. but I had same result. ㅜ
Now I ask S3 provider to check it.

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