MS sharepoint: vfs cache: failed to transfer file from cache to remote

I am mounting it like this:
rclone mount NORCE_pilot: ~/NORCE_pilot --vfs-cache-mode full --log-file=rclone.log

What is the problem you are having with rclone?

Log is collecting these error, failing to copy the file - and I wish there was a way to abort further retries.

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

$ rclone version
rclone v1.64.0

  • os/version: ubuntu 23.04 (64 bit)
  • os/kernel: 6.2.0-33-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.21.1
  • go/linking: static
  • go/tags: none

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

M$ sharepoint

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

cp -r -p  NORCE_pilot/Compliance\ list\ for\ operations\ iaw\ PDRA.G02.docx NORCE_pilot/test

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

[NORCE_pilot]
type = onedrive
client_id = XXX
client_secret = XXX
token = XXX
drive_id = XXX
drive_type = documentLibrary

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

2023/09/29 09:44:59 ERROR : Compliancetest.docx: corrupted on transfer: sizes differ 20054 vs 22592
2023/09/29 09:44:59 ERROR : Compliancetest.docx: vfs cache: failed to upload try #1, will retry in 10s: vfs cache: failed to transfer file from cache to remote: corrupted on transfer: sizes differ 20054 vs 22592
2023/09/29 09:45:10 ERROR : Compliancetest.docx: corrupted on transfer: sizes differ 20054 vs 22592
2023/09/29 09:45:10 ERROR : Compliancetest.docx: vfs cache: failed to upload try #2, will retry in 20s: vfs cache: failed to transfer file from cache to remote: corrupted on transfer: sizes differ 20054 vs 22592
2023/09/29 09:45:32 ERROR : Compliancetest.docx: corrupted on transfer: sizes differ 20054 vs 22592
2023/09/29 09:45:32 ERROR : Compliancetest.docx: vfs cache: failed to upload try #3, will retry in 40s: vfs cache: failed to transfer file from cache to remote: corrupted on transfer: sizes differ 20054 vs 22592

You didn't include your mount command :frowning:

Sorry: rclone mount "NORCE pilot:" ~/NORCE_pilot/ --vfs-cache-mode full
I see other things that I wrote too, that does not show up, some formatting issue .. Fixing it now.
edit: now I fixed the original post so that all information is displayed.

@Animosity022 - please see the corrected posts above.

I'm hoping you click on the link and read :slight_smile:

Run the mount in debug and you'll see the error...

1 Like

Thank you. :slight_smile: I am surprised those options are not default for that service.

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