Rclone sync from OneDrive errors

What is the problem you are having with rclone?

When running a sync from my personal OneDrive it doesn't sync the folder named "Documents" other folders do sync

I've only noticed this since upgrading to 1.65.0.

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

rclone v1.65.0

  • os/version: raspbian 12.2 (64 bit)
  • os/kernel: 6.1.0-rpi6-rpi-v8 (aarch64)
  • os/type: linux
  • os/arch: arm64 (ARMv8 compatible)
  • go/version: go1.21.4
  • go/linking: static
  • go/tags: none

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

OneDrive (personal)

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

rclone sync OneDrive: /home/pi/OneDrive -P --local-no-set-modtime

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

[OneDrive]
type = onedrive
client_id = XXX
client_secret = XXX
token = XXX
drive_id = XXX
drive_type = personal

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

I think i got the relevant parts of the log. most of it is just about skipping identical or unchanged files

2023/11/28 16:09:01 DEBUG : rclone: Version "v1.65.0" starting with parameters ["/usr/bin/rclone" "sync" "OneDrive:" "/home/pi/OneDrive" "-P" "--local-no-set-modtime" "--log-level=DEBUG" "--log-file=rclone.log"]
2023/11/28 16:09:01 DEBUG : Creating backend with remote "OneDrive:"
2023/11/28 16:09:01 DEBUG : Using config file from "/home/pi/.config/rclone/rclone.conf"
2023/11/28 16:09:01 DEBUG : OneDrive: Loaded invalid token from config file - ignoring
2023/11/28 16:09:01 DEBUG : Saving config "token" in section "OneDrive" of the config file
2023/11/28 16:09:01 DEBUG : Keeping previous permissions for config file: -rwxrwxrwx
2023/11/28 16:09:01 DEBUG : OneDrive: Saved new token in config file
2023/11/28 16:09:02 DEBUG : Creating backend with remote "/home/pi/OneDrive"
2023/11/28 16:09:02 DEBUG : local: detected overridden config - adding "{Y5i-z}" suffix to name
2023/11/28 16:09:02 DEBUG : fs cache: renaming cache item "/home/pi/OneDrive" to be canonical "local{Y5i-z}:/home/pi/OneDrive"

2023/11/28 16:09:03 ERROR : Documents: error reading source directory: unknown object type <nil>
2023/11/28 16:11:09 ERROR : Local file system at /home/pi/OneDrive: not deleting files as there were IO errors 
2023/11/28 16:11:09 ERROR : Local file system at /home/pi/OneDrive: not deleting directories as there were IO errors
2023/11/28 16:11:09 ERROR : Attempt 1/3 failed with 1 errors and: unknown object type <nil>
2023/11/28 16:11:10 ERROR : Documents: error reading source directory: unknown object type <nil>
2023/11/28 16:13:19 ERROR : Local file system at /home/pi/OneDrive: not deleting files as there were IO errors
2023/11/28 16:13:19 ERROR : Local file system at /home/pi/OneDrive: not deleting directories as there were IO errors
2023/11/28 16:13:19 ERROR : Attempt 2/3 failed with 1 errors and: unknown object type <nil>
2023/11/28 16:13:20 ERROR : Documents: error reading source directory: unknown object type <nil>
2023/11/28 16:15:27 ERROR : Local file system at /home/pi/OneDrive: not deleting files as there were IO errors
2023/11/28 16:15:27 ERROR : Local file system at /home/pi/OneDrive: not deleting directories as there were IO errors
2023/11/28 16:15:27 ERROR : Attempt 3/3 failed with 1 errors and: unknown object type <nil>

It is known issue in v1.65.

And hopefully already fixed. More details in below thread:

Try the latest beta.

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