cjnaz / rclonesync-V2

A Bidirectional Cloud Sync Utility using rclone
MIT License
355 stars 39 forks source link

Google Photo's sync fails. rclone sync works. #53

Open famewolf opened 4 years ago

famewolf commented 4 years ago

I requested full access when I set up the remote but am not actually trying to upload anything...all the photo's it's trying to upload already exist ON google photos..in fact they are local due to a rclone copy from google photos that worked as expected.

freenas2% /mnt/tank/scripts/rclonesync.py --first-sync -v -f /mnt/tank/homes/famewolf/.rclonesyncwd/Filters GPhotos:media/by-month /mnt/tank/shared/Cloud/Google_Photos/

2020-06-07 19:53:52,226: BiDirectional Sync for Cloud Services using rclone (V2.10 200411) 2020-06-07 19:53:52,249: Lock file created: </tmp/rclonesync_LOCK_GPhotos_media_by-month__mnt_tank_shared_Cloud_GooglePhotos> 2020-06-07 19:53:52,249: Synching Path1 <GPhotos:media/by-month/> with Path2 </mnt/tank/shared/Cloud/Google_Photos/> 2020-06-07 19:53:52,249: Command args: 2020-06-07 19:53:52,249: Using filters-file </mnt/tank/homes/famewolf/.rclonesyncwd/Filters> 2020-06-07 19:53:52,249: Storing filters-file hash to </mnt/tank/homes/famewolf/.rclonesyncwd/Filters-MD5> 2020-06-07 19:53:52,249: >>>>> --first-sync copying any unique Path2 files to Path1

then a bunch of these:

2020/06/07 19:53:31 ERROR : Attempt 2/3 failed with 3 errors and: can't upload files here 2020/06/07 19:53:31 ERROR : IMG_20191022_151419.jpg: Failed to copy: can't upload files here 2020/06/07 19:53:31 ERROR : Attempt 3/3 failed with 3 errors and: can't upload files here 2020/06/07 19:53:31 Failed to copyto with 3 errors: last error was: can't upload files here 2020/06/07 19:53:31 ERROR : IMG_20191022_151419.jpg: Failed to copy: can't upload files here 2020/06/07 19:53:31 ERROR : Attempt 1/3 failed with 3 errors and: can't upload files here 2020/06/07 19:53:31 ERROR : IMG_20191022_151419.jpg: Failed to copy: can't upload files here 2020/06/07 19:53:31 ERROR : Attempt 2/3 failed with 3 errors and: can't upload files here 2020/06/07 19:53:31 ERROR : IMG_20191022_151419.jpg: Failed to copy: can't upload files here 2020/06/07 19:53:31 ERROR : Attempt 3/3 failed with 3 errors and: can't upload files here 2020/06/07 19:53:31 Failed to copyto with 3 errors: last error was: can't upload files here 2020/06/07 19:53:31 ERROR : IMG_20191022_151419.jpg: Failed to copy: can't upload files here 2020/06/07 19:53:31 ERROR : Attempt 1/3 failed with 3 errors and: can't upload files here 2020/06/07 19:53:31 ERROR : IMG_20191022_151419.jpg: Failed to copy: can't upload files here 2020/06/07 19:53:31 ERROR : Attempt 2/3 failed with 3 errors and: can't upload files here 2020/06/07 19:53:31 ERROR : IMG_20191022_151419.jpg: Failed to copy: can't upload files here 2020/06/07 19:53:31 ERROR : Attempt 3/3 failed with 3 errors and: can't upload files here 2020/06/07 19:53:31 Failed to copyto with 3 errors: last error was: can't upload files here 2020-06-07 19:53:31,923: ERROR rclone copyto failed. (Line 252) - /mnt/tank/shared/Cloud/Google_Photos/Bread/IMG_20191022_151419.jpg 2020-06-07 19:53:31,924: Lock file removed: </tmp/rclonesync_LOCK_GPhotos_media_by-month__mnt_tank_shared_Cloud_GooglePhotos> 2020-06-07 19:53:31,924: Critical Error Abort - Must run --first-sync to recover. See README.md

cjnaz commented 4 years ago

I'm not up to speed on the GPhotos saga. The error is from rclone. Since you have Path1 as the GPhotos remote, rclonesync is attempting to push local files to GPhotos, resulting in rclone errors. Check out this thread https://github.com/rclone/rclone/issues/369 and https://rclone.org/googlephotos/ for clues. Is there something rclonesync can do?

Generally, I recommend that you set the local drive as Path1 and the remote/cloud as Path2. It may be more efficient since the final sync step is an rclone sync Path1 Path2, so rclone takes care of all/any files to be sent to the cloud.