Open DACN opened 2 years ago
Looks like a bug. One clue I see here is that there is a missing slash in the path to the filters file. The slash is not missing in your invocation.
2021-11-26 09:53:10,635: Using filters-file <c:\users\Debbie.rclonesyncwd\filter.txt>
At this point, its not clear to me why the workdir contents are appearing within the sync tree. The slash issue that is visible for the filters-file may be in play for the workdir path also.
Please check a couple items
1) On PC1 with --verbose, what is listed for the filters-file path? Is it also missing the slash, as above for PC2?
2) Check if the contents of this bogus directoryAAAAAAA/PPPPPP/QQQQ & RRRR 2021/.rclonesyncwd
appear to be an exact copy of the proper/desired workdir at C:\Users\Debbie/.rclonesyncwd
. It may be that the proper workdir is not getting used and the actual workdir is getting created within the tree being synced. Whether it is an exact copy or not may be a useful clue.
I've built some experiments on my Windows box and I cannot recreate any problems.
I suspect that the missing slash in the above Using filters-file
line is due to your hand sanitizing the log? I also see missing <
and >
on Path2 in Synching Path1 <d:\Debbie/> with Path2 onedrive:\Debbie/
line, so again I suspect hand edits. Please confirm.
It seems that you are getting a copy of the workdir down is some lower level of the directory tree. Is there any chance that some other background sync is running also? Again, please check per 2.
above. Also check the timestamps in the correct and duplicate .rclonesyncwd files - perhaps there are clues for when they were created.
Thanks for looking at this. A few more thoughts
I'll leave this open as a sighting for now. Let me know if it reoccurs and/or if you find the root cause or more clues.
Not sure what is happening here. But a failure to synchronise files between Microsoft onedrive and laptop (PC2)
On success or fail, powershell pops up a message On fail, telegram message sent to android phone On success - but once a day only - telegram message sent to android phone
And as of this morning rclonesync: "V3.2 201201" rclone: 1.56.2. python 3.9
Looking at the logs.txt file from this morning on PC2, the synchronisation started well ..
2021-11-26 09:53:09,634: BiDirectional Sync for Cloud Services using rclone (V3.2 201201) 2021-11-26 09:53:10,635: Lock file created: <C:\Users\Debbie\AppData\Local\Temp\rclonesync_LOCK_dDebbie_onedriveDebbie_> 2021-11-26 09:53:10,635: Synching Path1 <d:\Debbie/> with Path2 <onedrive:\Debbie/> 2021-11-26 09:53:10,635: Command args:
2021-11-26 09:53:10,635: Using filters-file <c:\users\Debbie.rclonesyncwd\filter.txt>
2021-11-26 09:53:10,635: >>>>> Path1 Checking for Diffs
2021-11-26 09:53:11,921: >>>>> Path2 Checking for Diffs
2021-11-26 09:54:00,981: Path2 File is newer - INVOICES/CURRENT May 2021 - Apr 2022/YYYSEP_to_NOV_2021.docx
2021-11-26 09:54:00,981: Path2 File is new - AAAAAAA/BBB/XXX 2021/ZZZZBrief_fr_def-EN.docx
2021-11-26 09:54:00,981: Path2 File is new - AAAAAAA/BBB/XXX 2021/ZZZZ_Policy Brief_EN.docx
2021-11-26 09:54:00,981: 3 file change(s) on Path2: 2 new, 1 newer, 0 older, 0 deleted
2021-11-26 09:54:00,981: >>>>> Determining and applying changes
2021-11-26 09:54:00,981: Path2 Queue copy to Path1 - d:\Debbie/AAAAAAA/BBB/XXX 2021/ZZZZBrief_fr_def-EN.docx
2021-11-26 09:54:00,981: Path2 Queue copy to Path1 - d:\Debbie/AAAAAAA/BBB/XXX 2021/ZZZ_Policy Brief_EN.docx
2021-11-26 09:54:00,981: Path2 Queue copy to Path1 - d:\Debbie/INVOICES/CURRENT May 2021 - Apr 2022/YYYSEP_to_NOV_2021.docx
2021-11-26 09:54:00,981: Path2 Do queued copies to - Path1
2021-11-26 09:54:09,903: >>>>> Refreshing Path1 and Path2 lsl files
2021-11-26 09:54:10,133: >>>>> Checking integrity of LSL history files for Path1 <d:\Debbie/> versus Path2 <onedrive:\Debbie/>
2021-11-26 09:54:10,313: ERROR Path1 file not found in Path2 - AAAAAAA/PPPPPP/QQQQ & RRRR 2021/.rclonesyncwd/LSL_d Debbie_archive_onedrive__Debbie_archivePath1
2021-11-26 09:54:10,313: ERROR Path1 file not found in Path2 - AAAAAAA/PPPPPP/QQQQ & RRRR 2021/.rclonesyncwd/LSL_dDebbie_archive_onedriveDebbie_archivePath2
2021-11-26 09:54:10,313: ERROR Path1 file not found in Path2 - AAAAAAA/PPPPPP/QQQQ & RRRR 2021/.rclonesyncwd/LSL_d__Debbie_onedriveDebbiePath1
2021-11-26 09:54:10,313: ERROR Path1 file not found in Path2 - AAAAAAA/PPPPPP/QQQQ & RRRR 2021/.rclonesyncwd/LSL_d__Debbie_onedriveDebbiePath2
2021-11-26 09:54:10,313: ERROR Path1 file not found in Path2 - AAAAAAA/PPPPPP/QQQQ & RRRR 2021/.rclonesyncwd/bat_log.txt
2021-11-26 09:54:10,313: ERROR Path1 file not found in Path2 - AAAAAAA/PPPPPP/QQQQ & RRRR 2021/.rclonesyncwd/filter.txt
2021-11-26 09:54:10,313: ERROR Path1 file not found in Path2 - AAAAAAA/PPPPPP/QQQQ & RRRR 2021/.rclonesyncwd/filter.txt-MD5
2021-11-26 09:54:10,313: ERROR Path1 file not found in Path2 - AAAAAAA/PPPPPP/QQQQ & RRRR 2021/.rclonesyncwd/logs.txt
2021-11-26 09:54:10,328: ERROR: The content of Path1 and Path2 are out of sync. --first-sync required to recover.
2021-11-26 09:54:10,328: Lock file removed: <C:\Users\Debbie\AppData\Local\Temp\rclonesync_LOCK_d__Debbie_onedriveDebbie_>
2021-11-26 09:54:10,328: Critical Error Abort - Must run --first-sync to recover. See README.md
I don't understand how directory c:\users\debbie.rclonesync got copied into the directory of files being synchronised which currently shows the following files:
In the meantime, the similar sync job on PC1 continues to work without any problems so that PC1 and onedrive remain in sync.
Notes