-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync fails and contents of .rclonesyncwd copied to active directories being synched #80
Comments
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.
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
|
I've built some experiments on my Windows box and I cannot recreate any problems. I suspect that the missing slash in the above 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 |
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_d__Debbie_onedrive__Debbie_>
2021-11-26 09:53:10,635: Synching Path1 <d:\Debbie/> with Path2 onedrive:\Debbie/
2021-11-26 09:53:10,635: Command args: <Path1=d:\Debbie, Path2=onedrive:\Debbie, check_access=False, check_filename=RCLONE_TEST, check_sync_only=False, config=None, dry_run=False, filters_file=c:\users\Debbie.rclonesyncwd\filter.txt, first_sync=False, force=False, max_deletes=50, no_check_sync=False, no_cleanup=False, no_datetime_log=False, rc_verbose=None, rclone=rclone, rclone_args=None, remove_empty_directories=False, verbose=1, workdir=C:\Users\Debbie/.rclonesyncwd>
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_archive__Path1
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_archive__Path2
2021-11-26 09:54:10,313: ERROR Path1 file not found in Path2 - AAAAAAA/PPPPPP/QQQQ & RRRR 2021/.rclonesyncwd/LSL_d__Debbie_onedrive__Debbie__Path1
2021-11-26 09:54:10,313: ERROR Path1 file not found in Path2 - AAAAAAA/PPPPPP/QQQQ & RRRR 2021/.rclonesyncwd/LSL_d__Debbie_onedrive__Debbie__Path2
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_onedrive__Debbie_>
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
The text was updated successfully, but these errors were encountered: