Sync stuck (local source to OneDrive Business destination)

What is the problem you are having with rclone?

I installed rclone first time this morning, and since then I can't make the sync command to work properly. It gets stuck almost immediatly, a problem which seems to be encountered often from what I've seen in this forum, so I tried adding the --s3-disable-checksum flag, but that didn't solve the problem unfortunately.
From the --vv it seems it is stuck at "checking".

My System Monitor tells me no traffic is going while its stuck, so it's not that it's a big file or something and that I have to wait.

What is your rclone version (output from rclone version)

rclone v1.53.2

  • go version: go1.15.3

Which OS you are using and how many bits (eg Windows 7, 64 bit)

  • os/arch: linux/amd64 (Manjaro KDE stable)

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

OneDrive (business)

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

rclone sync -i "/home/nataniel/Documents/Cloud/Travail/Mobilidée/GIS/Foobar/" onedrive:"/Mobilidée/05 - GIS/Foobar/" -P --s3-disable-checksum -vv

The rclone config contents with secrets removed.

urrent remotes:

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

A log from the command with the -vv flag

rclone sync -i "/home/nataniel/Documents/Cloud/Travail/Mobilidée/GIS/Foobar G
IS/" onedrive:"/Mobilidée/05 - GIS/Foobar GIS/" -P --s3-disable-checksum -vv  
2020/11/26 17:30:58 DEBUG : rclone: Version "v1.53.2" starting with parameters ["rclone" "sync" "-i" "/home/nataniel/Docu
ments/Cloud/Travail/Mobilidée/GIS/Foobar GIS/" "onedrive:/Mobilidée/05 - GIS/Foobar GIS/" "-P" 
"--s3-disable-checksum" "-vv"] 
2020/11/26 17:30:58 DEBUG : Creating backend with remote "/home/nataniel/Documents/Cloud/Travail/Mobilidée/GIS/Foobar/" 
Enter configuration password: 
password: 
2020/11/26 17:31:02 DEBUG : Using config file from "/home/nataniel/.config/rclone/rclone.conf" 
2020/11/26 17:31:02 DEBUG : Creating backend with remote "onedrive:/Mobilidée/05 - GIS/Foobar GIS/" 
2020/11/26 17:31:06 DEBUG : fs cache: renaming cache item "onedrive:/Mobilidée/05 - GIS/Foobar GIS/" to be c
anonical "onedrive:Mobilidée/05 - GIS/Foobar GIS" 
Transferred:             0 / 0 Bytes, -, 0 Bytes/s, ETA - 
Elapsed time:         8.2srclone: copy "Analyses approfondies.png"? 
y) Yes, this is OK (default) 
n) No, skip this 
s) Skip all copy operations with no more questions 
!) Do all copy operations with no more questions 
2020-11-26 17:31:06 DEBUG : Agences_Suisse.dbf: Modification times differ by -69h6m9s: 2020-11-26 07:48:00 +0100 CET, 202
0-11-23 09:41:51 +0000 UTC 
2020-11-26 17:31:06 DEBUG : Agences_Suisse.prj: Size and modification time the same (differ by 0s, within tolerance 1s) 
2020-11-26 17:31:06 DEBUG : Agences_Suisse.prj: Unchanged skipping 
2020-11-26 17:31:06 DEBUG : Agences_Suisse.cpg: Modification times differ by -69h5m19s: 2020-11-26 07:47:00 +0100 CET, 20
20-11-23 09:41:41 +0000 UTC 
2020-11-26 17:31:06 DEBUG : Analyses Accessibilité_2.png: Sizes differ (src 4942303 vs dst 5026383) 
2020-11-26 17:31:06 DEBUG : Agences_Suisse.shp: Modification times differ by -69h6m19s: 2020-11-26 07:48:00 +0100 CET, 20
20-11-23 09:41:41 +0000 UTC 
2020-11-26 17:31:06 DEBUG : Analyses Accessibilité_3.png: Sizes differ (src 4941793 vs dst 5038493) 
2020-11-26 17:31:06 DEBUG : Analyses Accessibilité_4.png: Sizes differ (src 4743611 vs dst 4847649) 
2020-11-26 17:31:06 DEBUG : Analyses Accessibilité_5.png: Sizes differ (src 3749130 vs dst 3825809) 
2020-11-26 17:31:06 DEBUG : Analyses Accessibilité_6.png: Sizes differ (src 5063271 vs dst 4833956) 
2020-11-26 17:31:06 DEBUG : Chiffres_analyses accessibilité_Vaudoise.xlsx: Sizes differ (src 105557 vs dst 105413) 
2020-11-26 17:31:06 DEBUG : Collaborateurs.cpg: Modification times differ by -69h6m13s: 2020-11-26 07:48:00 +0100 CET, 20
20-11-23 09:41:47 +0000 UTC 
2020-11-26 17:31:06 DEBUG : Agences_Suisse.shx: Modification times differ by -69h6m19s: 2020-11-26 07:48:00 +0100 CET, 20
20-11-23 09:41:41 +0000 UTC 
2020-11-26 17:31:06 DEBUG : Analyses Accessibilité.png: Sizes differ (src 5179774 vs dst 5278298) 
2020-11-26 17:31:06 DEBUG : Collaborateurs.dbf: Modification times differ by -69h6m8s: 2020-11-26 07:48:00 +0100 CET, 202
0-11-23 09:41:52 +0000 UTC 
2020-11-26 17:31:06 DEBUG : Collaborateurs.prj: Modification times differ by -69h6m17s: 2020-11-26 07:48:00 +0100 CET, 20
20-11-23 09:41:43 +0000 UTC 
2020-11-26 17:31:06 DEBUG : Collaborateurs.shp: Modification times differ by -69h6m20s: 2020-11-26 07:48:00 +0100 CET, 20
20-11-23 09:41:40 +0000 UTC 
2020-11-26 17:31:06 DEBUG : Agences_Suisse.cpg: QuickXorHash = 55a082115a800300000000000500000000000000 OK 
2020-11-26 17:31:06 DEBUG : Agences_Suisse.shx: QuickXorHash = d2992f188a217978f9b85f8af5cb2857637c80d0 OK 
2020-11-26 17:31:06 DEBUG : Collaborateurs.cpg: QuickXorHash = 55a082115a800300000000000500000000000000 OK 
2020-11-26 17:31:06 DEBUG : Collaborateurs.prj: QuickXorHash = f7df2213395963a64a4f4b66b00bb4a287b00cff OK 
2020-11-26 17:31:06 DEBUG : Collaborateurs.shp: QuickXorHash = 4d68104ed385843033ee7e1bbb7773682615ad6c OK 
2020-11-26 17:31:06 DEBUG : Agences_Suisse.shp: QuickXorHash = 8ce1a7073eedcc8cc3f2351673172501f6be5707 OK 
2020-11-26 17:31:06 DEBUG : Agences_Suisse.dbf: QuickXorHash = 92a5246ec19388e00d4662fd2512e9439c26d658 OK 
2020-11-26 17:31:06 DEBUG : Collaborateurs.dbf: QuickXorHash = 3e73838950c2bc72c8a3fa77da0ad7a1bda5bd1b OK 
2020-11-26 17:31:10 DEBUG : One drive root 'Mobilidée/05 - GIS/Foobar GIS': Waiting for checks to finish 
Transferred:             0 / 31.694 MBytes, 0%, 0 Bytes/s, ETA - 
Checks:                 8 / 185, 4% 
Transferred:            0 / 34, 0% 
Elapsed time:      2m27.7s 
Checking: 
*                            Agences_Suisse.cpg: checking 
*                            Agences_Suisse.dbf: checking 
*                            Agences_Suisse.shp: checking 
*                            Agences_Suisse.shx: checking 
*                            Collaborateurs.cpg: checking 
*                            Collaborateurs.dbf: checking 
*                            Collaborateurs.prj: checking 
*                            Collaborateurs.shp: checking 
Transferring: 
*                     Analyses approfondies.png: transferring 
*                   Arrets_Bus_20min_marche.cpg: transferring 
*                   Arrets_Bus_20min_marche.dbf: transferring 
*                   Arrets_Bus_20min_marche.prj: transferring



hello and welcome to the forum

--s3-disable-checksum is for s3 backends, not onedrive

you can read about onedrive here
https://rclone.org/onedrive/

Yeah I should have been more precise:

I tried without --s3-disable-checksum, of course, and then I read an extremely long and boring conversation with lots of text and copy/paste about someone who had a similar problem, and I just noticed somewhere in it that this flag was used and solved the problem. So I tried too, but it didn't work (and now I know why)

You ran rclone with the -i option which means it will be waiting for you to answer this question.

If you want rclone to proceed but not do anything you can use --dry-run instead of -i - when happy remove the --dry-run.

Argh, so simple! Thanks for the answer, it works indeed perfectly now that I removed the -i option. Did I misread something or it's impossible to use sync with -i option?

Great

No it will work fine, you just need to answer the questions! Unfortunately -P and -i don't work together very well as -P continually writes stuff on the screen, and -vv writes debug as well which obscures the question.

Maybe I should warn the user about -i with -P or -vv - what do you think?

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