Rclone => sharepoint : files are not showing

What is the problem you are having with rclone?

I think it's a sharepoint issue, but if if anyone has already had the problem .... (and resolve it)
I use rclone to sync files and folder to sharepoint site. With "rclone ncdu remote:" or "rclone ls remote:" it's ok, I can see folders/files and theirs sizes.
In sharepoint website, I can see only folders, same thing with the link in onedrive.
In sharepoint admin, 0 kb in use ?!

Someone had an explanation ?

What is your rclone version (output from rclone version)

V1.56.0

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

Sharepoint

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

rclone copy -P -L -vv . remote: --ignore-checksum --ignore-size
Paste command here



#### The rclone config contents with secrets removed.  
<!--  You should use 3 backticks to begin and end your paste to make it readable.   -->

```{
    "Remote": {
        "drive_id": "b!oEofgfdgH7i-VOpmbodrjlge45fyfgffdkpkhf6SnsQetcetc",
        "drive_type": "documentLibrary",
        "token": "{\"access_token\":\",
        "type": "onedrive"
    }
Paste config here

A log from the command with the -vv flag

2021/09/08 11:17:53 DEBUG : Creating backend with remote "."
2021/09/08 11:17:53 DEBUG : local: detected overridden config - adding "{12rtk}" suffix to name
2021/09/08 11:17:53 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2021/09/08 11:17:53 DEBUG : fs cache: renaming cache item "." to be canonical "local{12rtk}:/home/coppernic/ONEDRIVE/Software/release"
2021/09/08 11:17:53 DEBUG : Creating backend with remote "remote:"
2021-09-08 11:17:53 DEBUG : glacier-inventory.txt: Size and modification time the same (differ by -918.756ms, within tolerance 1s)
2021-09-08 11:17:53 DEBUG : glacier-inventory.txt: Unchanged skipping
2021-09-08 11:17:53 ERROR : proto/file: Listing error: symlink: stat folder/file: no such file or directory
2021-09-08 11:17:53 DEBUG : glacier-inventory.txt.old: Size and modification time the same (differ by -755.323999ms, within tolerance 1s)
2021-09-08 11:17:53 DEBUG : glacier-inventory.txt.old: Unchanged skipping
2021-09-08 11:17:53 DEBUG : file/generation_done: Size and modification time the same (differ by -521.425999ms, within tolerance 1s)
2021-09-08 11:17:53 DEBUG : file/generation_done: Unchanged skipping
2021-09-08 11:17:53 DEBUG : file1.zip: Size and modification time the same (differ by -521.425999ms, within tolerance 1s)
2021-09-08 11:17:53 DEBUG : file.zip: Unchanged skipping

Paste  log here

hello and welcome to the forum,

in the sharepoint website, you see the exact same folder names as with rclone, but nothing seeing the files?

the top lines of the debug log is missing?

oups, I forgot the firts line of the debug log :slight_smile:
2021/09/08 11:17:53 DEBUG : rclone: Version "v1.56.0" starting with parameters ["rclone" "copy" "-P" "-L" "-vv" "." "Remote:" "--ignore-checksum" "--ignore-size"]

Ans yes the exact same folder names and the same folder structure.

can you post the top lines, not just the top line.
from the top line to the first file operation.

root@build:/home/folder/release# rclone copy -P -L -vv . Remote: --ignore-checksum --ignore-size

2021/09/08 11:17:53 DEBUG : rclone: Version "v1.56.0" starting with parameters ["rclone" "copy" "-P" "-L" "-vv" "." "Remote:" "--ignore-checksum" "--ignore-size"]
2021/09/08 11:17:53 DEBUG : Creating backend with remote "."
2021/09/08 11:17:53 DEBUG : local: detected overridden config - adding "{12rtk}" suffix to name
2021/09/08 11:17:53 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2021/09/08 11:17:53 DEBUG : fs cache: renaming cache item "." to be canonical "local{12rtk}:/<somefolders>/release"
2021/09/08 11:17:53 DEBUG : Creating backend with remote "Remote:"
2021-09-08 11:17:53 DEBUG : glacier-inventory.txt: Size and modification time the same (differ by -918.756ms, within tolerance 1s)
2021-09-08 11:17:53 DEBUG : glacier-inventory.txt: Unchanged skipping
2021-09-08 11:17:53 ERROR : proto/file1: Listing error: symlink: stat /home/file1: no such file or directory
2021-09-08 11:17:53 DEBUG : glacier-inventory.txt.old: Size and modification time the same (differ by -755.323999ms, within tolerance 1s)
2021-09-08 11:17:53 DEBUG : glacier-inventory.txt.old: Unchanged skipping
2021-09-08 11:17:53 DEBUG : file2/generation_done: Size and modification time the same (differ by -521.425999ms, within tolerance 1s)
2021-09-08 11:17:53 DEBUG : file2/generation_done: Unchanged skipping
....
etc```

I have some errors from symlink, nothing serious

this is strange

  • rclone sees folder and files
  • sharepoint sees the same folders but no files

using sharepoint website, try to search from the root folder for glacier-inventory.txt

root on sharepoint website :

root@build:/home/folders/release# rclone ls Remote:
    18465 glacier-inventory.txt
    16623 glacier-inventory.txt.old
        0 folder/release_done
        0 folder1/generation_done
    58352 folder1/file.zip
...

what i meant was to do a global search for glacier-inventory.txt

nothing
image

now that we have some good info, we have rcloners knowledgeable about sharepoint.
hopefully, one will stop by soon...

1 Like

more information :
if I create a new folder on sharepoint, I can see it with "rclone lsf remote:"
If I create/move a file on sharepoint, I can't see it with "rclone lsf remote:"

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