Mount filling SharePoint Recycle Bin

I Love Puppies!!

What is the problem you are having with rclone?

rclone is filling SharePoint recycle bin. After mounting my directory, when I modify an office file from the mount, sharepoint will delete the file, rclone will recreate the file, then sharepoint will delete the file. this happens again and again.

my issue may also stem from file times being off by 3 hours.

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

rclone v1.69.1

  • os/version: arch 25.0.0 (64 bit)
  • os/kernel: 6.12.11-1-MANJARO (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.24.0
  • go/linking: static
  • go/tags: none

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

OneDrive Business, SharePoint directory

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

rclone --vfs-cache-mode full --cache-dir ~/OneDrive/SharePoint/ProjectsCache --no-modtime mount OneDrive_Automation: ~/OneDrive/SharePoint/Projects &

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

[OneDrive_Automation]
type = onedrive
token = XXX
drive_id = XXX
drive_type = documentLibrary

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

WOW there was a lot to sort through but this is the part I believe deals with my issue..... redacted full file name XXX

2025/02/23 18:17:13 INFO  : OneDrive root '': vfs cache: cleaned: objects 10 (was 10) in use 1, to upload 1, uploading 0, total size 1.132Mi (was 1.132Mi)
2025/02/23 18:17:15 DEBUG : XXX/IPaddressrequest_DBB_1-29-2025 (Copy).xlsx: vfs cache: starting upload
2025/02/23 18:17:15 DEBUG : XXX/IPaddressrequest_DBB_1-29-2025 (Copy).xlsx: Starting multipart upload
2025/02/23 18:17:16 DEBUG : XXX/IPaddressrequest_DBB_1-29-2025 (Copy).xlsx: Uploading segment 0/20017 size 20017
2025/02/23 18:17:17 DEBUG : XXX/IPaddressrequest_DBB_1-29-2025 (Copy).xlsx: quickxor = b42bd259341e1bbfffd9d448b4a94a5c42fb8c38 (Local file system at /home/phil/OneDrive/SharePoint/ProjectsCache/vfs/OneDrive_Automation)
2025/02/23 18:17:17 DEBUG : XXX/IPaddressrequest_DBB_1-29-2025 (Copy).xlsx: quickxor = 44c9ad0165ebdbd61d2f75306b252c671fc89b05 (OneDrive root '')
2025/02/23 18:17:17 ERROR : XXX/IPaddressrequest_DBB_1-29-2025 (Copy).xlsx: corrupted on transfer: quickxor hashes differ src(Local file system at /home/phil/OneDrive/SharePoint/ProjectsCache/vfs/OneDrive_Automation) "b42bd259341e1bbfffd9d448b4a94a5c42fb8c38" vs dst(OneDrive root '') "44c9ad0165ebdbd61d2f75306b252c671fc89b05"
2025/02/23 18:17:17 INFO  : XXX/IPaddressrequest_DBB_1-29-2025 (Copy).xlsx: Removing failed copy
2025/02/23 18:17:17 ERROR : XXX/IPaddressrequest_DBB_1-29-2025 (Copy).xlsx: vfs cache: failed to upload try #4, will retry in 1m20s: vfs cache: failed to transfer file from cache to remote: corrupted on transfer: quickxor hashes differ src(Local file system at /home/phil/OneDrive/SharePoint/ProjectsCache/vfs/OneDrive_Automation) "b42bd259341e1bbfffd9d448b4a94a5c42fb8c38" vs dst(OneDrive root '') "44c9ad0165ebdbd61d2f75306b252c671fc89b05"

This is a known issue, check the documentation on how to fix: