Rclone Mount Onedrive error: not uploading file edits from mount to remote

What is the problem you are having with rclone?

Observations

Actions to produce issue

  1. Remote (Teams Web). Created File "teste3.docx". Added line "upstairs"
  2. Local Mount (LibreOffice). Opened File "teste3.docx". Added line "donwstairs-1"
  3. Remote. Opened File. Changes in step 2) NOT REFLECTED, line "downstairs-1" NOT THERE.
  4. Local Mount. Opened File again. Both lines "upstairs" and "downstairs-1" ARE THERE. I was able to rename file to "teste3.1.docx"
  5. Remote. Renaming IS REFLECTED. File edit IS NOT.

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

rclone v1.60.0

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 5.15.0-53-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.19.2
  • go/linking: static
  • go/tags: none

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

Onedrive Businness
mounting Sharepoint/Teams files

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


rclone mount --vfs-cache-mode full --write-back-cache --vfs-write-back 10s --vfs-cache-max-age 300s --vfs-cache-max-size 5000M --vfs-cache-poll-interval 60s --ignore-checksum --ignore-size --cache-dir /tmp --backup-dir /home/vctrpschl/Desktop/¢prograd_eventos/ comeve_TEAMS: /home/vctrpschl/Desktop/¢prograd_eventos

The rclone config contents with secrets removed.

vctrpschl@vctrpschl-Inspiron-3501:~$ rclone config
Current remotes:

Name                 Type
====                 ====
comeve_TEAMS         onedrive

A log from the command with the -vv flag

vctrpschl@vctrpschl-Inspiron-3501:/$ rclone mount --vfs-cache-mode full --write-back-cache --vfs-write-back 10s --vfs-cache-max-age 300s --vfs-cache-max-size 5000M --vfs-cache-poll-interval 60s --cache-dir /tmp comeve_TEAMS: /home/vctrpschl/Desktop/¢prograd_eventos
2022/11/23 17:42:44 ERROR : Eventos-PROGRAD/testes/teste3.docx: Failed to copy: nameAlreadyExists: A file with the same name is currently being uploaded. Change the filename and try to save again. (is it a OneNote file?)
2022/11/23 17:42:44 ERROR : Eventos-PROGRAD/testes/teste3.docx: vfs cache: failed to upload try #1, will retry in 20s: vfs cache: failed to transfer file from cache to remote: nameAlreadyExists: A file with the same name is currently being uploaded. Change the filename and try to save again. (is it a OneNote file?)
^C2022/11/23 17:42:52 ERROR : /home/vctrpschl/Desktop/¢prograd_eventos: Unmounted rclone mount

vctrpschl@vctrpschl-Inspiron-3501:/$ rclone mount --vfs-cache-mode full --write-back-cache --vfs-write-back 10s --vfs-cache-max-age 300s --vfs-cache-max-size 5000M --vfs-cache-poll-interval 60s --ignore-checksum --ignore-size --cache-dir /tmp --backup-dir /home/vctrpschl/Desktop/¢prograd_eventos/ comeve_TEAMS: /home/vctrpschl/Desktop/¢prograd_eventos
2022/11/23 17:44:57 ERROR : Eventos-PROGRAD/testes/teste3.docx: Failed to copy: nameAlreadyExists: A file with the same name is currently being uploaded. Change the filename and try to save again. (is it a OneNote file?)
2022/11/23 17:44:57 ERROR : Eventos-PROGRAD/testes/teste3.docx: vfs cache: failed to upload try #1, will retry in 20s: vfs cache: failed to transfer file from cache to remote: nameAlreadyExists: A file with the same name is currently being uploaded. Change the filename and try to save again. (is it a OneNote file?)
2022/11/23 17:45:17 ERROR : Eventos-PROGRAD/testes/teste3.docx: Failed to copy: nameAlreadyExists: A file with the same name is currently being uploaded. Change the filename and try to save again. (is it a OneNote file?)
2022/11/23 17:45:17 ERROR : Eventos-PROGRAD/testes/teste3.docx: vfs cache: failed to upload try #2, will retry in 40s: vfs cache: failed to transfer file from cache to remote: nameAlreadyExists: A file with the same name is currently being uploaded. Change the filename and try to save again. (is it a OneNote file?)
2022/11/23 17:45:49 ERROR : Eventos-PROGRAD/testes/teste3.1.docx: Failed to copy: nameAlreadyExists: A file with the same name is currently being uploaded. Change the filename and try to save again. (is it a OneNote file?)
2022/11/23 17:45:49 ERROR : Eventos-PROGRAD/testes/teste3.1.docx: vfs cache: failed to upload try #3, will retry in 1m20s: vfs cache: failed to transfer file from cache to remote: nameAlreadyExists: A file with the same name is currently being uploaded. Change the filename and try to save again. (is it a OneNote file?)
2022/11/23 17:46:47 ERROR : Eventos-PROGRAD/testes/teste3.1.docx: Failed to copy: nameAlreadyExists: A file with the same name is currently being uploaded. Change the filename and try to save again. (is it a OneNote file?)
2022/11/23 17:46:47 ERROR : Eventos-PROGRAD/testes/teste3.1.docx: vfs cache: failed to upload try #4, will retry in 2m40s: vfs cache: failed to transfer file from cache to remote: nameAlreadyExists: A file with the same name is currently being uploaded. Change the filename and try to save again. (is it a OneNote file?)```

If the size isn't changing, it won't upload as that's how OneDrive is.

well, thanks, but I don't understand.

these flags (ignore size and checksum) are suggested in the specific Rclone Onedrive article. So how could the flags be a problem?

about the other point, the terminal output report says it is trying to upload but failing, right?