Failed to Copy: Name Already Exists

What is the problem you are having with rclone?

Failed to copy: failed to make directory: name AlreadyExists: Name already exists

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

rclone v1.68.1

  • os/version: debian 12.5 (64 bit)
  • os/kernel: 6.8.4-2-pve (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.23.1
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Microsoft Sharepoint

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

rclone sync --verbose --progress /mnt/datastore/storage1/tier1 SLSharePointCrypt:tier1 -vv

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

 rclone config redacted
[SLSharePoint]
type = onedrive
token = XXX
drive_id = XXX
drive_type = documentLibrary

[SLSharePointCrypt]
type = crypt
remote = SLSharePoint:SLPBS1
directory_name_encryption = true
password = XXX
filename_encoding = base32768
### Double check the config for sensitive info before posting publicly

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

rclone sync --verbose --progress /mnt/datastore/storage1/tier1 SLSharePointCrypt:tier1 -vv
2024/09/25 18:03:44 DEBUG : rclone: Version "v1.67.0" starting with parameters ["rclone" "sync" "--verbose" "--progress" "/mnt/datastore/storage1/tier1" "SLSharePointCrypt:tier1" "-vv"]
2024/09/25 18:03:44 DEBUG : Creating backend with remote "/mnt/datastore/storage1/tier1"
2024/09/25 18:03:44 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2024/09/25 18:03:44 DEBUG : Creating backend with remote "SLSharePointCrypt:tier1"
2024/09/25 18:03:44 DEBUG : Creating backend with remote "SLSharePoint:SLBS1/䌶䂶䆱㐳具恽꒶罳䷟"
2024/09/25 18:03:45 DEBUG : .slice: Directory modification time the same (differ by -377.674284ms, within tolerance 1s)
2024/09/25 18:03:45 DEBUG : Added delayed dir = ".slice", newDst=.slice
2024/09/25 18:03:45 DEBUG : vm: Directory modification time the same (differ by -931.582153ms, within tolerance 1s)
2024/09/25 18:03:45 DEBUG : Added delayed dir = "vm", newDst=vm
2024/09/25 18:03:45 DEBUG : .gc-status: Size and modification time the same (differ by -103.358756ms, within tolerance 1s)
2024/09/25 18:03:45 DEBUG : .gc-status: Unchanged skipping
2024/09/25 18:03:45 DEBUG : .lock: Size and modification time the same (differ by -650.604146ms, within tolerance 1s)
2024/09/25 18:03:45 DEBUG : .lock: Unchanged skipping
2024/09/25 18:03:45 DEBUG : vm/111: Directory modification time the same (differ by -5.884087ms, within tolerance 1s)
2024/09/25 18:03:45 DEBUG : Added delayed dir = "vm/111", newDst=vm/111
2024/09/25 18:03:45 DEBUG : vm/112: Directory modification time the same (differ by -559.423002ms, within tolerance 1s)
2024/09/25 18:03:45 DEBUG : Added delayed dir = "vm/112", newDst=vm/112
2024/09/25 18:03:45 DEBUG : Added delayed dir = "vm/113", newDst=vm/113
2024/09/25 18:03:45 DEBUG : vm/113/2024-08-29T14:04:05Z: Directory modification time the same (differ by -843.271802ms, within tolerance 1s)
2024/09/25 18:03:45 DEBUG : Added delayed dir = "vm/113/2024-08-29T14:04:05Z", newDst=vm/113/2024-08-29T14:04:05Z
2024/09/25 18:03:45 DEBUG : vm/113/2024-08-29T14:05:05Z: Directory modification time the same (differ by -757.269765ms, within tolerance 1s)
2024/09/25 18:03:45 DEBUG : Added delayed dir = "vm/113/2024-08-29T14:05:05Z", newDst=vm/113/2024-08-29T14:05:05Z

2024/09/25 18:04:21 ERROR : .slice/10b2/10b2111b82d09fcc23f49807fd0cef427959aba48cff6e8772de3205bef51d2a: Failed to copy: failed to make directory: nameAlreadyExists: Name already exists