Problem syncing root of Windows drive to UNC

What is the problem you are having with rclone?

Seems something broke on Windows when syncing the root drive to a UNC with v1.65.0.

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

rclone v1.65.0
- os/version: Microsoft Windows 11 Enterprise 23H2 (64 bit)
- os/kernel: 10.0.22631.2715 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.21.4
- go/linking: static
- go/tags: cmount

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

Local file server over UNC

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

rclone.exe^
  sync^
  --log-level INFO^
  --stats-one-line-date^
  --skip-links^
  --checksum^
  --delete-excluded^
  --create-empty-src-dirs^
  --filter "+ /scm/**"^
  --filter "- /**"^
  C:/^
  //server/share

Note: The above syntax is an MRE, the source must be the root of the drive due to dozens of additional filters.

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

No remotes found, make a new one?
n) New remote
s) Set configuration password
q) Quit config
n/s/q> q

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

2023/11/26 15:29:21 DEBUG : rclone: Version "v1.65.0" starting with parameters ["C:\\tmp\\rclone.exe" "sync" "-vv" "--stats-one-line-date" "--skip-links" "--checksum" "--delete-excluded" "--create-empty-src-dirs" "--filter" "+ /scm/**" "--filter" "- /**" "C:/" "//server/share"]
2023/11/26 15:29:21 DEBUG : Creating backend with remote "C:/"
2023/11/26 15:29:21 DEBUG : Using config file from "C:\\Users\\jdoe\\.config\\rclone\\rclone.conf"
2023/11/26 15:29:21 DEBUG : local: detected overridden config - adding "{HK82T}" suffix to name
2023/11/26 15:29:21 DEBUG : fs cache: renaming cache item "C:/" to be canonical "local{HK82T}://?/C:/"
2023/11/26 15:29:21 DEBUG : Creating backend with remote "//server/share"
2023/11/26 15:29:21 DEBUG : local: detected overridden config - adding "{HK82T}" suffix to name
2023/11/26 15:29:21 DEBUG : fs cache: renaming cache item "//server/share" to be canonical "local{HK82T}://?/UNC/server/share"
2023/11/26 15:29:21 ERROR : Local file system at //?/C:/: error reading source root directory: directory not found
2023/11/26 15:29:21 DEBUG : Local file system at //?/UNC/server/share: Waiting for checks to finish
2023/11/26 15:29:21 DEBUG : Local file system at //?/UNC/server/share: Waiting for transfers to finish
2023/11/26 15:29:21 ERROR : Local file system at //?/UNC/server/share: not deleting files as there were IO errors
2023/11/26 15:29:21 ERROR : Local file system at //?/UNC/server/share: not deleting directories as there were IO errors
2023/11/26 15:29:21 ERROR : Attempt 1/3 failed with 1 errors and: directory not found
2023/11/26 15:29:21 ERROR : Local file system at //?/C:/: error reading source root directory: directory not found
2023/11/26 15:29:21 DEBUG : Local file system at //?/UNC/server/share: Waiting for checks to finish
2023/11/26 15:29:21 DEBUG : Local file system at //?/UNC/server/share: Waiting for transfers to finish
2023/11/26 15:29:21 ERROR : Local file system at //?/UNC/server/share: not deleting files as there were IO errors
2023/11/26 15:29:21 ERROR : Local file system at //?/UNC/server/share: not deleting directories as there were IO errors
2023/11/26 15:29:21 ERROR : Attempt 2/3 failed with 1 errors and: directory not found
2023/11/26 15:29:21 ERROR : Local file system at //?/C:/: error reading source root directory: directory not found
2023/11/26 15:29:21 DEBUG : Local file system at //?/UNC/server/share: Waiting for checks to finish
2023/11/26 15:29:21 DEBUG : Local file system at //?/UNC/server/share: Waiting for transfers to finish
2023/11/26 15:29:21 ERROR : Local file system at //?/UNC/server/share: not deleting files as there were IO errors
2023/11/26 15:29:21 ERROR : Local file system at //?/UNC/server/share: not deleting directories as there were IO errors
2023/11/26 15:29:21 ERROR : Attempt 3/3 failed with 1 errors and: directory not found
2023/11/26 15:29:21 INFO  : 2023/11/26 15:29:21 -           0 B / 0 B, -, 0 B/s, ETA -
2023/11/26 15:29:21 DEBUG : 2 go routines active
2023/11/26 15:29:21 Failed to sync: directory not found

I believe this is now being addressed in #7468.

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